version 1.1.1.1, 2011/06/08 07:09:12
|
version 1.1.1.2, 2012/02/17 12:50:02
|
Line 38
|
Line 38
|
#ifndef __EXARG_H__ |
#ifndef __EXARG_H__ |
#define __EXARG_H__ |
#define __EXARG_H__ |
|
|
/** | /** |
* \addtogroup exarg |
* \addtogroup exarg |
* @{ |
* @{ |
*/ |
*/ |
|
|
/** | /** |
* @brief Enum type which defines how a argument must be interpreted. |
* @brief Enum type which defines how a argument must be interpreted. |
* |
* |
* This enumeration is used to figure out what type of argument is been installed. |
* This enumeration is used to figure out what type of argument is been installed. |
Line 110 typedef struct _ExArgument ExArgument;
|
Line 110 typedef struct _ExArgument ExArgument;
|
void exarg_parse (int argc, |
void exarg_parse (int argc, |
char ** argv); |
char ** argv); |
|
|
void exarg_end (); | void exarg_end (void); |
|
|
void exarg_disable_help (); | void exarg_disable_help (void); |
|
|
void exarg_add_usage_header (char * header); |
void exarg_add_usage_header (char * header); |
|
|
Line 140 void exarg_set_obligatory (char * arg_name);
|
Line 140 void exarg_set_obligatory (char * arg_name);
|
void exarg_accept_free_args (int accept); |
void exarg_accept_free_args (int accept); |
|
|
void exarg_define (char * arg_name, |
void exarg_define (char * arg_name, |
char * value); | char * value); |
|
|
|
void exarg_undef (char * arg_name); |
|
|
int exarg_is_defined (char * arg_name); |
int exarg_is_defined (char * arg_name); |
|
|
int exarg_is_definedv (char * first_value, ...); |
int exarg_is_definedv (char * first_value, ...); |
Line 152 char * exarg_get_string_alloc (char * arg_name);
|
Line 154 char * exarg_get_string_alloc (char * arg_name);
|
|
|
int exarg_get_int (char * arg_name); |
int exarg_get_int (char * arg_name); |
|
|
ExArgument * exarg_get_params (); | ExArgument * exarg_get_params (void); |
|
|
const char * exarg_param_get (ExArgument * arg); |
const char * exarg_param_get (ExArgument * arg); |
|
|
ExArgument * exarg_param_next (ExArgument * arg); |
ExArgument * exarg_param_next (ExArgument * arg); |
|
|
int exarg_get_params_num (); | int exarg_get_params_num (void); |
|
|
#endif |
#endif |
|
|