parse.h File Reference

Generic command line arguments parsing functions. More...

#include "../include/socket.h"
Include dependency graph for parse.h:
This graph shows which files directly or indirectly include this file:

Functions

int parse_address_family (const char *name)
 Translates the character string to the address family number.
int parse_parameter_int (int argc, char **argv, int *index, int *value, const char *name, int offset)
 Parses the next parameter as an integral number.
int parse_parameter_name_int (int argc, char **argv, int *index, int *value, const char *name, int offset, int(*parse_value)(const char *value))
 Parses the next named parameter as an integral number.
int parse_parameter_string (int argc, char **argv, int *index, char **value, const char *name, int offset)
 Parses the next parameter as a character string.
int parse_protocol_family (const char *name)
 Translates the character string to the protocol family number.
int parse_socket_type (const char *name)
 Translates the character string to the socket type number.
void print_unrecognized (int index, const char *parameter)
 Prints the parameter unrecognized message and the application help.

Detailed Description

Generic command line arguments parsing functions.


Generated on Thu Mar 11 20:45:56 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1