Changes in uspace/srv/net/app/parse.h [aadf01e:21580dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/app/parse.h
raadf01e r21580dd 42 42 * @param[in] parameter The parameter name. 43 43 */ 44 void print_unrecognized(int index, const char * parameter);44 void print_unrecognized( int index, const char * parameter ); 45 45 46 46 /** Parses the next parameter as an integral number. … … 57 57 * @returns EINVAL if the parameter is in wrong format. 58 58 */ 59 int parse_parameter_int(int argc, char ** argv, int * index, int * value, const char * name, int offset);59 int parse_parameter_int( int argc, char ** argv, int * index, int * value, const char * name, int offset ); 60 60 61 61 /** Parses the next parameter as a character string. … … 72 72 * @returns EINVAL if the parameter is missing. 73 73 */ 74 int parse_parameter_string(int argc, char ** argv, int * index, char ** value, const char * name, int offset);74 int parse_parameter_string( int argc, char ** argv, int * index, char ** value, const char * name, int offset ); 75 75 76 76 /** Parses the next named parameter as an integral number. … … 90 90 * @returns ENOENT if the parameter name has not been found. 91 91 */ 92 int parse_parameter_name_int(int argc, char ** argv, int * index, int * value, const char * name, int offset, int (*parse_value)(const char * value));92 int parse_parameter_name_int( int argc, char ** argv, int * index, int * value, const char * name, int offset, int ( * parse_value )( const char * value )); 93 93 94 94 #endif
Note:
See TracChangeset
for help on using the changeset viewer.