You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by su...@apache.org on 2004/03/26 07:42:55 UTC
cvs commit: ws-axis/c/src/engine Axis.cpp
susantha 2004/03/25 22:42:55
Modified: c/src/engine Axis.cpp
Log:
added compiler directive AXIS_CLIENT_LIB
Revision Changes Path
1.38 +8 -3 ws-axis/c/src/engine/Axis.cpp
Index: Axis.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/engine/Axis.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- Axis.cpp 25 Mar 2004 16:56:16 -0000 1.37
+++ Axis.cpp 26 Mar 2004 06:42:55 -0000 1.38
@@ -68,8 +68,11 @@
#include <unistd.h>
#endif
-
+#ifdef AXIS_CLIENT_LIB
+#include <axis/client/Call.h>
+#else
#include "ServerAxisEngine.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
@@ -93,8 +96,6 @@
#include "../wsdd/WSDDKeywords.h"
#include <axis/server/AxisTrace.h>
-#include <axis/client/Call.h>
-
#define BYTESTOREAD 64
//the relative location of the wsdl files hardcoded
#define WSDLDIRECTORY "/wsdls/"
@@ -118,6 +119,8 @@
AxisTrace* g_pAT;
+#ifdef AXIS_CLIENT_LIB
+
extern "C" int process_request(Ax_soapstream *stream)
{
int Status = AXIS_FAIL;
@@ -235,6 +238,8 @@
return Status;
}
+
+#endif
extern "C" int initialize_module(int bServer)
{