#include <stdlib.h>
#include <string.h>
#include "cpp_io.h"
#include "cpp_macros.h"
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 |
|
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
|