attr.h File Reference

MI :: Attributes. More...

#include <stdarg.h>
#include "../str.h"
#include "tree.h"

Include dependency graph for attr.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mi_attr

Functions

struct mi_attradd_mi_attr (struct mi_node *node, int flags, char *name, int name_len, char *value, int value_len)
struct mi_attraddf_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_attrget_mi_attr_by_name (struct mi_node *node, char *name, int len)


Detailed Description

MI :: Attributes.

Definition in file attr.h.


Function Documentation

struct mi_attr* add_mi_attr ( struct mi_node node,
int  flags,
char *  name,
int  name_len,
char *  value,
int  value_len 
) [read]

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().

struct mi_attr* get_mi_attr_by_name ( struct mi_node node,
char *  name,
int  len 
) [read]

Definition at line 145 of file attr.c.

References mi_node::attributes, _str::len, mi_attr::name, mi_attr::next, NULL, and _str::s.


Generated on Thu May 17 12:00:34 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6