#include <stdio.h>
#include <string.h>
#include <errno.h>
#include "../mem/mem.h"
#include "../dprint.h"
#include "attr.h"
#include "fmt.h"

Go to the source code of this file.
Functions | |
| struct mi_attr * | add_mi_attr (struct mi_node *node, int flags, char *name, int name_len, char *value, int value_len) |
| struct mi_attr * | addf_mi_attr (struct mi_node *node, int flags, char *name, int name_len, char *fmt_val,...) |
| void | del_mi_attr_list (struct mi_node *node) |
| struct mi_attr * | get_mi_attr_by_name (struct mi_node *node, char *name, int len) |
Variables | |
| char * | mi_ap_buf |
| int | mi_ap_buf_len |
Definition in file attr.c.
| struct mi_attr* add_mi_attr | ( | struct mi_node * | node, | |
| int | flags, | |||
| char * | name, | |||
| int | name_len, | |||
| char * | value, | |||
| int | value_len | |||
| ) | [read] |
Definition at line 49 of file attr.c.
References mi_node::attributes, LM_ERR, MI_DUP_NAME, MI_DUP_VALUE, mi_attr::next, NULL, and pkg_malloc.
Referenced by add_mi_sdp_nodes(), add_mi_sdp_payload_nodes(), add_mi_session_nodes(), add_mi_stream_nodes(), addf_mi_attr(), ds_print_mi_list(), imc_mi_list_members(), imc_mi_list_rooms(), mi_add_aor_node(), mi_get_pipes(), mi_get_profile(), mi_get_queues(), mi_print_blacklists(), mi_print_gws(), mi_print_lcrs(), mi_ps(), mi_show_rtpproxies(), mi_stats(), mi_tm_hash(), mi_usrloc_dump(), pdt_print_mi_node(), and sst_dialog_mi_context_CB().
| struct mi_attr* addf_mi_attr | ( | struct mi_node * | node, | |
| int | flags, | |||
| char * | name, | |||
| int | name_len, | |||
| char * | fmt_val, | |||
| ... | ||||
| ) | [read] |
Definition at line 128 of file attr.c.
References add_mi_attr(), len, MI_DUP_VALUE, mi_print_fmt(), and NULL.
Referenced by internal_mi_print_dlg(), mi_get_pid(), and mi_print_gws().
| void del_mi_attr_list | ( | struct mi_node * | node | ) |
Definition at line 161 of file attr.c.
References mi_node::attributes, mi_attr::next, NULL, and pkg_free.
Referenced by free_mi_node().
Definition at line 145 of file attr.c.
References mi_node::attributes, _str::len, mi_attr::name, mi_attr::next, NULL, and _str::s.
| char* mi_ap_buf |
| int mi_ap_buf_len |
1.5.6