00001 /* 00002 * $Id: xr_server.h 4585 2008-08-06 08:20:30Z klaus_darilion $ 00003 * 00004 * Copyright (C) 2006 Voice Sistem SRL 00005 * 00006 * This file is part of Kamailio. 00007 * 00008 * Kamailio is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU General Public License 00010 * as published by the Free Software Foundation; either version 2 00011 * of the License, or (at your option) any later version. 00012 * 00013 * Kamailio is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 * 00022 * History: 00023 * --------- 00024 * 2006-11-30 first version (lavinia) 00025 * 2007-10-05 support for libxmlrpc-c3 version 1.x.x added (dragos) 00026 */ 00027 00028 00029 #ifndef _XR_SERVER_H_ 00030 #define _XR_SERVER_H_ 00031 00032 #include <stdio.h> 00033 #define XMLRPC_WANT_INTERNAL_DECLARATIONS 00034 #include <xmlrpc.h> 00035 00036 #ifdef XMLRPC_OLD_VERSION 00037 00038 xmlrpc_value * default_method ( xmlrpc_env * env, char * host, 00039 char * methodName, xmlrpc_value * paramArray, void * serverInfo ); 00040 00041 #else 00042 00043 xmlrpc_value * default_method ( xmlrpc_env * env, const char * host, 00044 const char * methodName, xmlrpc_value * paramArray, void * serverInfo ); 00045 00046 #endif 00047 int set_default_method ( xmlrpc_env * env , xmlrpc_registry * registry); 00048 00049 int init_async_lock(void); 00050 00051 void destroy_async_lock(void); 00052 00053 #endif /* _XR_SERVER_H_ */
1.5.6