axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r369749 - /webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
Date Tue, 17 Jan 2006 10:54:20 GMT
Author: samisa
Date: Tue Jan 17 02:54:16 2006
New Revision: 369749

URL: http://svn.apache.org/viewcvs?rev=369749&view=rev
Log:
Added DLL support

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c?rev=369749&r1=369748&r2=369749&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c Tue
Jan 17 02:54:16 2006
@@ -403,3 +403,30 @@
 	 */
 	return AXIS2_SUCCESS;
 }
+
+/**
+ * Following block distinguish the exposed part of the dll.
+ */
+int axis2_get_instance(struct axis2_transport_sender **inst,
+                        axis2_env_t **env)
+{
+    *inst = axis2_http_transport_sender_create(env);
+    if(!(*inst))
+    {
+        printf("transport sender load not success\n");
+        return AXIS2_FAILURE;
+    }
+
+    return AXIS2_SUCCESS;
+}
+
+int axis2_remove_instance(axis2_transport_sender_t *inst,
+                            axis2_env_t **env)
+{
+    axis2_status_t status = AXIS2_FAILURE;
+    if (inst)
+    {
+        status = AXIS2_TRANSPORT_SENDER_FREE(inst, env);
+    }
+    return status;
+}



Mime
View raw message