From 1039a127bfccf5df72b28b6506d472ae36c38245 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sat, 16 Feb 2013 02:36:43 +0100 Subject: http_receiver: fix building on mingw32 --- src/core/transport/http/receiver/Makefile.am | 3 ++- src/core/transport/http/receiver/http_receiver.c | 29 ------------------------ 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/src/core/transport/http/receiver/Makefile.am b/src/core/transport/http/receiver/Makefile.am index 7f98e9b..8e838e1 100644 --- a/src/core/transport/http/receiver/Makefile.am +++ b/src/core/transport/http/receiver/Makefile.am @@ -14,7 +14,8 @@ # limitations under the License. lib_LTLIBRARIES = libaxis2_http_receiver.la libaxis2_http_receiver_la_LIBADD=$(top_builddir)/util/src/libaxutil.la\ - $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la + $(top_builddir)/src/core/transport/http/common/libaxis2_http_common.la\ + $(top_builddir)/src/core/engine/libaxis2_engine.la libaxis2_http_receiver_la_SOURCES = http_receiver.c\ diff --git a/src/core/transport/http/receiver/http_receiver.c b/src/core/transport/http/receiver/http_receiver.c index e2cbec2..a7335af 100644 --- a/src/core/transport/http/receiver/http_receiver.c +++ b/src/core/transport/http/receiver/http_receiver.c @@ -487,32 +487,3 @@ const axutil_env_t *env, AXIS2_INTF_TO_IMPL(server)->svr_ip = serverip; } -/** - * Following block distinguish the exposed part of the dll. - */ -AXIS2_EXPORT int -axis2_get_instance( - struct axis2_transport_receiver **inst, - const axutil_env_t * env) -{ - *inst = axis2_http_server_create(env, NULL, -1); - if(!(*inst)) - { - return AXIS2_FAILURE; - } - - return AXIS2_SUCCESS; -} - -AXIS2_EXPORT int -axis2_remove_instance( - axis2_transport_receiver_t * inst, - const axutil_env_t * env) -{ - if(inst) - { - axis2_transport_receiver_free(inst, env); - } - return AXIS2_SUCCESS; -} - -- cgit v1.1-32-gdbae