libamxc
1.10.3
C Generic Data Containers
|
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <syslog.h>
#include <amxc/amxc_string.h>
#include <amxc/amxc_variant_type.h>
#include <amxc/amxc_rbuffer.h>
#include <amxc/amxc_string_split.h>
#include <amxc_variant_priv.h>
#include <amxc/amxc_macros.h>
Go to the source code of this file.
Data Structures | |
struct | _amxc_log_var |
Typedefs | |
typedef struct _amxc_log_var | amxc_log_var_t |
typedef int(* | amxc_var_dump_fn_t) (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
Functions | |
static void | amxc_var_log_init (amxc_log_var_t *log, int fd, FILE *stream, size_t msg_length) |
static int | amxc_var_write (amxc_log_var_t *log, const char *line, size_t length) |
static int | amxc_var_dump_internal (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static void | write_indentation (int indent, amxc_log_var_t *log) |
static int | variant_dump_type (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_null (UNUSED const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_char (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_default (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_list (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_htable (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_fd (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | variant_dump_ts (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
static int | amxc_var_dump_impl (const amxc_var_t *const var, int fd, FILE *stream) |
int | amxc_var_dump (const amxc_var_t *const var, int fd) |
Dumps the content of the variant in a human readable manner. More... | |
int | amxc_var_dump_stream (const amxc_var_t *const var, FILE *stream) |
Dumps the content of the variant in a human readable manner. More... | |
int | amxc_var_log (const amxc_var_t *const var) |
Logs the content of the variant in a human readable manner to syslog. More... | |
typedef struct _amxc_log_var amxc_log_var_t |
typedef int(* amxc_var_dump_fn_t) (const amxc_var_t *const var, int indent, amxc_log_var_t *log) |
Definition at line 74 of file amxc_variant_dump.c.
|
static |
Definition at line 321 of file amxc_variant_dump.c.
|
static |
Definition at line 283 of file amxc_variant_dump.c.
|
static |
Definition at line 78 of file amxc_variant_dump.c.
|
static |
Definition at line 84 of file amxc_variant_dump.c.
|
static |
Definition at line 156 of file amxc_variant_dump.c.
|
static |
Definition at line 171 of file amxc_variant_dump.c.
|
static |
Definition at line 269 of file amxc_variant_dump.c.
|
static |
Definition at line 220 of file amxc_variant_dump.c.
|
static |
Definition at line 191 of file amxc_variant_dump.c.
|
static |
Definition at line 146 of file amxc_variant_dump.c.
|
static |
Definition at line 276 of file amxc_variant_dump.c.
|
static |
Definition at line 116 of file amxc_variant_dump.c.
|
static |
Definition at line 107 of file amxc_variant_dump.c.