Go to the source code of this file.
|
u8 * | va_format (u8 *s, char *format, va_list *args) |
|
u8 * | format (u8 *s, char *format,...) |
|
word | va_fformat (FILE *f, char *fmt, va_list *va) |
|
word | fformat (FILE *f, char *fmt,...) |
|
word | fdformat (int fd, char *fmt,...) |
|
always_inline uword | format_get_indent (u8 *s) |
|
always_inline void | unformat_init (unformat_input_t *i, uword(*fill_buffer)(unformat_input_t *), void *fill_buffer_arg) |
|
always_inline void | unformat_free (unformat_input_t *i) |
|
always_inline uword | unformat_check_input (unformat_input_t *i) |
|
always_inline uword | unformat_is_eof (unformat_input_t *input) |
|
always_inline uword | unformat_get_input (unformat_input_t *input) |
|
always_inline void | unformat_put_input (unformat_input_t *input) |
|
always_inline uword | unformat_peek_input (unformat_input_t *input) |
|
always_inline void | unformat_skip_line (unformat_input_t *i) |
|
uword | unformat_skip_white_space (unformat_input_t *input) |
|
uword | unformat (unformat_input_t *i, char *fmt,...) |
|
uword | unformat_user (unformat_input_t *input, unformat_function_t *func,...) |
|
uword | va_unformat (unformat_input_t *i, char *fmt, va_list *args) |
|
void | unformat_init_command_line (unformat_input_t *input, char *argv[]) |
|
void | unformat_init_string (unformat_input_t *input, char *string, int string_len) |
|
always_inline void | unformat_init_cstring (unformat_input_t *input, char *string) |
|
void | unformat_init_vector (unformat_input_t *input, u8 *vector_string) |
|
u8 * | format_unformat_error (u8 *s, va_list *va) |
|
u8 * | format_unformat_input (u8 *s, va_list *va) |
|
u8 * | format_memory_size (u8 *s, va_list *va) |
|
u8 * | format_c_identifier (u8 *s, va_list *va) |
|
void | unformat_init_unix_file (unformat_input_t *input, int file_descriptor) |
|
uword | unformat_init_unix_env (unformat_input_t *input, char *var) |
|
int | test_format_main (unformat_input_t *input) |
|
int | test_unformat_main (unformat_input_t *input) |
|
int | test_vec_main (unformat_input_t *input) |
|
#define UNFORMAT_END_OF_INPUT (~0) |
#define UNFORMAT_MORE_INPUT 0 |
#define unformat_parse_error |
( |
|
input | ) |
clib_error_return (0, "parse error `%U'", format_unformat_error, input) |
typedef u8*( format_function_t) (u8 *s, va_list *args) |
word fdformat |
( |
int |
fd, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
word fformat |
( |
FILE * |
f, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
u8* format |
( |
u8 * |
s, |
|
|
char * |
format, |
|
|
|
... |
|
) |
| |
u8* format_c_identifier |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
u8* format_memory_size |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
u8* format_unformat_error |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
u8* format_unformat_input |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
word va_fformat |
( |
FILE * |
f, |
|
|
char * |
fmt, |
|
|
va_list * |
va |
|
) |
| |
u8* va_format |
( |
u8 * |
s, |
|
|
char * |
format, |
|
|
va_list * |
args |
|
) |
| |