Classes | |
struct | _macro |
This structure contains one macro. More... | |
struct | _macro_list |
This structure contains the parsed macros. More... | |
Defines | |
#define | MAX_MACROS 1024 |
Functions | |
_macro_list * | ML_Create () |
create and initialize a new macro list | |
void | ML_Destroy (struct _macro_list *l) |
destroy the macro list | |
void | ML_Dump (int fd, struct _macro_list *l) |
dump the macro list | |
int | ML_Add (struct _macro_list *l, char *id, char *val) |
add an entry to the macro list | |
int | ML_Remove (struct _macro_list *l, char *id) |
remove an entry from the macro list | |
char * | ML_Get (struct _macro_list *l, char *id) |
get an entry from the macro list | |
int | ML_Index (struct _macro_list *l, char *id) |
get an entry index from the macro list |
|
maximum number of allowed macros |
|
add an entry to the macro list
|
|
create and initialize a new macro list
|
|
destroy the macro list
|
|
dump the macro list
|
|
get an entry from the macro list
|
|
get an entry index from the macro list
|
|
remove an entry from the macro list
|