Local snapshot for Docker build (includes mod-ale)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+40
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
|
||||
file(GLOB sources *.cpp *.h)
|
||||
|
||||
add_library(gsoap STATIC ${sources})
|
||||
|
||||
set_target_properties(gsoap PROPERTIES LINKER_LANGUAGE CXX)
|
||||
|
||||
# Group sources
|
||||
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_include_directories(gsoap
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
target_link_libraries(gsoap
|
||||
PRIVATE
|
||||
acore-dependency-interface)
|
||||
|
||||
set_target_properties(gsoap
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"deps")
|
||||
|
||||
if (MSVC)
|
||||
# Little fix for MSVC / Windows platforms
|
||||
target_compile_definitions(gsoap
|
||||
PRIVATE
|
||||
-D_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=0)
|
||||
endif()
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
int ns1__executeCommand(char* command, char** result);
|
||||
Vendored
+1779
File diff suppressed because it is too large
Load Diff
Vendored
+1126
File diff suppressed because it is too large
Load Diff
Vendored
+114
@@ -0,0 +1,114 @@
|
||||
/* soapServer.cpp
|
||||
Generated by gSOAP 2.8.105 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2020, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#pragma option push -w-8060
|
||||
#pragma option push -w-8004
|
||||
#endif
|
||||
#include "soapH.h"
|
||||
|
||||
SOAP_SOURCE_STAMP("@(#) soapServer.cpp ver 2.8.105 2020-08-19 11:37:43 GMT")
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap *soap)
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
soap->keep_alive = soap->max_keep_alive + 1;
|
||||
#endif
|
||||
do
|
||||
{
|
||||
#ifndef WITH_FASTCGI
|
||||
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))) && soap->error && soap->error < SOAP_STOP)
|
||||
{
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_send_fault(soap);
|
||||
#else
|
||||
return soap_send_fault(soap);
|
||||
#endif
|
||||
}
|
||||
#ifdef WITH_FASTCGI
|
||||
soap_destroy(soap);
|
||||
soap_end(soap);
|
||||
} while (1);
|
||||
#else
|
||||
} while (soap->keep_alive);
|
||||
#endif
|
||||
return SOAP_OK;
|
||||
}
|
||||
|
||||
#ifndef WITH_NOSERVEREQUEST
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap *soap)
|
||||
{
|
||||
(void)soap_peek_element(soap);
|
||||
if (!soap_match_tag(soap, soap->tag, "ns1:executeCommand"))
|
||||
return soap_serve_ns1__executeCommand(soap);
|
||||
return soap->error = SOAP_NO_METHOD;
|
||||
}
|
||||
#endif
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap *soap)
|
||||
{ struct ns1__executeCommand soap_tmp_ns1__executeCommand;
|
||||
struct ns1__executeCommandResponse soap_tmp_ns1__executeCommandResponse;
|
||||
char * soap_tmp_string;
|
||||
soap_default_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse);
|
||||
soap_tmp_string = NULL;
|
||||
soap_tmp_ns1__executeCommandResponse.result = &soap_tmp_string;
|
||||
soap_default_ns1__executeCommand(soap, &soap_tmp_ns1__executeCommand);
|
||||
if (!soap_get_ns1__executeCommand(soap, &soap_tmp_ns1__executeCommand, "ns1:executeCommand", NULL))
|
||||
return soap->error;
|
||||
if (soap_body_end_in(soap)
|
||||
|| soap_envelope_end_in(soap)
|
||||
|| soap_end_recv(soap))
|
||||
return soap->error;
|
||||
soap->error = ns1__executeCommand(soap, soap_tmp_ns1__executeCommand.command, soap_tmp_ns1__executeCommandResponse.result);
|
||||
if (soap->error)
|
||||
return soap->error;
|
||||
soap->encodingStyle = NULL; /* use SOAP literal style */
|
||||
soap_serializeheader(soap);
|
||||
soap_serialize_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse);
|
||||
if (soap_begin_count(soap))
|
||||
return soap->error;
|
||||
if ((soap->mode & SOAP_IO_LENGTH))
|
||||
{ if (soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse, "ns1:executeCommandResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap))
|
||||
return soap->error;
|
||||
};
|
||||
if (soap_end_count(soap)
|
||||
|| soap_response(soap, SOAP_OK)
|
||||
|| soap_envelope_begin_out(soap)
|
||||
|| soap_putheader(soap)
|
||||
|| soap_body_begin_out(soap)
|
||||
|| soap_put_ns1__executeCommandResponse(soap, &soap_tmp_ns1__executeCommandResponse, "ns1:executeCommandResponse", "")
|
||||
|| soap_body_end_out(soap)
|
||||
|| soap_envelope_end_out(soap)
|
||||
|| soap_end_send(soap))
|
||||
return soap->error;
|
||||
return soap_closesock(soap);
|
||||
}
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#pragma option pop
|
||||
#pragma option pop
|
||||
#endif
|
||||
|
||||
/* End of soapServer.cpp */
|
||||
Vendored
+330
@@ -0,0 +1,330 @@
|
||||
/* soapStub.h
|
||||
Generated by gSOAP 2.8.105 for gsoap.stub
|
||||
|
||||
gSOAP XML Web services tools
|
||||
Copyright (C) 2000-2020, 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.
|
||||
--------------------------------------------------------------------------------
|
||||
A commercial use license is available from Genivia Inc., contact@genivia.com
|
||||
--------------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
#ifndef soapStub_H
|
||||
#define soapStub_H
|
||||
#include "stdsoap2.h"
|
||||
#if GSOAP_VERSION != 208105
|
||||
# error "GSOAP VERSION 208105 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
|
||||
#endif
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Types with Custom Serializers *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Classes, Structs and Unions *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
struct ns1__executeCommandResponse; /* gsoap.stub:1 */
|
||||
struct ns1__executeCommand; /* gsoap.stub:1 */
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
/* complex XML schema type 'ns1:executeCommandResponse': */
|
||||
struct SOAP_CMAC ns1__executeCommandResponse {
|
||||
public:
|
||||
/** Optional element 'result' of XML schema type 'xsd:string' */
|
||||
char **result;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommandResponse */
|
||||
long soap_type() const { return SOAP_TYPE_ns1__executeCommandResponse; }
|
||||
/** Constructor with member initializations */
|
||||
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
|
||||
|
||||
/* gsoap.stub:1 */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
/* complex XML schema type 'ns1:executeCommand': */
|
||||
struct SOAP_CMAC ns1__executeCommand {
|
||||
public:
|
||||
/** Optional element 'command' of XML schema type 'xsd:string' */
|
||||
char *command;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_ns1__executeCommand */
|
||||
long soap_type() const { return SOAP_TYPE_ns1__executeCommand; }
|
||||
/** Constructor with member initializations */
|
||||
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
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (11)
|
||||
/* SOAP_ENV__Header: */
|
||||
struct SOAP_CMAC SOAP_ENV__Header {
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Header */
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Header; }
|
||||
/** Constructor with member initializations */
|
||||
SOAP_ENV__Header() { }
|
||||
/** 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
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#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_CMAC SOAP_ENV__Code {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Value' of XML schema type 'xsd:QName' */
|
||||
char *SOAP_ENV__Value;
|
||||
/** Optional element 'SOAP-ENV:Subcode' of XML schema type 'SOAP-ENV:Code' */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Subcode;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Code */
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Code; }
|
||||
/** Constructor with member initializations */
|
||||
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
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (14)
|
||||
/* SOAP_ENV__Detail: */
|
||||
struct SOAP_CMAC SOAP_ENV__Detail {
|
||||
public:
|
||||
char *__any;
|
||||
/** Any type of element 'fault' assigned to fault with its SOAP_TYPE_<typename> assigned to __type */
|
||||
/** Do not create a cyclic data structure through this member unless SOAP encoding or SOAP_XML_GRAPH are used for id-ref serialization */
|
||||
int __type;
|
||||
void *fault;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Detail */
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Detail; }
|
||||
/** Constructor with member initializations */
|
||||
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
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (17)
|
||||
/* SOAP_ENV__Reason: */
|
||||
struct SOAP_CMAC SOAP_ENV__Reason {
|
||||
public:
|
||||
/** Optional element 'SOAP-ENV:Text' of XML schema type 'xsd:string' */
|
||||
char *SOAP_ENV__Text;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Reason */
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Reason; }
|
||||
/** Constructor with member initializations */
|
||||
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
|
||||
#endif
|
||||
|
||||
/* gsoap.stub:2 */
|
||||
#ifndef WITH_NOGLOBAL
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (18)
|
||||
/* SOAP_ENV__Fault: */
|
||||
struct SOAP_CMAC SOAP_ENV__Fault {
|
||||
public:
|
||||
/** Optional element 'faultcode' of XML schema type 'xsd:QName' */
|
||||
char *faultcode;
|
||||
/** Optional element 'faultstring' of XML schema type 'xsd:string' */
|
||||
char *faultstring;
|
||||
/** Optional element 'faultactor' of XML schema type 'xsd:string' */
|
||||
char *faultactor;
|
||||
/** Optional element 'detail' of XML schema type 'SOAP-ENV:Detail' */
|
||||
struct SOAP_ENV__Detail *detail;
|
||||
/** Optional element 'SOAP-ENV:Code' of XML schema type 'SOAP-ENV:Code' */
|
||||
struct SOAP_ENV__Code *SOAP_ENV__Code;
|
||||
/** Optional element 'SOAP-ENV:Reason' of XML schema type 'SOAP-ENV:Reason' */
|
||||
struct SOAP_ENV__Reason *SOAP_ENV__Reason;
|
||||
/** Optional element 'SOAP-ENV:Node' of XML schema type 'xsd:string' */
|
||||
char *SOAP_ENV__Node;
|
||||
/** Optional element 'SOAP-ENV:Role' of XML schema type 'xsd:string' */
|
||||
char *SOAP_ENV__Role;
|
||||
/** Optional element 'SOAP-ENV:Detail' of XML schema type 'SOAP-ENV:Detail' */
|
||||
struct SOAP_ENV__Detail *SOAP_ENV__Detail;
|
||||
public:
|
||||
/** Return unique type id SOAP_TYPE_SOAP_ENV__Fault */
|
||||
long soap_type() const { return SOAP_TYPE_SOAP_ENV__Fault; }
|
||||
/** Constructor with member initializations */
|
||||
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
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Typedefs *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/* (built-in):0 */
|
||||
#ifndef SOAP_TYPE__XML
|
||||
#define SOAP_TYPE__XML (5)
|
||||
typedef char *_XML;
|
||||
#endif
|
||||
|
||||
/* (built-in):0 */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#define SOAP_TYPE__QName (6)
|
||||
typedef char *_QName;
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Serializable Types *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/* char has binding name 'byte' for type 'xsd:byte' */
|
||||
#ifndef SOAP_TYPE_byte
|
||||
#define SOAP_TYPE_byte (3)
|
||||
#endif
|
||||
|
||||
/* int has binding name 'int' for type 'xsd:int' */
|
||||
#ifndef SOAP_TYPE_int
|
||||
#define SOAP_TYPE_int (1)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Fault has binding name 'SOAP_ENV__Fault' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Fault
|
||||
#define SOAP_TYPE_SOAP_ENV__Fault (18)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Reason has binding name 'SOAP_ENV__Reason' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Reason
|
||||
#define SOAP_TYPE_SOAP_ENV__Reason (17)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Detail has binding name 'SOAP_ENV__Detail' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Detail
|
||||
#define SOAP_TYPE_SOAP_ENV__Detail (14)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Code has binding name 'SOAP_ENV__Code' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Code
|
||||
#define SOAP_TYPE_SOAP_ENV__Code (12)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Header has binding name 'SOAP_ENV__Header' for type '' */
|
||||
#ifndef SOAP_TYPE_SOAP_ENV__Header
|
||||
#define SOAP_TYPE_SOAP_ENV__Header (11)
|
||||
#endif
|
||||
|
||||
/* struct ns1__executeCommand has binding name 'ns1__executeCommand' for type 'ns1:executeCommand' */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommand
|
||||
#define SOAP_TYPE_ns1__executeCommand (10)
|
||||
#endif
|
||||
|
||||
/* struct ns1__executeCommandResponse has binding name 'ns1__executeCommandResponse' for type 'ns1:executeCommandResponse' */
|
||||
#ifndef SOAP_TYPE_ns1__executeCommandResponse
|
||||
#define SOAP_TYPE_ns1__executeCommandResponse (9)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Reason * has binding name 'PointerToSOAP_ENV__Reason' for type '' */
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Reason
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Reason (20)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Detail * has binding name 'PointerToSOAP_ENV__Detail' for type '' */
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Detail
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Detail (19)
|
||||
#endif
|
||||
|
||||
/* struct SOAP_ENV__Code * has binding name 'PointerToSOAP_ENV__Code' for type '' */
|
||||
#ifndef SOAP_TYPE_PointerToSOAP_ENV__Code
|
||||
#define SOAP_TYPE_PointerToSOAP_ENV__Code (13)
|
||||
#endif
|
||||
|
||||
/* char ** has binding name 'PointerTostring' for type 'xsd:string' */
|
||||
#ifndef SOAP_TYPE_PointerTostring
|
||||
#define SOAP_TYPE_PointerTostring (7)
|
||||
#endif
|
||||
|
||||
/* _QName has binding name '_QName' for type 'xsd:QName' */
|
||||
#ifndef SOAP_TYPE__QName
|
||||
#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' */
|
||||
#ifndef SOAP_TYPE_string
|
||||
#define SOAP_TYPE_string (4)
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Externals *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Server-Side Operations *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
/** Web service operation 'ns1__executeCommand' implementation, should return SOAP_OK or error code */
|
||||
SOAP_FMAC5 int SOAP_FMAC6 ns1__executeCommand(struct soap*, char *command, char **result);
|
||||
|
||||
/******************************************************************************\
|
||||
* *
|
||||
* Server-Side Skeletons to Invoke Service Operations *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
|
||||
|
||||
extern "C" SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
|
||||
|
||||
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns1__executeCommand(struct soap*);
|
||||
|
||||
#endif
|
||||
|
||||
/* End of soapStub.h */
|
||||
Vendored
+22989
File diff suppressed because it is too large
Load Diff
Vendored
+3683
File diff suppressed because it is too large
Load Diff
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
* Generate new headers based on TrinityCore soap-services stub:
|
||||
gsoap/bin/linux386/soapcpp2 -1 -S -L -w -x -y -c++11 gsoap.stub
|
||||
|
||||
* Copy the following files from the gsoap package:
|
||||
gsoap/stdsoap2.h
|
||||
gsoap/stdsoap2.cpp
|
||||
|
||||
* Remove the following files after generation:
|
||||
ns1.nsmap
|
||||
|
||||
* Test compile and see if SOAP works...
|
||||
Reference in New Issue
Block a user