1 NOTE for command line gnokii:
5 we have used two data structure, defined in gnokii.h :
\r
7 PARAM_INFO_MON wich is a single linked recursive list of pointers,
\r
8 each pointers contain the complete description of one netmonitor param.
\r
10 ///////////////////////////////////////////////////////////////////////
\r
11 // start->next->next->next-> ...->next->NULL
\r
14 // par0 par1 par2 parN
\r
15 ///////////////////////////////////////////////////////////////////////
\r
17 OUT_INFO_MON, contains parameters as specified
\r
18 from the command line and an array of data pointers requested by user,
\r
19 each one point to a single PARAM_INFO_MON
\r
20 for optimization reason, also we filled in one array of required screen.
\r
23 this the block diagram of program:
\r
25 PARAM_INFO_MON *info:
\r
30 check for -S option, assign filename
\r
32 check for -I option, assign filename
\r
34 autodetect_phonemodel_phone_version() This is TO DO
\r
36 info = get_min_param_info() // nedeed here, so later we can check args param
\r
38 // here we check command line arguments
\r
43 parse_check(f_argc, f_argv, info, file, line)
\r
46 parse_check(argc, argv, info, NULL, 0)
\r
50 // HERE, ALL IS CHECKED
\r
52 // here we make OUT_INFO_MON
\r
57 out = parse_process(f_argc, f_argv, info, file, line)
\r
64 out = parse_process(argc, argv, info, NULL, 0)
\r