CLISH  0.7.3
Typedefs | Enumerations | Functions

This class represents a vector of command line arguments. More...

Typedefs

typedef struct clish_pargv_s clish_pargv_t
 
typedef struct clish_parg_s clish_parg_t
 

Enumerations

enum  clish_pargv_status_t { clish_LINE_OK, clish_BAD_CMD, clish_BAD_PARAM, clish_BAD_HISTORY }
 

Functions

clish_pargv_t * clish_pargv_new (const clish_command_t *cmd, const char *line, size_t offset, clish_pargv_status_t *status)
 
void clish_pargv_delete (clish_pargv_t *instance)
 
const clish_parg_t * clish_pargv_find_arg (clish_pargv_t *instance, const char *name)
 
void clish_pargv_dump (const clish_pargv_t *instance)
 
void clish_parg_dump (const clish_parg_t *instance)
 
const char * clish_parg__get_name (const clish_parg_t *instance)
 
const char * clish_parg__get_value (const clish_parg_t *instance)
 
const clish_ptype_t * clish_parg__get_ptype (const clish_parg_t *instance)
 

Detailed Description

This class represents a vector of command line arguments.