mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
fix(deps): update gsoap to fix vulnerability issue (#3310)
This commit is contained in:
18
deps/gsoap/CMakeLists.txt
vendored
18
deps/gsoap/CMakeLists.txt
vendored
@@ -19,21 +19,21 @@ set_target_properties(gsoap PROPERTIES LINKER_LANGUAGE CXX)
|
||||
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_include_directories(gsoap
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(gsoap
|
||||
PRIVATE
|
||||
acore-dependency-interface)
|
||||
PRIVATE
|
||||
acore-dependency-interface)
|
||||
|
||||
set_target_properties(gsoap
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"deps")
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"deps")
|
||||
|
||||
if (MSVC)
|
||||
# Little fix for MSVC / Windows platforms
|
||||
target_compile_definitions(gsoap
|
||||
PRIVATE
|
||||
-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
|
||||
PRIVATE
|
||||
-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
|
||||
endif()
|
||||
|
||||
217
deps/gsoap/soapC.cpp
vendored
217
deps/gsoap/soapC.cpp
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapC.cpp
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
@@ -18,7 +18,7 @@ A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.33 2016-07-29 05:51:35 GMT")
|
||||
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.49 2017-07-19 15:45:31 GMT")
|
||||
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
@@ -362,6 +362,29 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_markelement(struct soap *soap, const void *ptr,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_dupelement(struct soap *soap, const void *ptr, int type)
|
||||
{(void)soap; (void)ptr; (void)type; /* appease -Wall -Werror */
|
||||
return NULL;
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_delelement(const void *ptr, int type)
|
||||
{(void)ptr; (void)type; /* appease -Wall -Werror */
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_instantiate(struct soap *soap, int t, const char *type, const char *arrayType, size_t *n)
|
||||
{ (void)type;
|
||||
switch (t)
|
||||
@@ -533,16 +556,6 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_finsert(struct soap *soap, int t, int tt, void *
|
||||
#endif
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap *soap, char *a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT_byte
|
||||
*a = SOAP_DEFAULT_byte;
|
||||
#else
|
||||
*a = (char)0;
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap *soap, const char *tag, int id, const char *a, const char *type)
|
||||
{
|
||||
return soap_outbyte(soap, tag, id, a, type, SOAP_TYPE_byte);
|
||||
@@ -554,9 +567,17 @@ SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap *soap, const char *tag, ch
|
||||
return a;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_new_byte(struct soap *soap, int n)
|
||||
{
|
||||
char *a = static_cast<char *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(char)));
|
||||
for (char *p = a; p && n--; ++p)
|
||||
soap_default_byte(soap, p);
|
||||
return a;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap *soap, const char *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_byte(soap, tag?tag:"byte", -2, a, type))
|
||||
if (soap_out_byte(soap, tag ? tag : "byte", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -569,16 +590,6 @@ SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap *soap, char *p, const cha
|
||||
return p;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap *soap, int *a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT_int
|
||||
*a = SOAP_DEFAULT_int;
|
||||
#else
|
||||
*a = (int)0;
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap *soap, const char *tag, int id, const int *a, const char *type)
|
||||
{
|
||||
return soap_outint(soap, tag, id, a, type, SOAP_TYPE_int);
|
||||
@@ -590,9 +601,17 @@ SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap *soap, const char *tag, int
|
||||
return a;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_new_int(struct soap *soap, int n)
|
||||
{
|
||||
int *a = static_cast<int *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(int)));
|
||||
for (int *p = a; p && n--; ++p)
|
||||
soap_default_int(soap, p);
|
||||
return a;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap *soap, const int *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_int(soap, tag?tag:"int", -2, a, type))
|
||||
if (soap_out_int(soap, tag ? tag : "int", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -681,55 +700,64 @@ SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct so
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_SOAP_ENV__Fault(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_faultcode && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in__QName(soap, "faultcode", (char**)&a->faultcode, "xsd:QName"))
|
||||
{ if (soap_in__QName(soap, "faultcode", (char**)&a->faultcode, "xsd:QName"))
|
||||
{ soap_flag_faultcode--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_faultstring && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in_string(soap, "faultstring", (char**)&a->faultstring, "xsd:string"))
|
||||
{ if (soap_in_string(soap, "faultstring", (char**)&a->faultstring, "xsd:string"))
|
||||
{ soap_flag_faultstring--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_faultactor && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in_string(soap, "faultactor", (char**)&a->faultactor, "xsd:string"))
|
||||
{ if (soap_in_string(soap, "faultactor", (char**)&a->faultactor, "xsd:string"))
|
||||
{ soap_flag_faultactor--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_detail && soap->error == SOAP_TAG_MISMATCH)
|
||||
if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, ""))
|
||||
{ if (soap_in_PointerToSOAP_ENV__Detail(soap, "detail", &a->detail, ""))
|
||||
{ soap_flag_detail--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_SOAP_ENV__Code && soap->error == SOAP_TAG_MISMATCH)
|
||||
if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, ""))
|
||||
{ if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Code", &a->SOAP_ENV__Code, ""))
|
||||
{ soap_flag_SOAP_ENV__Code--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_SOAP_ENV__Reason && soap->error == SOAP_TAG_MISMATCH)
|
||||
if (soap_in_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, ""))
|
||||
{ if (soap_in_PointerToSOAP_ENV__Reason(soap, "SOAP-ENV:Reason", &a->SOAP_ENV__Reason, ""))
|
||||
{ soap_flag_SOAP_ENV__Reason--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_SOAP_ENV__Node && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in_string(soap, "SOAP-ENV:Node", (char**)&a->SOAP_ENV__Node, "xsd:string"))
|
||||
{ if (soap_in_string(soap, "SOAP-ENV:Node", (char**)&a->SOAP_ENV__Node, "xsd:string"))
|
||||
{ soap_flag_SOAP_ENV__Node--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_SOAP_ENV__Role && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in_string(soap, "SOAP-ENV:Role", (char**)&a->SOAP_ENV__Role, "xsd:string"))
|
||||
{ if (soap_in_string(soap, "SOAP-ENV:Role", (char**)&a->SOAP_ENV__Role, "xsd:string"))
|
||||
{ soap_flag_SOAP_ENV__Role--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_SOAP_ENV__Detail && soap->error == SOAP_TAG_MISMATCH)
|
||||
if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, ""))
|
||||
{ if (soap_in_PointerToSOAP_ENV__Detail(soap, "SOAP-ENV:Detail", &a->SOAP_ENV__Detail, ""))
|
||||
{ soap_flag_SOAP_ENV__Detail--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap->error == SOAP_TAG_MISMATCH)
|
||||
soap->error = soap_ignore_element(soap);
|
||||
if (soap->error == SOAP_NO_TAG)
|
||||
@@ -750,7 +778,7 @@ SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_in_SOAP_ENV__Fault(struct so
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Fault(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Fault(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Fault *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Fault);
|
||||
@@ -761,7 +789,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Fault, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Fault location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Fault, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -770,7 +798,7 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_SOAP_ENV__Fault(soap, tag?tag:"SOAP-ENV:Fault", -2, a, type))
|
||||
if (soap_out_SOAP_ENV__Fault(soap, tag ? tag : "SOAP-ENV:Fault", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -822,15 +850,16 @@ SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_SOAP_ENV__Reason(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_SOAP_ENV__Text && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in_string(soap, "SOAP-ENV:Text", (char**)&a->SOAP_ENV__Text, "xsd:string"))
|
||||
{ if (soap_in_string(soap, "SOAP-ENV:Text", (char**)&a->SOAP_ENV__Text, "xsd:string"))
|
||||
{ soap_flag_SOAP_ENV__Text--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap->error == SOAP_TAG_MISMATCH)
|
||||
soap->error = soap_ignore_element(soap);
|
||||
if (soap->error == SOAP_NO_TAG)
|
||||
@@ -851,7 +880,7 @@ SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_in_SOAP_ENV__Reason(struct
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Reason(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Reason(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Reason *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Reason);
|
||||
@@ -862,7 +891,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Reason, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Reason location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Reason, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -871,7 +900,7 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap *soap, const struct SOAP_ENV__Reason *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_SOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", -2, a, type))
|
||||
if (soap_out_SOAP_ENV__Reason(soap, tag ? tag : "SOAP-ENV:Reason", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -925,20 +954,22 @@ SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_SOAP_ENV__Detail(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_fault && soap->error == SOAP_TAG_MISMATCH)
|
||||
if ((a->fault = soap_getelement(soap, &a->__type)))
|
||||
{ if ((a->fault = soap_getelement(soap, &a->__type)))
|
||||
{ soap_flag_fault = 0;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag___any && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_inliteral(soap, "-any", (char**)&a->__any))
|
||||
{ if (soap_inliteral(soap, "-any", (char**)&a->__any))
|
||||
{ soap_flag___any--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap->error == SOAP_TAG_MISMATCH)
|
||||
soap->error = soap_ignore_element(soap);
|
||||
if (soap->error == SOAP_NO_TAG)
|
||||
@@ -959,7 +990,7 @@ SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_in_SOAP_ENV__Detail(struct
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Detail(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Detail(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Detail *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Detail);
|
||||
@@ -970,7 +1001,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Detail, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Detail location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Detail, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -979,7 +1010,7 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_SOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", -2, a, type))
|
||||
if (soap_out_SOAP_ENV__Detail(soap, tag ? tag : "SOAP-ENV:Detail", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1035,20 +1066,22 @@ SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_SOAP_ENV__Code(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_SOAP_ENV__Value && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in__QName(soap, "SOAP-ENV:Value", (char**)&a->SOAP_ENV__Value, "xsd:QName"))
|
||||
{ if (soap_in__QName(soap, "SOAP-ENV:Value", (char**)&a->SOAP_ENV__Value, "xsd:QName"))
|
||||
{ soap_flag_SOAP_ENV__Value--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap_flag_SOAP_ENV__Subcode && soap->error == SOAP_TAG_MISMATCH)
|
||||
if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, ""))
|
||||
{ if (soap_in_PointerToSOAP_ENV__Code(soap, "SOAP-ENV:Subcode", &a->SOAP_ENV__Subcode, ""))
|
||||
{ soap_flag_SOAP_ENV__Subcode--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap->error == SOAP_TAG_MISMATCH)
|
||||
soap->error = soap_ignore_element(soap);
|
||||
if (soap->error == SOAP_NO_TAG)
|
||||
@@ -1069,7 +1102,7 @@ SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_in_SOAP_ENV__Code(struct soap
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Code(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Code(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Code *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Code);
|
||||
@@ -1080,7 +1113,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Code, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Code location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Code, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -1089,7 +1122,7 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_SOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", -2, a, type))
|
||||
if (soap_out_SOAP_ENV__Code(soap, tag ? tag : "SOAP-ENV:Code", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1134,7 +1167,7 @@ SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_SOAP_ENV__Header(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
@@ -1158,7 +1191,7 @@ SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_in_SOAP_ENV__Header(struct
|
||||
|
||||
SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_SOAP_ENV__Header(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct SOAP_ENV__Header *p;
|
||||
size_t k = sizeof(struct SOAP_ENV__Header);
|
||||
@@ -1169,7 +1202,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade
|
||||
{ p = SOAP_NEW_ARRAY(struct SOAP_ENV__Header, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct SOAP_ENV__Header location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_SOAP_ENV__Header, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -1178,7 +1211,7 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_SOAP_ENV__Header(soap, tag?tag:"SOAP-ENV:Header", -2, a, type))
|
||||
if (soap_out_SOAP_ENV__Header(soap, tag ? tag : "SOAP-ENV:Header", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1226,15 +1259,16 @@ SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_in_ns1__executeCommand(s
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_ns1__executeCommand(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_command && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG))
|
||||
if (soap_in_string(soap, "command", (char**)&a->command, "xsd:string"))
|
||||
{ if (soap_in_string(soap, "command", (char**)&a->command, "xsd:string"))
|
||||
{ soap_flag_command--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap->error == SOAP_TAG_MISMATCH)
|
||||
soap->error = soap_ignore_element(soap);
|
||||
if (soap->error == SOAP_NO_TAG)
|
||||
@@ -1255,7 +1289,7 @@ SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_in_ns1__executeCommand(s
|
||||
|
||||
SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__executeCommand(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__executeCommand(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__executeCommand(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct ns1__executeCommand *p;
|
||||
size_t k = sizeof(struct ns1__executeCommand);
|
||||
@@ -1266,7 +1300,7 @@ SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__execute
|
||||
{ p = SOAP_NEW_ARRAY(struct ns1__executeCommand, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct ns1__executeCommand location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct ns1__executeCommand location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_ns1__executeCommand, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -1275,7 +1309,7 @@ SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__execute
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommand(struct soap *soap, const struct ns1__executeCommand *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_ns1__executeCommand(soap, tag?tag:"ns1:executeCommand", -2, a, type))
|
||||
if (soap_out_ns1__executeCommand(soap, tag ? tag : "ns1:executeCommand", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1321,15 +1355,16 @@ SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_in_ns1__executeC
|
||||
if (!a)
|
||||
return NULL;
|
||||
soap_default_ns1__executeCommandResponse(soap, a);
|
||||
if (soap->body && !*soap->href)
|
||||
if (soap->body && *soap->href != '#')
|
||||
{
|
||||
for (;;)
|
||||
{ soap->error = SOAP_TAG_MISMATCH;
|
||||
if (soap_flag_result && soap->error == SOAP_TAG_MISMATCH)
|
||||
if (soap_in_PointerTostring(soap, "result", &a->result, "xsd:string"))
|
||||
{ if (soap_in_PointerTostring(soap, "result", &a->result, "xsd:string"))
|
||||
{ soap_flag_result--;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (soap->error == SOAP_TAG_MISMATCH)
|
||||
soap->error = soap_ignore_element(soap);
|
||||
if (soap->error == SOAP_NO_TAG)
|
||||
@@ -1350,7 +1385,7 @@ SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_in_ns1__executeC
|
||||
|
||||
SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1__executeCommandResponse(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)
|
||||
{
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__executeCommandResponse(%p, %d, %s, %s)\n", soap, n, type?type:"", arrayType?arrayType:""));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_instantiate_ns1__executeCommandResponse(%p, %d, %s, %s)\n", (void*)soap, n, type?type:"", arrayType?arrayType:""));
|
||||
(void)type; (void)arrayType; /* appease -Wall -Werror */
|
||||
struct ns1__executeCommandResponse *p;
|
||||
size_t k = sizeof(struct ns1__executeCommandResponse);
|
||||
@@ -1361,7 +1396,7 @@ SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1_
|
||||
{ p = SOAP_NEW_ARRAY(struct ns1__executeCommandResponse, n);
|
||||
k *= n;
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct ns1__executeCommandResponse location=%p n=%d\n", p, n));
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated struct ns1__executeCommandResponse location=%p n=%d\n", (void*)p, n));
|
||||
soap_link(soap, p, SOAP_TYPE_ns1__executeCommandResponse, n, soap_fdelete);
|
||||
if (size)
|
||||
*size = k;
|
||||
@@ -1370,7 +1405,7 @@ SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1_
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommandResponse(struct soap *soap, const struct ns1__executeCommandResponse *a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_ns1__executeCommandResponse(soap, tag?tag:"ns1:executeCommandResponse", -2, a, type))
|
||||
if (soap_out_ns1__executeCommandResponse(soap, tag ? tag : "ns1:executeCommandResponse", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1426,7 +1461,7 @@ SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reas
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_PointerToSOAP_ENV__Reason(soap, tag?tag:"SOAP-ENV:Reason", -2, a, type))
|
||||
if (soap_out_PointerToSOAP_ENV__Reason(soap, tag ? tag : "SOAP-ENV:Reason", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1484,7 +1519,7 @@ SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Deta
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_PointerToSOAP_ENV__Detail(soap, tag?tag:"SOAP-ENV:Detail", -2, a, type))
|
||||
if (soap_out_PointerToSOAP_ENV__Detail(soap, tag ? tag : "SOAP-ENV:Detail", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1545,7 +1580,7 @@ SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(s
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_PointerToSOAP_ENV__Code(soap, tag?tag:"SOAP-ENV:Code", -2, a, type))
|
||||
if (soap_out_PointerToSOAP_ENV__Code(soap, tag ? tag : "SOAP-ENV:Code", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1601,7 +1636,7 @@ SOAP_FMAC3 char *** SOAP_FMAC4 soap_in_PointerTostring(struct soap *soap, const
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostring(struct soap *soap, char **const*a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_PointerTostring(soap, tag?tag:"string", -2, a, type))
|
||||
if (soap_out_PointerTostring(soap, tag ? tag : "string", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1614,21 +1649,11 @@ SOAP_FMAC3 char *** SOAP_FMAC4 soap_get_PointerTostring(struct soap *soap, char
|
||||
return p;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default__QName(struct soap *soap, char **a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT__QName
|
||||
*a = SOAP_DEFAULT__QName;
|
||||
#else
|
||||
*a = (char *)0;
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap *soap, char *const*a)
|
||||
{
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
#ifndef WITH_NOIDREF
|
||||
soap_reference(soap, *a, SOAP_TYPE__QName);
|
||||
(void)soap_reference(soap, *a, SOAP_TYPE__QName);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1645,7 +1670,7 @@ SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap *soap, const char *tag
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap *soap, char *const*a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out__QName(soap, tag?tag:"QName", -2, a, type))
|
||||
if (soap_out__QName(soap, tag ? tag : "QName", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
@@ -1658,21 +1683,11 @@ SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap *soap, char **p, const
|
||||
return p;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap *soap, char **a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT_string
|
||||
*a = SOAP_DEFAULT_string;
|
||||
#else
|
||||
*a = (char *)0;
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a)
|
||||
{
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
#ifndef WITH_NOIDREF
|
||||
soap_reference(soap, *a, SOAP_TYPE_string);
|
||||
(void)soap_reference(soap, *a, SOAP_TYPE_string);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1687,9 +1702,17 @@ SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap *soap, const char *tag
|
||||
return a;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_new_string(struct soap *soap, int n)
|
||||
{
|
||||
char * *a = static_cast<char * *>(soap_malloc(soap, (n = (n < 0 ? 1 : n)) * sizeof(char *)));
|
||||
for (char * *p = a; p && n--; ++p)
|
||||
soap_default_string(soap, p);
|
||||
return a;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap *soap, char *const*a, const char *tag, const char *type)
|
||||
{
|
||||
if (soap_out_string(soap, tag?tag:"string", -2, a, type))
|
||||
if (soap_out_string(soap, tag ? tag : "string", -2, a, type))
|
||||
return soap->error;
|
||||
return soap_putindependent(soap);
|
||||
}
|
||||
|
||||
432
deps/gsoap/soapH.h
vendored
432
deps/gsoap/soapH.h
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapH.h
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
@@ -31,8 +31,10 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap*);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
SOAP_FMAC3 void *SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap*, int*);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap*, const void*, const char*, int, int);
|
||||
SOAP_FMAC3 void * SOAP_FMAC4 soap_dupelement(struct soap*, const void*, int);
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_delelement(const void*, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
@@ -47,9 +49,20 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_finsert(struct soap*, int, int, void*, size_t, c
|
||||
|
||||
#ifndef SOAP_TYPE_byte_DEFINED
|
||||
#define SOAP_TYPE_byte_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_byte(struct soap*, char *);
|
||||
|
||||
inline void soap_default_byte(struct soap *soap, char *a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT_byte
|
||||
*a = SOAP_DEFAULT_byte;
|
||||
#else
|
||||
*a = (char)0;
|
||||
#endif
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_byte(struct soap*, const char*, int, const char *, const char*);
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_in_byte(struct soap*, const char*, char *, const char*);
|
||||
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_new_byte(struct soap *soap, int n = -1);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_byte(struct soap*, const char *, const char*, const char*);
|
||||
|
||||
inline int soap_write_byte(struct soap *soap, char const*p)
|
||||
@@ -61,6 +74,22 @@ inline int soap_write_byte(struct soap *soap, char const*p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_byte(struct soap *soap, const char *URL, char const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put_byte(soap, p, "byte", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_byte(struct soap *soap, const char *URL, char const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || soap_put_byte(soap, p, "byte", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 char * SOAP_FMAC4 soap_get_byte(struct soap*, char *, const char*, const char*);
|
||||
|
||||
inline int soap_read_byte(struct soap *soap, char *p)
|
||||
@@ -71,13 +100,38 @@ inline int soap_read_byte(struct soap *soap, char *p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_byte(struct soap *soap, const char *URL, char *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_byte(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_byte(struct soap *soap, char *p)
|
||||
{
|
||||
if (soap_read_byte(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_int_DEFINED
|
||||
#define SOAP_TYPE_int_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_int(struct soap*, int *);
|
||||
|
||||
inline void soap_default_int(struct soap *soap, int *a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT_int
|
||||
*a = SOAP_DEFAULT_int;
|
||||
#else
|
||||
*a = (int)0;
|
||||
#endif
|
||||
}
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_int(struct soap*, const char*, int, const int *, const char*);
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_in_int(struct soap*, const char*, int *, const char*);
|
||||
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_new_int(struct soap *soap, int n = -1);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_int(struct soap*, const int *, const char*, const char*);
|
||||
|
||||
inline int soap_write_int(struct soap *soap, int const*p)
|
||||
@@ -89,6 +143,22 @@ inline int soap_write_int(struct soap *soap, int const*p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_int(struct soap *soap, const char *URL, int const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put_int(soap, p, "int", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_int(struct soap *soap, const char *URL, int const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || soap_put_int(soap, p, "int", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 int * SOAP_FMAC4 soap_get_int(struct soap*, int *, const char*, const char*);
|
||||
|
||||
inline int soap_read_int(struct soap *soap, int *p)
|
||||
@@ -99,6 +169,20 @@ inline int soap_read_int(struct soap *soap, int *p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_int(struct soap *soap, const char *URL, int *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_int(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_int(struct soap *soap, int *p)
|
||||
{
|
||||
if (soap_read_int(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
@@ -158,10 +242,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Fault(struct soap*, const struct SO
|
||||
inline int soap_write_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Fault(soap, p), 0) || soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Fault(soap, p), 0) || soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_SOAP_ENV__Fault(soap, p), 0) || soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_SOAP_ENV__Fault(soap, p), 0) || soap_put_SOAP_ENV__Fault(soap, p, "SOAP-ENV:Fault", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Fault * SOAP_FMAC4 soap_get_SOAP_ENV__Fault(struct soap*, struct SOAP_ENV__Fault *, const char*, const char*);
|
||||
@@ -175,6 +273,20 @@ inline int soap_read_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_SOAP_ENV__Fault(struct soap *soap, const char *URL, struct SOAP_ENV__Fault *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_SOAP_ENV__Fault(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_SOAP_ENV__Fault(struct soap *soap, struct SOAP_ENV__Fault *p)
|
||||
{
|
||||
if (soap_read_SOAP_ENV__Fault(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -220,10 +332,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Reason(struct soap*, const struct S
|
||||
inline int soap_write_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Reason(soap, p), 0) || soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Reason(soap, p), 0) || soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_SOAP_ENV__Reason(soap, p), 0) || soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_SOAP_ENV__Reason(soap, p), 0) || soap_put_SOAP_ENV__Reason(soap, p, "SOAP-ENV:Reason", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Reason * SOAP_FMAC4 soap_get_SOAP_ENV__Reason(struct soap*, struct SOAP_ENV__Reason *, const char*, const char*);
|
||||
@@ -237,6 +363,20 @@ inline int soap_read_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_SOAP_ENV__Reason(struct soap *soap, const char *URL, struct SOAP_ENV__Reason *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_SOAP_ENV__Reason(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_SOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *p)
|
||||
{
|
||||
if (soap_read_SOAP_ENV__Reason(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -290,10 +430,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Detail(struct soap*, const struct S
|
||||
inline int soap_write_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Detail(soap, p), 0) || soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Detail(soap, p), 0) || soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_SOAP_ENV__Detail(soap, p), 0) || soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_SOAP_ENV__Detail(soap, p), 0) || soap_put_SOAP_ENV__Detail(soap, p, "SOAP-ENV:Detail", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Detail * SOAP_FMAC4 soap_get_SOAP_ENV__Detail(struct soap*, struct SOAP_ENV__Detail *, const char*, const char*);
|
||||
@@ -307,6 +461,20 @@ inline int soap_read_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_SOAP_ENV__Detail(struct soap *soap, const char *URL, struct SOAP_ENV__Detail *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_SOAP_ENV__Detail(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_SOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *p)
|
||||
{
|
||||
if (soap_read_SOAP_ENV__Detail(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -354,10 +522,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Code(struct soap*, const struct SOA
|
||||
inline int soap_write_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Code(soap, p), 0) || soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Code(soap, p), 0) || soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_SOAP_ENV__Code(soap, p), 0) || soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_SOAP_ENV__Code(soap, p), 0) || soap_put_SOAP_ENV__Code(soap, p, "SOAP-ENV:Code", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Code * SOAP_FMAC4 soap_get_SOAP_ENV__Code(struct soap*, struct SOAP_ENV__Code *, const char*, const char*);
|
||||
@@ -371,6 +553,20 @@ inline int soap_read_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_SOAP_ENV__Code(struct soap *soap, const char *URL, struct SOAP_ENV__Code *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_SOAP_ENV__Code(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_SOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *p)
|
||||
{
|
||||
if (soap_read_SOAP_ENV__Code(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -414,10 +610,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_SOAP_ENV__Header(struct soap*, const struct S
|
||||
inline int soap_write_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Header(soap, p), 0) || soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_SOAP_ENV__Header(soap, p), 0) || soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_SOAP_ENV__Header(soap, p), 0) || soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_SOAP_ENV__Header(soap, p), 0) || soap_put_SOAP_ENV__Header(soap, p, "SOAP-ENV:Header", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct SOAP_ENV__Header * SOAP_FMAC4 soap_get_SOAP_ENV__Header(struct soap*, struct SOAP_ENV__Header *, const char*, const char*);
|
||||
@@ -431,6 +641,20 @@ inline int soap_read_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_SOAP_ENV__Header(struct soap *soap, const char *URL, struct SOAP_ENV__Header *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_SOAP_ENV__Header(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_SOAP_ENV__Header(struct soap *soap, struct SOAP_ENV__Header *p)
|
||||
{
|
||||
if (soap_read_SOAP_ENV__Header(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -474,10 +698,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommand(struct soap*, const struc
|
||||
inline int soap_write_ns1__executeCommand(struct soap *soap, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_ns1__executeCommand(soap, p), 0) || soap_put_ns1__executeCommand(soap, p, "ns1:executeCommand", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct ns1__executeCommand * SOAP_FMAC4 soap_get_ns1__executeCommand(struct soap*, struct ns1__executeCommand *, const char*, const char*);
|
||||
@@ -491,6 +729,20 @@ inline int soap_read_ns1__executeCommand(struct soap *soap, struct ns1__executeC
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_ns1__executeCommand(struct soap *soap, const char *URL, struct ns1__executeCommand *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_ns1__executeCommand(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_ns1__executeCommand(struct soap *soap, struct ns1__executeCommand *p)
|
||||
{
|
||||
if (soap_read_ns1__executeCommand(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse_DEFINED
|
||||
@@ -532,10 +784,24 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_ns1__executeCommandResponse(struct soap*, con
|
||||
inline int soap_write_ns1__executeCommandResponse(struct soap *soap, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (p)
|
||||
{ if (soap_begin_send(soap) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
if (soap_begin_send(soap) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || (soap_serialize_ns1__executeCommandResponse(soap, p), 0) || soap_put_ns1__executeCommandResponse(soap, p, "ns1:executeCommandResponse", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 struct ns1__executeCommandResponse * SOAP_FMAC4 soap_get_ns1__executeCommandResponse(struct soap*, struct ns1__executeCommandResponse *, const char*, const char*);
|
||||
@@ -549,6 +815,20 @@ inline int soap_read_ns1__executeCommandResponse(struct soap *soap, struct ns1__
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_ns1__executeCommandResponse(struct soap *soap, const char *URL, struct ns1__executeCommandResponse *p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_ns1__executeCommandResponse(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_ns1__executeCommandResponse(struct soap *soap, struct ns1__executeCommandResponse *p)
|
||||
{
|
||||
if (soap_read_ns1__executeCommandResponse(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
@@ -599,13 +879,18 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_put_PointerTostring(struct soap*, char **const*,
|
||||
SOAP_FMAC3 char *** SOAP_FMAC4 soap_get_PointerTostring(struct soap*, char ***, const char*, const char*);
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE__XML_DEFINED
|
||||
#define SOAP_TYPE__XML_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE__QName_DEFINED
|
||||
#define SOAP_TYPE__QName_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default__QName(struct soap*, char **);
|
||||
|
||||
inline void soap_default__QName(struct soap *soap, char **a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT__QName
|
||||
*a = SOAP_DEFAULT__QName;
|
||||
#else
|
||||
*a = (char *)0;
|
||||
#endif
|
||||
}
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap*, char *const*);
|
||||
|
||||
#define soap__QName2s(soap, a) soap_QName2s(soap, (a))
|
||||
@@ -613,6 +898,12 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap*, const char*, int, char*c
|
||||
|
||||
#define soap_s2_QName(soap, s, a) soap_s2QName((soap), (s), (char**)(a), 0, -1, NULL)
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in__QName(struct soap*, const char*, char **, const char*);
|
||||
|
||||
#define soap_instantiate__QName soap_instantiate_string
|
||||
|
||||
|
||||
#define soap_new__QName soap_new_string
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put__QName(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
inline int soap_write__QName(struct soap *soap, char *const*p)
|
||||
@@ -624,6 +915,22 @@ inline int soap_write__QName(struct soap *soap, char *const*p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT__QName(struct soap *soap, const char *URL, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put__QName(soap, p, "QName", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send__QName(struct soap *soap, const char *URL, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || soap_put__QName(soap, p, "QName", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get__QName(struct soap*, char **, const char*, const char*);
|
||||
|
||||
inline int soap_read__QName(struct soap *soap, char **p)
|
||||
@@ -634,18 +941,47 @@ inline int soap_read__QName(struct soap *soap, char **p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET__QName(struct soap *soap, const char *URL, char **p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read__QName(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv__QName(struct soap *soap, char **p)
|
||||
{
|
||||
if (soap_read__QName(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE__XML_DEFINED
|
||||
#define SOAP_TYPE__XML_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef SOAP_TYPE_string_DEFINED
|
||||
#define SOAP_TYPE_string_DEFINED
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap*, char **);
|
||||
|
||||
inline void soap_default_string(struct soap *soap, char **a)
|
||||
{
|
||||
(void)soap; /* appease -Wall -Werror */
|
||||
#ifdef SOAP_DEFAULT_string
|
||||
*a = SOAP_DEFAULT_string;
|
||||
#else
|
||||
*a = (char *)0;
|
||||
#endif
|
||||
}
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap*, char *const*);
|
||||
|
||||
#define soap_string2s(soap, a) (a)
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap*, const char*, int, char*const*, const char*);
|
||||
|
||||
#define soap_s2string(soap, s, a) soap_s2char((soap), (s), (char**)(a), 0, -1, NULL)
|
||||
#define soap_s2string(soap, s, a) soap_s2char((soap), (s), (char**)(a), 1, 0, -1, NULL)
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_in_string(struct soap*, const char*, char **, const char*);
|
||||
|
||||
SOAP_FMAC3 char * * SOAP_FMAC4 soap_new_string(struct soap *soap, int n = -1);
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_put_string(struct soap*, char *const*, const char*, const char*);
|
||||
|
||||
inline int soap_write_string(struct soap *soap, char *const*p)
|
||||
@@ -657,6 +993,22 @@ inline int soap_write_string(struct soap *soap, char *const*p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_PUT_string(struct soap *soap, const char *URL, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_PUT(soap, URL, NULL, NULL) || soap_put_string(soap, p, "string", "") || soap_end_send(soap) || soap_recv_empty_response(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_send_string(struct soap *soap, const char *URL, char *const*p)
|
||||
{
|
||||
soap_free_temp(soap);
|
||||
if (soap_connect(soap, URL, NULL) || soap_put_string(soap, p, "string", "") || soap_end_send(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
SOAP_FMAC3 char ** SOAP_FMAC4 soap_get_string(struct soap*, char **, const char*, const char*);
|
||||
|
||||
inline int soap_read_string(struct soap *soap, char **p)
|
||||
@@ -667,6 +1019,20 @@ inline int soap_read_string(struct soap *soap, char **p)
|
||||
}
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_GET_string(struct soap *soap, const char *URL, char **p)
|
||||
{
|
||||
if (soap_GET(soap, URL, NULL) || soap_read_string(soap, p))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
inline int soap_POST_recv_string(struct soap *soap, char **p)
|
||||
{
|
||||
if (soap_read_string(soap, p) || soap_closesock(soap))
|
||||
return soap->error;
|
||||
return SOAP_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
15
deps/gsoap/soapServer.cpp
vendored
15
deps/gsoap/soapServer.cpp
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapServer.cpp
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
@@ -17,24 +17,24 @@ A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
#endif
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.33 2016-07-29 05:51:35 GMT")
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.49 2017-07-19 15:45:31 GMT")
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
unsigned int k = soap->max_keep_alive;
|
||||
soap->keep_alive = soap->max_keep_alive + 1;
|
||||
#endif
|
||||
do
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
if (soap->max_keep_alive > 0 && !--k)
|
||||
soap->keep_alive = 0;
|
||||
if (soap->keep_alive > 0 && soap->max_keep_alive > 0)
|
||||
soap->keep_alive--;
|
||||
#endif
|
||||
if (soap_begin_serve(soap))
|
||||
{ if (soap->error >= SOAP_STOP)
|
||||
continue;
|
||||
return soap->error;
|
||||
}
|
||||
if (soap_serve_request(soap) || (soap->fserveloop && soap->fserveloop(soap)))
|
||||
if ((soap_serve_request(soap) || (soap->fserveloop && soap->fserveloop(soap))) && soap->error && soap->error < SOAP_STOP)
|
||||
{
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_send_fault(soap);
|
||||
@@ -42,7 +42,6 @@ extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
return soap_send_fault(soap);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_destroy(soap);
|
||||
soap_end(soap);
|
||||
|
||||
110
deps/gsoap/soapStub.h
vendored
110
deps/gsoap/soapStub.h
vendored
@@ -1,8 +1,8 @@
|
||||
/* soapStub.h
|
||||
Generated by gSOAP 2.8.33 for gsoap.stub
|
||||
Generated by gSOAP 2.8.49 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright (C) 2000-2017, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The soapcpp2 tool and its generated software are released under the GPL.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
@@ -15,8 +15,8 @@ A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
#ifndef soapStub_H
|
||||
#define soapStub_H
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 20833
|
||||
# error "GSOAP VERSION 20833 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
|
||||
#if GSOAP_VERSION != 20849
|
||||
# error "GSOAP VERSION 20849 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ struct ns1__executeCommand; /* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
/* complex XSD type 'ns1:executeCommandResponse': */
|
||||
struct ns1__executeCommandResponse {
|
||||
struct SOAP_CMAC ns1__executeCommandResponse {
|
||||
public:
|
||||
/** Optional element 'result' of XSD type 'xsd:string' */
|
||||
char **result;
|
||||
@@ -48,11 +48,9 @@ struct ns1__executeCommandResponse {
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommandResponse */
|
||||
int soap_type() const { return SOAP_TYPE_ns1__executeCommandResponse; }
|
||||
/** Constructor with member initializations */
|
||||
ns1__executeCommandResponse()
|
||||
{
|
||||
result = (char **)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_ns1__executeCommandResponse(struct soap*, int) */
|
||||
ns1__executeCommandResponse() : result()
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1__executeCommandResponse(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -61,7 +59,7 @@ struct ns1__executeCommandResponse {
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
/* complex XSD type 'ns1:executeCommand': */
|
||||
struct ns1__executeCommand {
|
||||
struct SOAP_CMAC ns1__executeCommand {
|
||||
public:
|
||||
/** Optional element 'command' of XSD type 'xsd:string' */
|
||||
char *command;
|
||||
@@ -69,11 +67,9 @@ struct ns1__executeCommand {
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommand */
|
||||
int soap_type() const { return SOAP_TYPE_ns1__executeCommand; }
|
||||
/** Constructor with member initializations */
|
||||
ns1__executeCommand()
|
||||
{
|
||||
command = (char *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_ns1__executeCommand(struct soap*, int) */
|
||||
ns1__executeCommand() : command()
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__executeCommand(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -83,15 +79,14 @@ struct ns1__executeCommand {
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (11)
|
||||
/* SOAP_ENV__Header: */
|
||||
struct SOAP_ENV__Header {
|
||||
struct SOAP_CMAC SOAP_ENV__Header {
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Header */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Header()
|
||||
{
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Header(struct soap*, int) */
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Header(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -103,7 +98,7 @@ struct SOAP_ENV__Header {
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (12)
|
||||
/* Type SOAP_ENV__Code is a recursive data type, (in)directly referencing itself through its (base or derived class) members */
|
||||
/* SOAP_ENV__Code: */
|
||||
struct SOAP_ENV__Code {
|
||||
struct SOAP_CMAC SOAP_ENV__Code {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Value' of XSD type 'xsd:QName' */
|
||||
char *SOAP_ENV__Value;
|
||||
@@ -113,12 +108,9 @@ struct SOAP_ENV__Code {
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Code */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Code()
|
||||
{
|
||||
SOAP_ENV__Value = (char *)0;
|
||||
SOAP_ENV__Subcode = (struct SOAP_ENV__Code *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Code(struct soap*, int) */
|
||||
SOAP_ENV__Code() : SOAP_ENV__Value(), SOAP_ENV__Subcode()
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -129,7 +121,7 @@ struct SOAP_ENV__Code {
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (14)
|
||||
/* SOAP_ENV__Detail: */
|
||||
struct SOAP_ENV__Detail {
|
||||
struct SOAP_CMAC SOAP_ENV__Detail {
|
||||
public:
|
||||
char *__any;
|
||||
/** Any type of element 'fault' assigned to fault with its SOAP_TYPE_T assigned to __type */
|
||||
@@ -140,13 +132,9 @@ struct SOAP_ENV__Detail {
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Detail */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Detail()
|
||||
{
|
||||
__any = (char *)0;
|
||||
__type = 0;
|
||||
fault = NULL;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Detail(struct soap*, int) */
|
||||
SOAP_ENV__Detail() : __any(), __type(), fault()
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detail(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -157,7 +145,7 @@ struct SOAP_ENV__Detail {
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (17)
|
||||
/* SOAP_ENV__Reason: */
|
||||
struct SOAP_ENV__Reason {
|
||||
struct SOAP_CMAC SOAP_ENV__Reason {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Text' of XSD type 'xsd:string' */
|
||||
char *SOAP_ENV__Text;
|
||||
@@ -165,11 +153,9 @@ struct SOAP_ENV__Reason {
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Reason */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Reason()
|
||||
{
|
||||
SOAP_ENV__Text = (char *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Reason(struct soap*, int) */
|
||||
SOAP_ENV__Reason() : SOAP_ENV__Text()
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reason(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -180,7 +166,7 @@ struct SOAP_ENV__Reason {
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (18)
|
||||
/* SOAP_ENV__Fault: */
|
||||
struct SOAP_ENV__Fault {
|
||||
struct SOAP_CMAC SOAP_ENV__Fault {
|
||||
public:
|
||||
/** Optional element 'faultcode' of XSD type 'xsd:QName' */
|
||||
char *faultcode;
|
||||
@@ -204,19 +190,9 @@ struct SOAP_ENV__Fault {
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Fault */
|
||||
int soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Fault()
|
||||
{
|
||||
faultcode = (char *)0;
|
||||
faultstring = (char *)0;
|
||||
faultactor = (char *)0;
|
||||
detail = (struct SOAP_ENV__Detail *)0;
|
||||
SOAP_ENV__Code = (struct SOAP_ENV__Code *)0;
|
||||
SOAP_ENV__Reason = (struct SOAP_ENV__Reason *)0;
|
||||
SOAP_ENV__Node = (char *)0;
|
||||
SOAP_ENV__Role = (char *)0;
|
||||
SOAP_ENV__Detail = (struct SOAP_ENV__Detail *)0;
|
||||
}
|
||||
/** Friend allocator used by soap_new_SOAP_ENV__Fault(struct soap*, int) */
|
||||
SOAP_ENV__Fault() : faultcode(), faultstring(), faultactor(), detail(), SOAP_ENV__Code(), SOAP_ENV__Reason(), SOAP_ENV__Node(), SOAP_ENV__Role(), SOAP_ENV__Detail()
|
||||
{ }
|
||||
/** Friend allocator */
|
||||
friend SOAP_FMAC1 SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(struct soap*, int, const char*, const char*, size_t*);
|
||||
};
|
||||
#endif
|
||||
@@ -230,15 +206,15 @@ struct SOAP_ENV__Fault {
|
||||
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
typedef char *_QName;
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (5)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (6)
|
||||
typedef char *_XML;
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (6)
|
||||
typedef char *_QName;
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
@@ -313,14 +289,14 @@ typedef char *_XML;
|
||||
#define SOAP_TYPE_PointerTostring (7)
|
||||
#endif
|
||||
|
||||
/* _XML has binding name '_XML' for type '' */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (6)
|
||||
#endif
|
||||
|
||||
/* _QName has binding name '_QName' for type 'xsd:QName' */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (5)
|
||||
#define SOAP_TYPE__QName (6)
|
||||
#endif
|
||||
|
||||
/* _XML has binding name '_XML' for type '' */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (5)
|
||||
#endif
|
||||
|
||||
/* char * has binding name 'string' for type 'xsd:string' */
|
||||
|
||||
2810
deps/gsoap/stdsoap2.cpp
vendored
2810
deps/gsoap/stdsoap2.cpp
vendored
File diff suppressed because it is too large
Load Diff
451
deps/gsoap/stdsoap2.h
vendored
451
deps/gsoap/stdsoap2.h
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user