From c3fd98b25607d0f7f5977586d188f88ab226a9b8 Mon Sep 17 00:00:00 2001 From: m0gg Date: Tue, 21 Nov 2006 20:58:59 +0000 Subject: decoupling of nanohttp/libcsoap --- libcsoap/soap-nudp.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 libcsoap/soap-nudp.c (limited to 'libcsoap/soap-nudp.c') diff --git a/libcsoap/soap-nudp.c b/libcsoap/soap-nudp.c new file mode 100644 index 0000000..985cfd8 --- /dev/null +++ b/libcsoap/soap-nudp.c @@ -0,0 +1,98 @@ +/****************************************************************** +* $Id: soap-nudp.c,v 1.1 2006/11/21 20:59:02 m0gg Exp $ +* +* CSOAP Project: A SOAP client/server library in C +* Copyright (C) 2003 Ferhat Ayaz +* +* This library is free software; you can redistribute it and/or +* modify it under the terms of the GNU Library General Public +* License as published by the Free Software Foundation; either +* version 2 of the License, or (at your option) any later version. +* +* This library is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +* Library General Public License for more details. +* +* You should have received a copy of the GNU Library General Public +* License along with this library; if not, write to the +* Free Software Foundation, Inc., 59 Temple Place - Suite 330, +* Boston, MA 02111-1307, USA. +* +* Email: ayaz@jprogrammer.net +******************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif + +#ifdef HAVE_STDIO_H +#include +#endif + +#ifdef HAVE_ERRNO_H +#include +#endif + +#ifdef HAVE_NETINET_IN_H +#include +#endif + +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "soap-fault.h" +#include "soap-env.h" +#include "soap-ctx.h" +#include "soap-service.h" +#include "soap-router.h" +#include "soap-server.h" +#include "soap-addressing.h" + +herror_t +soap_nudp_server_init_args(int argc, char **argv) +{ + return H_OK; +} + +herror_t +soap_nudp_register_router(SoapRouter *router, const char *context) +{ + return H_OK; +} + +herror_t +soap_nudp_server_run(void) +{ + return H_OK; +} + +void +soap_nudp_server_destroy(void) +{ + return; +} + +herror_t +soap_nudp_client_init_args(int argc, char **argv) +{ + return H_OK; +} + +herror_t +soap_nudp_client_invoke(SoapCtx *req, SoapCtx **res) +{ + return H_OK; +} + +void +soap_nudp_client_destroy(void) +{ + return; +} -- cgit v1.1-32-gdbae