|
Asterisk - The Open Source Telephony Project GIT-master-80b953f
|
Formatters. More...

Go to the source code of this file.
Macros | |
| #define | DEFINE_FORMATTER(_name, _field, _type, _fmt) |
Functions | |
| static int | format_amaflags (struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *input_value, struct cdrel_value *output_value) |
| static int | format_disposition (struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *input_value, struct cdrel_value *output_value) |
| static int | format_string (struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *input_value, struct cdrel_value *output_value) |
| static int | format_timeval (struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *input_value, struct cdrel_value *output_value) |
| int | load_formatters (void) |
| static char * | quote_escaper (const char *value, char quote, char quote_escape, char *qvalue) |
Formatters.
Definition in file formatters.c.
| #define DEFINE_FORMATTER | ( | _name, | |
| _field, | |||
| _type, | |||
| _fmt | |||
| ) |
Definition at line 97 of file formatters.c.
|
static |
Definition at line 165 of file formatters.c.
References ast_channel_amaflags2string(), cdrel_type_string, config, cdrel_value::data_type, format_string(), cdrel_value::int64, cdrel_value::string, and cdrel_value::values.
Referenced by load_formatters().
|
static |
Definition at line 177 of file formatters.c.
References ast_cdr_disp2str(), cdrel_type_string, config, cdrel_value::data_type, format_string(), cdrel_value::int64, cdrel_value::string, and cdrel_value::values.
Referenced by load_formatters().
|
static |
Definition at line 51 of file formatters.c.
References ast_alloca, ast_asprintf, ast_debug, ast_str_tmp, ast_strdup, ast_test_flag, c, cdrel_basename(), cdrel_flag_quote, cdrel_get_field_flags(), cdrel_type_string, config, cdrel_value::data_type, cdrel_value::field_name, cdrel_field::flags, NULL, quote_escaper(), cdrel_value::string, and cdrel_value::values.
Referenced by ast_pjproject_get_buildopt(), format_amaflags(), format_disposition(), format_timeval(), and load_formatters().
|
static |
Definition at line 123 of file formatters.c.
References ast_cel_format_eventtime(), ast_localtime(), ast_strftime(), ast_strlen_zero(), cdrel_type_cel_timefmt, cdrel_type_double, cdrel_type_int64, cdrel_type_string, config, format_string(), and NULL.
Referenced by load_formatters().
| int load_formatters | ( | void | ) |
Definition at line 189 of file formatters.c.
References ast_debug, cdrel_field_formatters, cdrel_type_amaflags, cdrel_type_disposition, cdrel_type_double, cdrel_type_int32, cdrel_type_int64, cdrel_type_string, cdrel_type_timeval, cdrel_type_uint32, cdrel_type_uint64, format_amaflags(), format_disposition(), format_string(), and format_timeval().
Referenced by load_module().
|
static |
Definition at line 32 of file formatters.c.
References NULL, quote(), and value.
Referenced by format_string().