php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_sdl.c File Reference
#include "php_soap.h"
#include "ext/libxml/php_libxml.h"
#include "libxml/uri.h"
#include "zend_virtual_cwd.h"
#include "main/php_open_temporary_file.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

Go to the source code of this file.

Data Structures

struct  _sdl_cache_bucket
 

Macros

#define O_BINARY   0
 
#define SAFE_STR(a)
 
#define WSDL_CACHE_VERSION   0x10
 
#define WSDL_CACHE_GET(ret, type, buf)
 
#define WSDL_CACHE_GET_INT(ret, buf)
 
#define WSDL_CACHE_GET_1(ret, type, buf)
 
#define WSDL_CACHE_GET_N(ret, n, buf)
 
#define WSDL_CACHE_SKIP(n, buf)
 
#define WSDL_CACHE_PUT_INT(val, buf)
 
#define WSDL_CACHE_PUT_1(val, buf)
 
#define WSDL_CACHE_PUT_N(val, n, buf)
 
#define WSDL_NO_STRING_MARKER   0x7fffffff
 

Typedefs

typedef struct _sdl_cache_bucket sdl_cache_bucket
 

Functions

encodePtr get_encoder_from_prefix (sdlPtr sdl, xmlNodePtr node, const xmlChar *type)
 
encodePtr get_encoder (sdlPtr sdl, const char *ns, const char *type)
 
encodePtr get_encoder_ex (sdlPtr sdl, const char *nscat, size_t len)
 
void sdl_set_uri_credentials (sdlCtx *ctx, char *uri)
 
void sdl_restore_uri_credentials (sdlCtx *ctx)
 
sdlPtr get_sdl (zval *this_ptr, char *uri, zend_long cache_wsdl)
 
void delete_sdl_impl (void *handle)
 
void delete_sdl (sdl *handle)
 

Macro Definition Documentation

◆ O_BINARY

#define O_BINARY   0

Definition at line 31 of file php_sdl.c.

◆ SAFE_STR

#define SAFE_STR ( a)
Value:
((a)?((const char *)a):"")
$obj a
Definition test.php:84

Definition at line 295 of file php_sdl.c.

◆ WSDL_CACHE_GET

#define WSDL_CACHE_GET ( ret,
type,
buf )
Value:
memcpy(&ret,*buf,sizeof(type)); *buf += sizeof(type);
zend_ffi_type * type
Definition ffi.c:3812
memcpy(ptr1, ptr2, size)
zend_ffi_ctype_name_buf buf
Definition ffi.c:4685
zval * ret

Definition at line 1160 of file php_sdl.c.

◆ WSDL_CACHE_GET_1

#define WSDL_CACHE_GET_1 ( ret,
type,
buf )
Value:
ret = (type)(**buf); (*buf)++;

Definition at line 1162 of file php_sdl.c.

◆ WSDL_CACHE_GET_INT

#define WSDL_CACHE_GET_INT ( ret,
buf )
Value:
ret = ((unsigned char)(*buf)[0])|((unsigned char)(*buf)[1]<<8)|((unsigned char)(*buf)[2]<<16)|((unsigned)(*buf)[3]<<24); *buf += 4;

Definition at line 1161 of file php_sdl.c.

◆ WSDL_CACHE_GET_N

#define WSDL_CACHE_GET_N ( ret,
n,
buf )
Value:
memcpy(ret,*buf,n); *buf += n;
zend_long n
Definition ffi.c:4979

Definition at line 1163 of file php_sdl.c.

◆ WSDL_CACHE_PUT_1

#define WSDL_CACHE_PUT_1 ( val,
buf )
Value:
smart_str_appendc(buf,val);
zval * val
Definition ffi.c:4262

Definition at line 1170 of file php_sdl.c.

◆ WSDL_CACHE_PUT_INT

#define WSDL_CACHE_PUT_INT ( val,
buf )
Value:
smart_str_appendc(buf,(char)(val & 0xff)); \
smart_str_appendc(buf,(char)((val >> 8) & 0xff)); \
smart_str_appendc(buf,(char)((val >> 16) & 0xff)); \
smart_str_appendc(buf,(char)((val >> 24) & 0xff));

Definition at line 1166 of file php_sdl.c.

◆ WSDL_CACHE_PUT_N

#define WSDL_CACHE_PUT_N ( val,
n,
buf )
Value:
smart_str_appendl(buf,val,n);

Definition at line 1171 of file php_sdl.c.

◆ WSDL_CACHE_SKIP

#define WSDL_CACHE_SKIP ( n,
buf )
Value:
*buf += n;

Definition at line 1164 of file php_sdl.c.

◆ WSDL_CACHE_VERSION

#define WSDL_CACHE_VERSION   0x10

Definition at line 1158 of file php_sdl.c.

◆ WSDL_NO_STRING_MARKER

#define WSDL_NO_STRING_MARKER   0x7fffffff

Definition at line 1173 of file php_sdl.c.

Typedef Documentation

◆ sdl_cache_bucket

Function Documentation

◆ delete_sdl()

void delete_sdl ( sdl * handle)

Definition at line 3416 of file php_sdl.c.

◆ delete_sdl_impl()

void delete_sdl_impl ( void * handle)

Definition at line 3378 of file php_sdl.c.

◆ get_encoder()

encodePtr get_encoder ( sdlPtr sdl,
const char * ns,
const char * type )

Definition at line 108 of file php_sdl.c.

◆ get_encoder_ex()

encodePtr get_encoder_ex ( sdlPtr sdl,
const char * nscat,
size_t len )

Definition at line 176 of file php_sdl.c.

◆ get_encoder_from_prefix()

encodePtr get_encoder_from_prefix ( sdlPtr sdl,
xmlNodePtr node,
const xmlChar * type )

Definition at line 47 of file php_sdl.c.

◆ get_sdl()

sdlPtr get_sdl ( zval * this_ptr,
char * uri,
zend_long cache_wsdl )

Definition at line 3152 of file php_sdl.c.

◆ sdl_restore_uri_credentials()

void sdl_restore_uri_credentials ( sdlCtx * ctx)

Definition at line 285 of file php_sdl.c.

◆ sdl_set_uri_credentials()

void sdl_set_uri_credentials ( sdlCtx * ctx,
char * uri )

Definition at line 203 of file php_sdl.c.