FD.io VPP  v16.06
Vector Packet Processing
macros.h File Reference
+ Include dependency graph for macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  macro_main_t
 

Functions

int clib_macro_unset (macro_main_t *mm, char *name)
 
int clib_macro_set_value (macro_main_t *mm, char *name, char *value)
 
void clib_macro_add_builtin (macro_main_t *mm, char *name, void *eval_fn)
 
i8clib_macro_get_value (macro_main_t *mm, char *name)
 
i8clib_macro_eval (macro_main_t *mm, i8 *s, i32 complain)
 
i8clib_macro_eval_dollar (macro_main_t *mm, i8 *s, i32 complain)
 
void clib_macro_init (macro_main_t *mm)
 
void clib_macro_free (macro_main_t *mm)
 

Function Documentation

void clib_macro_add_builtin ( macro_main_t mm,
char *  name,
void eval_fn 
)

Definition at line 198 of file macros.c.

i8* clib_macro_eval ( macro_main_t mm,
i8 s,
i32  complain 
)

Definition at line 91 of file macros.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

i8* clib_macro_eval_dollar ( macro_main_t mm,
i8 s,
i32  complain 
)

Definition at line 187 of file macros.c.

+ Here is the call graph for this function:

void clib_macro_free ( macro_main_t mm)

Definition at line 230 of file macros.c.

i8* clib_macro_get_value ( macro_main_t mm,
char *  name 
)

Definition at line 76 of file macros.c.

+ Here is the caller graph for this function:

void clib_macro_init ( macro_main_t mm)

Definition at line 213 of file macros.c.

+ Here is the call graph for this function:

int clib_macro_set_value ( macro_main_t mm,
char *  name,
char *  value 
)

Definition at line 62 of file macros.c.

+ Here is the call graph for this function:

int clib_macro_unset ( macro_main_t mm,
char *  name 
)

Definition at line 43 of file macros.c.

+ Here is the caller graph for this function: