annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
1 // soapdefs.h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
2 // Place this file in the same directory as stdsoap2.h
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
3 // This file will be included in stdsoap2.h when compiling with
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
4 // -DWITH_SOAPDEFS_H (see stdsoap2.h line 16)
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
5 // See extras/logging.cpp for customer logging
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
6 //
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
7 // Runtime/Customer logging by Mike Helmick
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
8 // Copyright (c) 2002 - Mike Helmick. Convergys IMG. All Rights Reserved.
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
9 // This contributed code si covered under the MPL 1.1 license
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
10
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
11 #ifndef SOAPDEFS_H
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
12 #define SOAPDEFS_H
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
13
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
14 #ifdef DEBUG_CALLBACKS
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
15 #ifndef DEBUG
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
16 #define DEBUG
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
17 #endif
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
18 #define SOAP_MESSAGE sprintf
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
19 #define DBGLOG(DBGFILE, CMD) \
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
20 { char fdebug[SOAP_BUFLEN+1];\
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
21 CMD;\
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
22 soap_dispatch_callback(soap, SOAP_INDEX_##DBGFILE, fdebug, strlen(fdebug));\
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
23 }
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
24 #define DBGMSG(DBGFILE, MSG, LEN) soap_dispatch_callback(soap, SOAP_INDEX_##DBGFILE, MSG, LEN);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
25 void soap_dispatch_callback(struct soap*, int, const char*, size_t);
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
26 #endif
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
27
8300eb051bea Initial upload
ktnyt
parents:
diff changeset
28 #endif