#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"

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 XMLRPC_SERVER_WANT_ABYSS_HANDLERS |
Definition at line 45 of file mi_xmlrpc.c.
| 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] |
Definition at line 163 of file mi_xmlrpc.c.
References cleanup(), DateInit(), init_mi_child(), LM_CRIT, LM_ERR, LM_INFO, log_file, MIMETypeInit(), port, read_buf_size, registryP, rpl_opt, ServerAddHandler(), ServerCreate(), ServerDefaultHandler(), ServerInit(), ServerRun(), set_default_method(), xmlrpc_server_abyss_default_handler(), xmlrpc_server_abyss_init_registry(), xmlrpc_server_abyss_registry(), xmlrpc_server_abyss_set_handlers2(), xmlrpc_sigchld(), xr_response, and xr_writer_init().
| static void xmlrpc_sigchld | ( | int | sig | ) | [static] |
Definition at line 136 of file mi_xmlrpc.c.
References pid, and ServerHandleSigchld().
Referenced by xmlrpc_process().
| xmlrpc_env env |
Definition at line 68 of file mi_xmlrpc.c.
| struct module_exports exports |
Definition at line 102 of file mi_xmlrpc.c.
char* log_file = NULL [static] |
param_export_t mi_params[] [static] |
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] |
Definition at line 79 of file mi_xmlrpc.c.
Referenced by add_gws_into_avps(), allow_address(), build_dlg_t(), check_blacklists(), check_our_gws(), create_as_action_reply(), create_as_event_sl(), create_as_event_t(), create_rcv_uri(), create_socket_info(), dbrow2info(), decode_branch_info(), do_action(), dp_apply_policy(), fix_actions(), fixup_phostport2proxy(), force_rtp_proxy(), generate_uris(), get_all_db_ucontacts(), get_local_contact(), get_sock_hdr(), gw_set_state(), lump_check_opt(), main(), mi_print_gws(), mi_tm_uac_dlg(), mod_init(), oracle_mod_init(), parseHostPort(), process_bind_action(), pxml_add_xcap_server(), query_xcap_update(), reload_gws_and_lcrs(), RequestRead(), rls_notify_dlg(), seas_init(), start_stats_server(), subnet_table_mi_print(), update_proxy(), update_sock_struct_from_via(), use_media_proxy(), and xmlrpc_process().
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 |
| xmlrpc_value* xr_response |
Definition at line 69 of file mi_xmlrpc.c.
Referenced by default_method(), recur_build_response_array(), and xmlrpc_process().
1.5.6