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