mi_parser.c File Reference

MI Fifo :: Parser. More...

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "../../str.h"
#include "../../dprint.h"
#include "../../mi/mi.h"
#include "../../mem/mem.h"
#include "fifo_fnc.h"
#include "mi_fifo.h"
#include "mi_parser.h"

Include dependency graph for mi_parser.c:

Go to the source code of this file.

Functions

static int mi_parse_node (FILE *stream, str *buf, str *name, str *value)
struct mi_rootmi_parse_tree (FILE *stream)
int mi_parser_init (unsigned int size)

Variables

static char * mi_parse_buffer = 0
static unsigned int mi_parse_buffer_len = 0


Detailed Description

MI Fifo :: Parser.

Definition in file mi_parser.c.


Function Documentation

static int mi_parse_node ( FILE *  stream,
str buf,
str name,
str value 
) [inline, static]

Definition at line 70 of file mi_parser.c.

References _str::len, LM_DBG, LM_ERR, MI_ATTR_VAL_SEP1, MI_ATTR_VAL_SEP2, mi_read_line(), and _str::s.

Referenced by mi_parse_tree().

struct mi_root* mi_parse_tree ( FILE *  stream  )  [read]

int mi_parser_init ( unsigned int  size  ) 

Definition at line 51 of file mi_parser.c.

References LM_ERR, mi_parse_buffer, mi_parse_buffer_len, and pkg_malloc.

Referenced by fifo_process().


Variable Documentation

char* mi_parse_buffer = 0 [static]

Definition at line 47 of file mi_parser.c.

Referenced by mi_parse_tree(), and mi_parser_init().

unsigned int mi_parse_buffer_len = 0 [static]

Definition at line 48 of file mi_parser.c.

Referenced by mi_parse_tree(), and mi_parser_init().


Generated on Wed May 23 20:00:40 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6