mi_xmlrpc.c File Reference

#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <sys/signal.h>
#include <sys/wait.h>
#include <grp.h>
#include <stdlib.h>
#include "mi_xmlrpc.h"
#include "xr_writer.h"
#include "xr_parser.h"
#include "xr_server.h"
#include <xmlrpc-c/base.h>
#include <xmlrpc-c/abyss.h>
#include <xmlrpc-c/server.h>
#include <xmlrpc-c/server_abyss.h>
#include "../../sr_module.h"
#include "../../str.h"
#include "../../mem/mem.h"
#include "../../mem/shm_mem.h"

Include dependency graph for mi_xmlrpc.c:

Go to the source code of this file.

Defines

#define XMLRPC_SERVER_WANT_ABYSS_HANDLERS

Functions

static void destroy (void)
static int mod_init ()
static void xmlrpc_process (int rank)
static void xmlrpc_sigchld (int sig)

Variables

xmlrpc_env env
struct module_exports exports
static char * log_file = NULL
static param_export_t mi_params []
static MODULE_VERSION proc_export_t mi_procs []
static int port = 8080
static int read_buf_size = MAX_READ
xmlrpc_registry * registryP
int rpl_opt = 0
static TServer srv
xmlrpc_value * xr_response


Define Documentation

#define XMLRPC_SERVER_WANT_ABYSS_HANDLERS

Definition at line 45 of file mi_xmlrpc.c.


Function Documentation

static void destroy ( void   )  [static]

static int mod_init ( void   )  [static]

Definition at line 118 of file mi_xmlrpc.c.

References init_async_lock(), LM_DBG, LM_ERR, LM_WARN, and port.

static void xmlrpc_process ( int  rank  )  [static]

static void xmlrpc_sigchld ( int  sig  )  [static]

Definition at line 136 of file mi_xmlrpc.c.

References pid, and ServerHandleSigchld().

Referenced by xmlrpc_process().


Variable Documentation

xmlrpc_env env

Definition at line 68 of file mi_xmlrpc.c.

Definition at line 102 of file mi_xmlrpc.c.

char* log_file = NULL [static]

Definition at line 80 of file mi_xmlrpc.c.

Referenced by xmlrpc_process().

Definition at line 93 of file mi_xmlrpc.c.

MODULE_VERSION proc_export_t mi_procs[] [static]

Initial value:

 {
   {"MI XMLRPC",  0,  0, xmlrpc_process, 1 },
   {0,0,0,0,0}
}

Definition at line 86 of file mi_xmlrpc.c.

int port = 8080 [static]

int read_buf_size = MAX_READ [static]

Definition at line 81 of file mi_xmlrpc.c.

xmlrpc_registry* registryP

Definition at line 70 of file mi_xmlrpc.c.

Referenced by xmlrpc_process(), and xmlrpc_server_abyss().

int rpl_opt = 0

Definition at line 72 of file mi_xmlrpc.c.

Referenced by default_method(), and xmlrpc_process().

TServer srv [static]

Definition at line 82 of file mi_xmlrpc.c.

Referenced by dns_srv_parser(), and do_srv_lookup().

xmlrpc_value* xr_response

Definition at line 69 of file mi_xmlrpc.c.

Referenced by default_method(), recur_build_response_array(), and xmlrpc_process().


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