YAZ  5.23.1
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

#define Z_SOAP_error   3

Definition at line 54 of file soap.h.

Referenced by z_soap_codec_enc_xsl(), z_soap_error(), and ZOOM_handle_sru().

#define Z_SOAP_fault   1

Definition at line 52 of file soap.h.

Referenced by z_soap_codec_enc_xsl(), and ZOOM_handle_sru().

#define Z_SOAP_generic   2

Typedef Documentation

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

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().

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().

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 
)