Go to the source code of this file.
|
#define | VAT_TAB_WIDTH 2 |
|
#define | P(fmt, ...) fformat(ctx->ofp, fmt, ##__VA_ARGS__) |
|
#define | PL(fmt, ...) fformat(ctx->ofp, fmt"\n", ##__VA_ARGS__) |
|
#define | PPL(fmt, ...) vat_json_indent_line(ctx, fmt"\n", ##__VA_ARGS__) |
|
#define | PP(fmt, ...) vat_json_indent_line(ctx, fmt, ##__VA_ARGS__) |
|
#define | INCR (ctx->indent++) |
|
#define | DECR (ctx->indent--) |
|
◆ DECR
#define DECR (ctx->indent--) |
◆ INCR
#define INCR (ctx->indent++) |
#define P |
( |
|
fmt, |
|
|
|
... |
|
) |
| fformat(ctx->ofp, fmt, ##__VA_ARGS__) |
◆ PL
#define PL |
( |
|
fmt, |
|
|
|
... |
|
) |
| fformat(ctx->ofp, fmt"\n", ##__VA_ARGS__) |
◆ PP
◆ PPL
◆ VAT_TAB_WIDTH
◆ vat_print_ctx_t
◆ is_num_only()
◆ vat_json_format_ip4_address()
static u8* vat_json_format_ip4_address |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ vat_json_format_ip6_address()
static u8* vat_json_format_ip6_address |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ vat_json_free()
◆ vat_json_indent_line()
static void vat_json_indent_line |
( |
vat_print_ctx_t * |
ctx, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
|
static |
◆ vat_json_indent_print()
◆ vat_json_print()
◆ vat_json_print_internal()