Core/Dependencies: Update gsoap-library to v2.8.17r
This commit is contained in:
1 parent
5e80f86514
commit
b3aebb21ec
6 files changed
+1679
-833
No files matched your search
+77
-66
@@ -1,9 +1,9 @@
|
||||
/* soapC.cpp
|
||||
Generated by gSOAP 2.8.10 from gsoap.stub
|
||||
Generated by gSOAP 2.8.17r from gsoap.stub
|
||||
|
||||
Copyright(C) 2000-2012, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
Copyright(C) 2000-2013, Robert van Engelen, Genivia Inc. All Rights Reserved.
|
||||
The generated code is released under one of the following licenses:
|
||||
1) GPL or 2) Genivia's license for commercial use.
|
||||
GPL or Genivia's license for commercial use.
|
||||
This program is released under the GPL with the additional exemption that
|
||||
compiling, linking, and/or using OpenSSL is allowed.
|
||||
*/
|
||||
@@ -15,7 +15,7 @@ compiling, linking, and/or using OpenSSL is allowed.
|
||||
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.10 2012-09-02 20:48:00 GMT")
|
||||
SOAP_SOURCE_STAMP("@(#) soapC.cpp ver 2.8.17r 2014-06-21 21:43:17 GMT")
|
||||
|
||||
|
||||
#ifndef WITH_NOGLOBAL
|
||||
@@ -30,7 +30,7 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap *soap)
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
|
||||
{
|
||||
if (soap->header)
|
||||
if (soap->version && soap->header)
|
||||
{ soap->part = SOAP_IN_HEADER;
|
||||
if (soap_out_SOAP_ENV__Header(soap, "SOAP-ENV:Header", 0, soap->header, NULL))
|
||||
return soap->error;
|
||||
@@ -41,13 +41,13 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap *soap)
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap *soap)
|
||||
{
|
||||
if (soap->header)
|
||||
if (soap->version && soap->header)
|
||||
soap_serialize_SOAP_ENV__Header(soap, soap->header);
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
|
||||
{
|
||||
if (!soap->header)
|
||||
if (soap->header == NULL)
|
||||
{ if ((soap->header = soap_new_SOAP_ENV__Header(soap, -1)))
|
||||
soap_default_SOAP_ENV__Header(soap, soap->header);
|
||||
}
|
||||
@@ -55,9 +55,9 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_header(struct soap *soap)
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_fault(struct soap *soap)
|
||||
{
|
||||
if (!soap->fault)
|
||||
if (soap->fault == NULL)
|
||||
{ soap->fault = soap_new_SOAP_ENV__Fault(soap, -1);
|
||||
if (!soap->fault)
|
||||
if (soap->fault == NULL)
|
||||
return;
|
||||
soap_default_SOAP_ENV__Fault(soap, soap->fault);
|
||||
}
|
||||
@@ -102,7 +102,7 @@ SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultsubcode(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->version == 2)
|
||||
{ if (!soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode)
|
||||
{ if (soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode == NULL)
|
||||
{ soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode = soap_new_SOAP_ENV__Code(soap, -1);
|
||||
soap_default_SOAP_ENV__Code(soap, soap->fault->SOAP_ENV__Code->SOAP_ENV__Subcode);
|
||||
}
|
||||
@@ -133,18 +133,18 @@ SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultstring(struct soap *soap)
|
||||
SOAP_FMAC3 const char ** SOAP_FMAC4 soap_faultdetail(struct soap *soap)
|
||||
{
|
||||
soap_fault(soap);
|
||||
if (soap->version == 1)
|
||||
{ if (!soap->fault->detail)
|
||||
{ soap->fault->detail = (struct SOAP_ENV__Detail*)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
|
||||
soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
|
||||
if (soap->version == 2)
|
||||
{ if (soap->fault->SOAP_ENV__Detail == NULL)
|
||||
{ soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
||||
soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
|
||||
}
|
||||
return (const char**)&soap->fault->detail->__any;
|
||||
return (const char**)&soap->fault->SOAP_ENV__Detail->__any;
|
||||
}
|
||||
if (!soap->fault->SOAP_ENV__Detail)
|
||||
{ soap->fault->SOAP_ENV__Detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
||||
soap_default_SOAP_ENV__Detail(soap, soap->fault->SOAP_ENV__Detail);
|
||||
if (soap->fault->detail == NULL)
|
||||
{ soap->fault->detail = soap_new_SOAP_ENV__Detail(soap, -1);
|
||||
soap_default_SOAP_ENV__Detail(soap, soap->fault->detail);
|
||||
}
|
||||
return (const char**)&soap->fault->SOAP_ENV__Detail->__any;
|
||||
return (const char**)&soap->fault->detail->__any;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 const char * SOAP_FMAC4 soap_check_faultdetail(struct soap *soap)
|
||||
@@ -176,8 +176,6 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_getindependent(struct soap *soap)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOIDREF
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -185,6 +183,7 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
{ (void)type;
|
||||
if (soap_peek_element(soap))
|
||||
return NULL;
|
||||
#ifndef WITH_NOIDREF
|
||||
if (!*soap->id || !(*type = soap_lookup_type(soap, soap->id)))
|
||||
*type = soap_lookup_type(soap, soap->href);
|
||||
switch (*type)
|
||||
@@ -210,6 +209,9 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
default:
|
||||
#else
|
||||
*type = 0;
|
||||
#endif
|
||||
{ const char *t = soap->type;
|
||||
if (!*t)
|
||||
t = soap->tag;
|
||||
@@ -242,7 +244,9 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
return s ? *s : NULL;
|
||||
}
|
||||
t = soap->tag;
|
||||
#ifndef WITH_NOIDREF
|
||||
}
|
||||
#endif
|
||||
}
|
||||
soap->error = SOAP_TAG_MISMATCH;
|
||||
return NULL;
|
||||
@@ -251,7 +255,6 @@ SOAP_FMAC3 void * SOAP_FMAC4 soap_getelement(struct soap *soap, int *type)
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_ignore_element(struct soap *soap)
|
||||
{
|
||||
@@ -298,8 +301,6 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_putindependent(struct soap *soap)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOIDREF
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -328,7 +329,6 @@ SOAP_FMAC3 int SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, co
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef WITH_NOIDREF
|
||||
|
||||
@@ -551,6 +551,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Fault(struct soap *soap, struc
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, const struct SOAP_ENV__Fault *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
soap_serialize__QName(soap, &a->faultcode);
|
||||
soap_serialize_string(soap, &a->faultstring);
|
||||
@@ -561,6 +562,7 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Fault(struct soap *soap, con
|
||||
soap_serialize_string(soap, &a->SOAP_ENV__Node);
|
||||
soap_serialize_string(soap, &a->SOAP_ENV__Role);
|
||||
soap_serialize_PointerToSOAP_ENV__Detail(soap, &a->SOAP_ENV__Detail);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Fault(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Fault *a, const char *type)
|
||||
@@ -703,15 +705,13 @@ SOAP_FMAC1 struct SOAP_ENV__Fault * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Fault(
|
||||
*size = sizeof(struct SOAP_ENV__Fault);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Fault[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Fault, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct SOAP_ENV__Fault);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct SOAP_ENV__Fault*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -734,8 +734,10 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Reason(struct soap *soap, stru
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Reason(struct soap *soap, const struct SOAP_ENV__Reason *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
soap_serialize_string(soap, &a->SOAP_ENV__Text);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Reason(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Reason *a, const char *type)
|
||||
@@ -815,15 +817,13 @@ SOAP_FMAC1 struct SOAP_ENV__Reason * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Reaso
|
||||
*size = sizeof(struct SOAP_ENV__Reason);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Reason[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Reason, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct SOAP_ENV__Reason);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct SOAP_ENV__Reason*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -848,8 +848,10 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Detail(struct soap *soap, stru
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Detail(struct soap *soap, const struct SOAP_ENV__Detail *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
soap_markelement(soap, a->fault, a->__type);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Detail(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Detail *a, const char *type)
|
||||
@@ -934,15 +936,13 @@ SOAP_FMAC1 struct SOAP_ENV__Detail * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Detai
|
||||
*size = sizeof(struct SOAP_ENV__Detail);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Detail[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Detail, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct SOAP_ENV__Detail);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct SOAP_ENV__Detail*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -966,9 +966,11 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Code(struct soap *soap, struct
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Code(struct soap *soap, const struct SOAP_ENV__Code *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
soap_serialize__QName(soap, &a->SOAP_ENV__Value);
|
||||
soap_serialize_PointerToSOAP_ENV__Code(soap, &a->SOAP_ENV__Subcode);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Code(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Code *a, const char *type)
|
||||
@@ -1055,15 +1057,13 @@ SOAP_FMAC1 struct SOAP_ENV__Code * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Code(st
|
||||
*size = sizeof(struct SOAP_ENV__Code);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Code[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Code, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct SOAP_ENV__Code);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct SOAP_ENV__Code*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -1085,7 +1085,9 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_SOAP_ENV__Header(struct soap *soap, stru
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_SOAP_ENV__Header(struct soap *soap, const struct SOAP_ENV__Header *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_SOAP_ENV__Header(struct soap *soap, const char *tag, int id, const struct SOAP_ENV__Header *a, const char *type)
|
||||
@@ -1155,15 +1157,13 @@ SOAP_FMAC1 struct SOAP_ENV__Header * SOAP_FMAC2 soap_instantiate_SOAP_ENV__Heade
|
||||
*size = sizeof(struct SOAP_ENV__Header);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct SOAP_ENV__Header[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct SOAP_ENV__Header, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct SOAP_ENV__Header);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct SOAP_ENV__Header*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -1184,8 +1184,10 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__executeCommand(struct soap *soap, s
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__executeCommand(struct soap *soap, const struct ns1__executeCommand *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
soap_serialize_string(soap, &a->command);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommand(struct soap *soap, const char *tag, int id, const struct ns1__executeCommand *a, const char *type)
|
||||
@@ -1263,15 +1265,13 @@ SOAP_FMAC1 struct ns1__executeCommand * SOAP_FMAC2 soap_instantiate_ns1__execute
|
||||
*size = sizeof(struct ns1__executeCommand);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct ns1__executeCommand[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct ns1__executeCommand, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct ns1__executeCommand);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct ns1__executeCommand*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -1290,8 +1290,10 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_ns1__executeCommandResponse(struct soap
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_ns1__executeCommandResponse(struct soap *soap, const struct ns1__executeCommandResponse *a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
(void)soap; (void)a; /* appease -Wall -Werror */
|
||||
soap_serialize_PointerTostring(soap, &a->result);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_ns1__executeCommandResponse(struct soap *soap, const char *tag, int id, const struct ns1__executeCommandResponse *a, const char *type)
|
||||
@@ -1369,15 +1371,13 @@ SOAP_FMAC1 struct ns1__executeCommandResponse * SOAP_FMAC2 soap_instantiate_ns1_
|
||||
*size = sizeof(struct ns1__executeCommandResponse);
|
||||
}
|
||||
else
|
||||
{ cp->ptr = (void*)SOAP_NEW(struct ns1__executeCommandResponse[n]);
|
||||
if (!cp->ptr)
|
||||
{ soap->error = SOAP_EOM;
|
||||
return NULL;
|
||||
}
|
||||
{ cp->ptr = (void*)SOAP_NEW_ARRAY(struct ns1__executeCommandResponse, n);
|
||||
if (size)
|
||||
*size = n * sizeof(struct ns1__executeCommandResponse);
|
||||
}
|
||||
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Instantiated location=%p\n", cp->ptr));
|
||||
if (!cp->ptr)
|
||||
soap->error = SOAP_EOM;
|
||||
return (struct ns1__executeCommandResponse*)cp->ptr;
|
||||
}
|
||||
|
||||
@@ -1392,8 +1392,10 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_copy_ns1__executeCommandResponse(struct soap *so
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Reason(struct soap *soap, struct SOAP_ENV__Reason *const*a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Reason))
|
||||
soap_serialize_SOAP_ENV__Reason(soap, *a);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Reason(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Reason *const*a, const char *type)
|
||||
@@ -1414,8 +1416,6 @@ SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Reas
|
||||
*a = NULL;
|
||||
if (!soap->null && *soap->href != '#')
|
||||
{ soap_revert(soap);
|
||||
*a = (struct SOAP_ENV__Reason *)soap_malloc(soap, sizeof(struct SOAP_ENV__Reason));
|
||||
soap_default_SOAP_ENV__Reason(soap, *a);
|
||||
if (!(*a = soap_in_SOAP_ENV__Reason(soap, tag, *a, type)))
|
||||
return NULL;
|
||||
}
|
||||
@@ -1449,8 +1449,10 @@ SOAP_FMAC3 struct SOAP_ENV__Reason ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Rea
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Detail(struct soap *soap, struct SOAP_ENV__Detail *const*a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Detail))
|
||||
soap_serialize_SOAP_ENV__Detail(soap, *a);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Detail(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Detail *const*a, const char *type)
|
||||
@@ -1471,8 +1473,6 @@ SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Deta
|
||||
*a = NULL;
|
||||
if (!soap->null && *soap->href != '#')
|
||||
{ soap_revert(soap);
|
||||
*a = (struct SOAP_ENV__Detail *)soap_malloc(soap, sizeof(struct SOAP_ENV__Detail));
|
||||
soap_default_SOAP_ENV__Detail(soap, *a);
|
||||
if (!(*a = soap_in_SOAP_ENV__Detail(soap, tag, *a, type)))
|
||||
return NULL;
|
||||
}
|
||||
@@ -1506,8 +1506,10 @@ SOAP_FMAC3 struct SOAP_ENV__Detail ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Det
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerToSOAP_ENV__Code(struct soap *soap, struct SOAP_ENV__Code *const*a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
if (!soap_reference(soap, *a, SOAP_TYPE_SOAP_ENV__Code))
|
||||
soap_serialize_SOAP_ENV__Code(soap, *a);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerToSOAP_ENV__Code(struct soap *soap, const char *tag, int id, struct SOAP_ENV__Code *const*a, const char *type)
|
||||
@@ -1528,8 +1530,6 @@ SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_in_PointerToSOAP_ENV__Code(s
|
||||
*a = NULL;
|
||||
if (!soap->null && *soap->href != '#')
|
||||
{ soap_revert(soap);
|
||||
*a = (struct SOAP_ENV__Code *)soap_malloc(soap, sizeof(struct SOAP_ENV__Code));
|
||||
soap_default_SOAP_ENV__Code(soap, *a);
|
||||
if (!(*a = soap_in_SOAP_ENV__Code(soap, tag, *a, type)))
|
||||
return NULL;
|
||||
}
|
||||
@@ -1561,8 +1561,10 @@ SOAP_FMAC3 struct SOAP_ENV__Code ** SOAP_FMAC4 soap_get_PointerToSOAP_ENV__Code(
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_PointerTostring(struct soap *soap, char **const*a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
if (!soap_reference(soap, *a, SOAP_TYPE_string))
|
||||
soap_serialize_string(soap, *a);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_PointerTostring(struct soap *soap, const char *tag, int id, char **const*a, const char *type)
|
||||
@@ -1610,6 +1612,13 @@ SOAP_FMAC3 char *** SOAP_FMAC4 soap_get_PointerTostring(struct soap *soap, char
|
||||
return p;
|
||||
}
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize__QName(struct soap *soap, char *const*a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
soap_reference(soap, *a, SOAP_TYPE__QName);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out__QName(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
|
||||
{
|
||||
return soap_outstring(soap, tag, id, a, type, SOAP_TYPE__QName);
|
||||
@@ -1649,7 +1658,9 @@ SOAP_FMAC3 void SOAP_FMAC4 soap_default_string(struct soap *soap, char **a)
|
||||
|
||||
SOAP_FMAC3 void SOAP_FMAC4 soap_serialize_string(struct soap *soap, char *const*a)
|
||||
{
|
||||
#ifndef WITH_NOIDREF
|
||||
soap_reference(soap, *a, SOAP_TYPE_string);
|
||||
#endif
|
||||
}
|
||||
|
||||
SOAP_FMAC3 int SOAP_FMAC4 soap_out_string(struct soap *soap, const char *tag, int id, char *const*a, const char *type)
|
||||
|
||||
Reference in new issue
Block a user