YAZ  5.34.0
Data Structures | Macros | Typedefs | Functions
soap.h File Reference

Header for SOAP. More...

#include <yaz/odr.h>

Go to the source code of this file.

Data Structures

struct  Z_SOAP_Fault
 
struct  Z_SOAP_Generic
 
struct  Z_SOAP
 
struct  Z_SOAP_Handler
 

Macros

#define Z_SOAP_fault   1
 
#define Z_SOAP_generic   2
 
#define Z_SOAP_error   3
 

Typedefs

typedef int(* Z_SOAP_fun) (ODR o, void *ptr, void **handler_data, void *client_data, const char *ns)
 

Functions

int z_soap_codec (ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers)
 
int z_soap_codec_enc (ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers, const char *encoding)
 
int z_soap_codec_enc_xsl (ODR o, Z_SOAP **pp, char **content_buf, int *content_len, Z_SOAP_Handler *handlers, const char *encoding, const char *stylesheet)
 
int z_soap_error (ODR o, Z_SOAP *p, const char *fault_code, const char *fault_string, const char *details)
 

Detailed Description

Header for SOAP.

Definition in file soap.h.

Macro Definition Documentation

◆ Z_SOAP_error

#define Z_SOAP_error   3

Definition at line 54 of file soap.h.

◆ Z_SOAP_fault

#define Z_SOAP_fault   1

Definition at line 52 of file soap.h.

◆ Z_SOAP_generic

#define Z_SOAP_generic   2

Definition at line 53 of file soap.h.

Typedef Documentation

◆ Z_SOAP_fun

typedef int(* Z_SOAP_fun) (ODR o, void *ptr, void **handler_data, void *client_data, const char *ns)

Definition at line 65 of file soap.h.

Function Documentation

◆ z_soap_codec()

int z_soap_codec ( ODR  o,
Z_SOAP **  pp,
char **  content_buf,
int *  content_len,
Z_SOAP_Handler handlers 
)

Definition at line 340 of file soap.c.

References z_soap_codec_enc().

Referenced by yaz_srw_decode(), and ZOOM_handle_sru().

◆ z_soap_codec_enc()

int z_soap_codec_enc ( ODR  o,
Z_SOAP **  pp,
char **  content_buf,
int *  content_len,
Z_SOAP_Handler handlers,
const char *  encoding 
)

Definition at line 331 of file soap.c.

References z_soap_codec_enc_xsl().

Referenced by yaz_sru_soap_encode(), and z_soap_codec().

◆ z_soap_codec_enc_xsl()

int z_soap_codec_enc_xsl ( ODR  o,
Z_SOAP **  pp,
char **  content_buf,
int *  content_len,
Z_SOAP_Handler handlers,
const char *  encoding,
const char *  stylesheet 
)

◆ z_soap_error()

int z_soap_error ( ODR  o,
Z_SOAP p,
const char *  fault_code,
const char *  fault_string,
const char *  details 
)