[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: gnokii/gnokii gnokii.c,1.213,1.214
From: |
BORBELY Zoltan <address@hidden> |
Subject: |
CVS: gnokii/gnokii gnokii.c,1.213,1.214 |
Date: |
Tue, 02 Apr 2002 20:08:54 -0500 |
Update of /cvsroot/gnokii/gnokii/gnokii
In directory subversions:/tmp/cvs-serv4907/gnokii
Modified Files:
gnokii.c
Log Message:
struct gnokii_arg_len moved from gnokii.h to gnokii.c (opt_index is in
gnokii.c too)
identify output beautified
Index: gnokii.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/gnokii/gnokii.c,v
retrieving revision 1.213
retrieving revision 1.214
diff -C2 -r1.213 -r1.214
*** gnokii.c 29 Mar 2002 20:51:22 -0000 1.213
--- gnokii.c 3 Apr 2002 01:08:51 -0000 1.214
***************
*** 83,86 ****
--- 83,99 ----
#include "gsm-statemachine.h"
+ struct gnokii_arg_len {
+ int gal_opt;
+ int gal_min;
+ int gal_max;
+ int gal_flags;
+ };
+
+ /* This is used for checking correct argument count. If it is used then if
+ the user specifies some argument, their count should be equivalent to the
+ count the programmer expects. */
+
+ #define GAL_XOR 0x01
+
typedef enum {
OPT_HELP,
***************
*** 2934,2941 ****
SM_Functions(GOP_Identify, &data, &State);
! fprintf(stdout, _("IMEI: %s\n"), imei);
! fprintf(stdout, _("Manufacturer: %s\n"), manufacturer);
! fprintf(stdout, _("Model: %s\n"), model);
! fprintf(stdout, _("Revision: %s\n"), rev);
return 0;
--- 2947,2954 ----
SM_Functions(GOP_Identify, &data, &State);
! fprintf(stdout, _("IMEI : %s\n"), imei);
! fprintf(stdout, _("Manufacturer : %s\n"), manufacturer);
! fprintf(stdout, _("Model : %s\n"), model);
! fprintf(stdout, _("Revision : %s\n"), rev);
return 0;
***************
*** 3631,3635 ****
/* Every command which requires arguments should have an appropriate
entry
in this array. */
! struct gnokii_arg_len gals[] =
{
--- 3644,3648 ----
/* Every command which requires arguments should have an appropriate
entry
in this array. */
! static struct gnokii_arg_len gals[] =
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- CVS: gnokii/gnokii gnokii.c,1.213,1.214,
BORBELY Zoltan <address@hidden> <=