summaryrefslogtreecommitdiffstats
path: root/src/core/transport/http
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-02-16 02:36:43 +0100
committerGravatar Nikias Bassen2013-02-16 02:36:43 +0100
commit1039a127bfccf5df72b28b6506d472ae36c38245 (patch)
tree880b22e025ef64cb2be2c41e8469df8d056b8955 /src/core/transport/http
parent630203f8700d8dcf9be661695418dbbddbe42df4 (diff)
downloadaxis2c-1039a127bfccf5df72b28b6506d472ae36c38245.tar.gz
axis2c-1039a127bfccf5df72b28b6506d472ae36c38245.tar.bz2
http_receiver: fix building on mingw32
Diffstat (limited to 'src/core/transport/http')
-rw-r--r--src/core/transport/http/receiver/Makefile.am3
-rw-r--r--src/core/transport/http/receiver/http_receiver.c29
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;
-}
-