#include "rox-clib.h"
#include <stdlib.h>
#include <errno.h>
#include <ctype.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <glib.h>
#include <gdk/gdkx.h>
#include <X11/X.h>
#include <X11/Xatom.h>
#include <gtk/gtk.h>
#include <gtk/gtkinvisible.h>
#include <libxml/parser.h>
#include "rox_soap.h"
#include "error.h"
#include "rox_debug.h"
Data Structures | |
struct | program |
Typedefs | |
typedef program | Program |
Functions | |
void | rox_soap_init (void) |
ROXSOAP * | rox_soap_connect_to_filer (void) |
void | rox_soap_close (ROXSOAP *con) |
void | rox_soap_define_program (const char *name, const char *atom_format, const char *command) |
char * | rox_soap_atom_name_for_program (const char *name) |
xmlDocPtr | rox_soap_build_xml (const char *action, const char *ns_url, xmlNodePtr *act) |
gboolean | rox_soap_send (ROXSOAP *prog, xmlDocPtr doc, gboolean run_prog, rox_soap_callback callback, gpointer udata) |
gboolean | rox_soap_send_via_pipe (ROXSOAP *prog, xmlDocPtr doc, rox_soap_callback callback, gpointer udata) |
void | rox_soap_set_timeout (ROXSOAP *prog, guint ms) |
const char * | rox_soap_get_last_error (void) |
void | rox_soap_clear_error (void) |
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.
|
Definition of how we contact a 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.
|