1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Struct-pack some soap datatypes (#14403)

While keeping data that belongs together close too.
This commit is contained in:
Niels Dossche
2024-06-01 14:11:45 +02:00
committed by GitHub
parent 1e2306b4c6
commit 9f89ada76f
2 changed files with 4 additions and 4 deletions

View File

@@ -94,9 +94,9 @@ typedef struct _sdlSoapBindingFunctionHeader {
char *name;
char *ns;
sdlEncodingUse use;
sdlRpcEncodingStyle encodingStyle; /* not implemented yet */
sdlTypePtr element;
encodePtr encode;
sdlRpcEncodingStyle encodingStyle; /* not implemented yet */
HashTable *headerfaults; /* array of sdlSoapBindingFunctionHeaderPtr */
} sdlSoapBindingFunctionHeader, *sdlSoapBindingFunctionHeaderPtr;
@@ -195,9 +195,9 @@ typedef enum _sdlForm {
struct _sdlType {
sdlTypeKind kind;
char nillable;
char *name;
char *namens;
char nillable;
HashTable *elements; /* array of sdlTypePtr */
HashTable *attributes; /* array of sdlAttributePtr */
sdlRestrictionsPtr restrictions;

View File

@@ -98,8 +98,8 @@ struct _soapService {
xmlCharEncodingHandlerPtr encoding;
zval class_map;
int features;
int send_errors;
struct _soapHeader **soap_headers_ptr;
int send_errors;
};
#define SOAP_CLASS 1
@@ -157,9 +157,9 @@ ZEND_BEGIN_MODULE_GLOBALS(soap)
int cur_uniq_ns;
int soap_version;
sdlPtr sdl;
bool use_soap_error_handler;
char* error_code;
zval error_object;
bool use_soap_error_handler;
char cache;
char cache_mode;
char cache_enabled;