xr_writer.c File Reference

#include <string.h>
#include "../../str.h"
#include "../../dprint.h"
#include "../../mem/mem.h"
#include "xr_writer.h"
#include "mi_xmlrpc.h"

Include dependency graph for xr_writer.c:

Go to the source code of this file.

Functions

static int recur_build_response (xmlrpc_env *env, struct mi_node *tree, str *buf)
static int recur_build_response_array (xmlrpc_env *env, struct mi_node *tree, str *buf)
char * xr_build_response (xmlrpc_env *env, struct mi_root *tree)
int xr_build_response_array (xmlrpc_env *env, struct mi_root *tree)
static int xr_write_node (str *buf, struct mi_node *node)
int xr_writer_init (unsigned int size)

Variables

static char * reply_buffer = 0
static unsigned int reply_buffer_len = 0
static xmlrpc_value * reply_item


Function Documentation

static int recur_build_response ( xmlrpc_env *  env,
struct mi_node tree,
str buf 
) [static]

static int recur_build_response_array ( xmlrpc_env *  env,
struct mi_node tree,
str buf 
) [static]

char* xr_build_response ( xmlrpc_env *  env,
struct mi_root tree 
)

int xr_build_response_array ( xmlrpc_env *  env,
struct mi_root tree 
)

static int xr_write_node ( str buf,
struct mi_node node 
) [static]

int xr_writer_init ( unsigned int  size  ) 

Definition at line 39 of file xr_writer.c.

References LM_ERR, pkg_malloc, reply_buffer, and reply_buffer_len.

Referenced by xmlrpc_process().


Variable Documentation

char* reply_buffer = 0 [static]

unsigned int reply_buffer_len = 0 [static]

xmlrpc_value* reply_item [static]

Definition at line 37 of file xr_writer.c.

Referenced by recur_build_response_array().


Generated on Fri May 25 00:00:46 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6