static int GSM_SaveMultiPartSMSOnConsole(GSM_MultiSMSMessage *MultiSMS, int argnum, int argc, char *argv[],
bool inter, bool unicode, bool profile, bool scale) {
static int GSM_SaveMultiPartSMSOnConsole(GSM_MultiSMSMessage *MultiSMS, int argnum, int argc, char *argv[],
bool inter, bool unicode, bool profile, bool scale) {
" gnokii --sendphonebookentry destination memory_type location\n"
" [--smsc message_center_number] [--smscno message_center_index]\n"
" [-s] [-v n] [-d]\n"
" gnokii --sendphonebookentry destination memory_type location\n"
" [--smsc message_center_number] [--smscno message_center_index]\n"
" [-s] [-v n] [-d]\n"
" gnokii --savephonebookentry memory_type location\n"
" [--smsc message_center_number] [--smscno message_center_index]\n"
" [-r] [-i] [-s] [-a] [--name name]\n"
" gnokii --savephonebookentry memory_type location\n"
" [--smsc message_center_number] [--smscno message_center_index]\n"
" [-r] [-i] [-s] [-a] [--name name]\n"
{ "sendcalendarnote", required_argument, NULL, OPT_SENDCALENDARNOTE },
{ "savecalendarnote", required_argument, NULL, OPT_SAVECALENDARNOTE },
{ "sendphonebookentry", required_argument, NULL, OPT_SENDPHONEBOOKENTRY},
{ "sendcalendarnote", required_argument, NULL, OPT_SENDCALENDARNOTE },
{ "savecalendarnote", required_argument, NULL, OPT_SAVECALENDARNOTE },
{ "sendphonebookentry", required_argument, NULL, OPT_SENDPHONEBOOKENTRY},
{ "savephonebookentry", required_argument, NULL, OPT_SAVEPHONEBOOKENTRY},
{ "savephonebookentry", required_argument, NULL, OPT_SAVEPHONEBOOKENTRY},
{ "deletecalendarnote", required_argument, NULL, OPT_DELCALENDARNOTE },// Delete calendar note mode
#endif /* UCLINUX */
{ "getmemory", required_argument, NULL, OPT_GETMEMORY },// Get memory mode
{ "deletecalendarnote", required_argument, NULL, OPT_DELCALENDARNOTE },// Delete calendar note mode
#endif /* UCLINUX */
{ "getmemory", required_argument, NULL, OPT_GETMEMORY },// Get memory mode
case OPT_DELCALENDARNOTE: rc = deletecalendarnote(optarg);break;
case OPT_SAVECALENDARNOTE: rc = savecalendarnote(nargc, nargv);break;
case OPT_SENDCALENDARNOTE: rc = sendcalendarnote(nargc, nargv);break;
case OPT_DELCALENDARNOTE: rc = deletecalendarnote(optarg);break;
case OPT_SAVECALENDARNOTE: rc = savecalendarnote(nargc, nargv);break;
case OPT_SENDCALENDARNOTE: rc = sendcalendarnote(nargc, nargv);break;
case OPT_SENDPHONEBOOKENTRY: rc = sendphonebookentry(nargc, nargv);break;
case OPT_WRITECALENDARNOTE: rc = writecalendarnote(nargv); break;
#endif /* UCLINUX */
case OPT_SENDPHONEBOOKENTRY: rc = sendphonebookentry(nargc, nargv);break;
case OPT_WRITECALENDARNOTE: rc = writecalendarnote(nargv); break;
#endif /* UCLINUX */
if (output_opt && !strcmp( output_opt,"-v30")) {
semicolon_pipe_substitution( &entry, 0 );
fprintf(stdout,_("%s"),GSM_GetVCARD(&entry,30));
if (output_opt && !strcmp( output_opt,"-v30")) {
semicolon_pipe_substitution( &entry, 0 );
fprintf(stdout,_("%s"),GSM_GetVCARD(&entry,30));
fprintf(stdout,_("%s"),GSM_GetVCARD(&entry,10));
formatdone=true;
}
fprintf(stdout,_("%s"),GSM_GetVCARD(&entry,10));
formatdone=true;
}
if (output_opt && !strcmp(output_opt,"-short")) {
semicolon_pipe_substitution( &entry, 0 );
fprintf(stdout, "%s;%s;%s;%d;%d;", entry.Name, entry.Number, memory_type_string, entry.Location, entry.Group);
if (output_opt && !strcmp(output_opt,"-short")) {
semicolon_pipe_substitution( &entry, 0 );
fprintf(stdout, "%s;%s;%s;%d;%d;", entry.Name, entry.Number, memory_type_string, entry.Location, entry.Group);
int sendphonebookentry(int argc, char *argv[])
{
GSM_MultiSMSMessage MultiSMS;
int sendphonebookentry(int argc, char *argv[])
{
GSM_MultiSMSMessage MultiSMS;