#include "rox-clib.h"
Defines | |
#define | ENV_NAMESPACE_URL "http://www.w3.org/2001/12/soap-envelope" |
#define | SOAP_NAMESPACE_URL "http://www.w3.org/2001/12/soap-rpc" |
Typedefs | |
typedef rox_soap | ROXSOAP |
typedef void(* | rox_soap_callback )(ROXSOAP *prog, gboolean status, xmlDocPtr reply, gpointer udata) |
Functions | |
void | rox_soap_init (void) |
void | rox_soap_define_program (const char *name, const char *atom_fmt, const char *command) |
char * | rox_soap_atom_name_for_program (const char *name) |
ROXSOAP * | rox_soap_connect_to_filer (void) |
gboolean | rox_soap_send (ROXSOAP *prog, xmlDocPtr doc, gboolean run_prog, rox_soap_callback callback, gpointer udata) |
void | rox_soap_set_timeout (ROXSOAP *filer, guint ms) |
gboolean | rox_soap_send_via_pipe (ROXSOAP *prog, xmlDocPtr doc, rox_soap_callback callback, gpointer udata) |
xmlDocPtr | rox_soap_build_xml (const char *action, const char *ns_url, xmlNodePtr *act) |
const char * | rox_soap_get_last_error (void) |
void | rox_soap_clear_error (void) |
void | rox_soap_close (ROXSOAP *filer) |
SOAP allows you to communicate with server programs via the X server. You may implement your applications to function from a single instance no matter how many times they are started, much as ROX-Filer does itself.
|
XML name space used by SOAP |
|
XML name space used by SOAP |
|
Type of function called on completion of a SOAP call.
|
|
Open or potential connection to a SOAP server program |
|
Returns the name of the atom which will be used to locate the given program. It uses the format given in the rox_soap_define_program() call, with the defined substitutions.
|
|
Build part of XML document to send. The action to perform is in name space ns_url. Add arguments to the node act, then call rox_soap_send() with the return value.
|
|
Clear last error |
|
Close connection to a SOAP server. |
|
Open connection to ROX-Filer.
|
|
Define how to connect to the named program. An entry for ROX-Filer is pre-defined.
|
|
|
|
Initialize the SOAP system. |
|
Send the XML document to a program using SOAP. If run_prog is
|
|
Send the XML document to a program using SOAP by executing the defined program, sending doc to its standard input and reading back the reply from its standard output. If no command has been defined for the program then the call fails. When complete callback is called with the status and reply.
|
|
Set the time to wait for a reply from a SOAP call.
|