00001 /****************************************************************** 00002 * $Id: soap-nhttp.h,v 1.4 2006/11/27 10:49:57 m0gg Exp $ 00003 * 00004 * CSOAP Project: A SOAP client/server library in C 00005 * Copyright (C) 2007 Heiko Ronsdorf 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Library General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Library General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Library General Public 00018 * License along with this library; if not, write to the 00019 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 * Boston, MA 02111-1307, USA. 00021 * 00022 * Email: hero@persua.de 00023 ******************************************************************/ 00024 #ifndef __soap_nhttp_h 00025 #define __soap_nhttp_h 00026 00052 #ifdef __cplusplus 00053 extern "C" { 00054 #endif 00055 00069 #define SOAP_NHTTP_SOAP_ACTION "SoapAction" 00070 00071 extern herror_t soap_nhttp_server_init_args(int argc, char **argv); 00072 extern herror_t soap_nhttp_server_run(void); 00073 extern void soap_nhttp_server_destroy(void); 00074 00075 extern herror_t soap_nhttp_register(const char *context); 00076 00077 extern short soap_nhttp_get_port(void); 00078 extern const char *soap_nhttp_get_protocol(void); 00079 00080 extern herror_t soap_nhttp_client_init_args(int argc, char **argv); 00081 extern herror_t soap_nhttp_client_invoke(void *unused, struct SoapCtx *req, struct SoapCtx **res); 00082 extern void soap_nhttp_client_destroy(void); 00083 00084 #ifdef __cplusplus 00085 } 00086 #endif 00087 00088 #endif