comparison GEMBASSY-1.0.3/gsoap/extras/soapdefs.h @ 0:8300eb051bea draft

Initial upload
author ktnyt
date Fri, 26 Jun 2015 05:19:29 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8300eb051bea
1 // soapdefs.h
2 // Place this file in the same directory as stdsoap2.h
3 // This file will be included in stdsoap2.h when compiling with
4 // -DWITH_SOAPDEFS_H (see stdsoap2.h line 16)
5 // See extras/logging.cpp for customer logging
6 //
7 // Runtime/Customer logging by Mike Helmick
8 // Copyright (c) 2002 - Mike Helmick. Convergys IMG. All Rights Reserved.
9 // This contributed code si covered under the MPL 1.1 license
10
11 #ifndef SOAPDEFS_H
12 #define SOAPDEFS_H
13
14 #ifdef DEBUG_CALLBACKS
15 #ifndef DEBUG
16 #define DEBUG
17 #endif
18 #define SOAP_MESSAGE sprintf
19 #define DBGLOG(DBGFILE, CMD) \
20 { char fdebug[SOAP_BUFLEN+1];\
21 CMD;\
22 soap_dispatch_callback(soap, SOAP_INDEX_##DBGFILE, fdebug, strlen(fdebug));\
23 }
24 #define DBGMSG(DBGFILE, MSG, LEN) soap_dispatch_callback(soap, SOAP_INDEX_##DBGFILE, MSG, LEN);
25 void soap_dispatch_callback(struct soap*, int, const char*, size_t);
26 #endif
27
28 #endif