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

Go to the source code of this file.
Macros | |
| #define | DEFINE_CDR_GETTER(_sname, _ename, _type) |
Functions | |
| static int | cdr_get_literal (void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value) |
| static int | cdr_get_string (void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value) |
| static int | cdr_get_uservar (void *record, struct cdrel_config *config, struct cdrel_field *field, struct cdrel_value *value) |
| static struct ast_channel * | dummy_chan_alloc_cdr (struct cdrel_config *config, void *data) |
| int | load_cdr (void) |
CDR Getters.
Definition in file getters_cdr.c.
| #define DEFINE_CDR_GETTER | ( | _sname, | |
| _ename, | |||
| _type | |||
| ) |
Definition at line 40 of file getters_cdr.c.
|
static |
Definition at line 58 of file getters_cdr.c.
References cdrel_type_string, and value.
Referenced by load_cdr().
|
static |
Definition at line 30 of file getters_cdr.c.
References CDR_FIELD, cdrel_field::field_id, cdrel_field::input_data_type, cdrel_field::name, ast_cdr::start, and value.
Referenced by load_cdr().
|
static |
Definition at line 67 of file getters_cdr.c.
References AST_LIST_TRAVERSE, ast_var_name(), ast_var_value(), cdrel_type_string, cdrel_field::data, ast_var_t::entries, cdrel_field::name, NULL, S_OR, ast_cdr::start, value, and ast_cdr::varshead.
Referenced by load_cdr().
|
static |
Definition at line 86 of file getters_cdr.c.
References ast_cdr_dup(), ast_channel_cdr_set(), ast_dummy_channel_alloc, ast_log, ast_channel::cdr, config, dummy(), LOG_ERROR, and NULL.
Referenced by load_cdr().
| int load_cdr | ( | void | ) |
Definition at line 101 of file getters_cdr.c.
References ast_debug, cdr_get_literal(), cdr_get_string(), cdr_get_uservar(), cdrel_dummy_channel_allocators, cdrel_field_getters, cdrel_record_cdr, cdrel_type_double, cdrel_type_int32, cdrel_type_int64, cdrel_type_literal, cdrel_type_string, cdrel_type_timeval, cdrel_type_uint32, cdrel_type_uint64, cdrel_type_uservar, and dummy_chan_alloc_cdr().
Referenced by load_module().