\r\n -> \n
[gnokii.git] / Docs / developers / gnokii / gnokii.txt
index 0d265dd..f24e690 100644 (file)
@@ -1,69 +1,69 @@
 NOTE for command line gnokii:
 
---netmonitordata\r
-\r\r
-       we have used two data structure, defined in gnokii.h :\r
-\r
-       PARAM_INFO_MON wich is a single linked recursive list of pointers,\r
-       each pointers contain the complete description of one netmonitor param.\r
-\r
-       ///////////////////////////////////////////////////////////////////////\r
-       // start->next->next->next-> ...->next->NULL\r
-       //           |     |     |           |\r
-       //           V     V     V           V\r
-       //          par0  par1  par2        parN\r
-       ///////////////////////////////////////////////////////////////////////\r
-       \r
-       OUT_INFO_MON, contains parameters as specified\r
-       from the command line and an array of data pointers requested by user,\r
-       each one point to a single PARAM_INFO_MON\r
-       for optimization reason, also we filled in one array of required screen.\r
-\r
-\r
-       this the block diagram of program:\r
-       \r
-       PARAM_INFO_MON *info:\r
-       OUT_INFO_MON *out:\r
-\r
-       netmonitordata()\r
-\r
-               check for -S option, assign filename\r
-       \r
-               check for -I option, assign filename\r
-               \r
-               autodetect_phonemodel_phone_version()   This is TO DO\r
-       \r
-               info = get_min_param_info()             // nedeed here, so later we can check args param\r
-       \r
-                                                       // here we check command line arguments\r
-               if -I option\r
-\r
-                       for each line\r
-                       do\r
-                               parse_check(f_argc, f_argv, info, file, line)\r
-                       done\r
-               else\r
-                       parse_check(argc, argv, info, NULL, 0)\r
-               fi\r
-\r
-               \r
-                                                       // HERE, ALL IS CHECKED\r
-       \r
-                                                       // here we make OUT_INFO_MON\r
-               if -I option\r
-\r
-                       for each line\r
-                       do\r
-                               out = parse_process(f_argc, f_argv, info, file, line)\r
-\r
-                               nmd_output(out)\r
-\r
-                               free(out)\r
-                       done\r
-               else\r
-                       out = parse_process(argc, argv, info, NULL, 0)\r
-\r
-                       nmd_output(out)\r
-\r
-                       free(out)\r
-               fi\r
+--netmonitordata
+
+       we have used two data structure, defined in gnokii.h :
+
+       PARAM_INFO_MON wich is a single linked recursive list of pointers,
+       each pointers contain the complete description of one netmonitor param.
+
+       ///////////////////////////////////////////////////////////////////////
+       // start->next->next->next-> ...->next->NULL
+       //           |     |     |           |
+       //           V     V     V           V
+       //          par0  par1  par2        parN
+       ///////////////////////////////////////////////////////////////////////
+       
+       OUT_INFO_MON, contains parameters as specified
+       from the command line and an array of data pointers requested by user,
+       each one point to a single PARAM_INFO_MON
+       for optimization reason, also we filled in one array of required screen.
+
+
+       this the block diagram of program:
+       
+       PARAM_INFO_MON *info:
+       OUT_INFO_MON *out:
+
+       netmonitordata()
+
+               check for -S option, assign filename
+       
+               check for -I option, assign filename
+               
+               autodetect_phonemodel_phone_version()   This is TO DO
+       
+               info = get_min_param_info()             // nedeed here, so later we can check args param
+       
+                                                       // here we check command line arguments
+               if -I option
+
+                       for each line
+                       do
+                               parse_check(f_argc, f_argv, info, file, line)
+                       done
+               else
+                       parse_check(argc, argv, info, NULL, 0)
+               fi
+
+               
+                                                       // HERE, ALL IS CHECKED
+       
+                                                       // here we make OUT_INFO_MON
+               if -I option
+
+                       for each line
+                       do
+                               out = parse_process(f_argc, f_argv, info, file, line)
+
+                               nmd_output(out)
+
+                               free(out)
+                       done
+               else
+                       out = parse_process(argc, argv, info, NULL, 0)
+
+                       nmd_output(out)
+
+                       free(out)
+               fi