1 #include "opensrf/transport_client.h"
4 #include "osrf_config.h"
5 //#include "osrf_settings.h"
10 /** Connects to jabber. Returns 1 on success, 0 on failure
11 contextnode is the location in the config file where we collect config info
15 int osrf_system_bootstrap_client( char* config_file, char* contextnode );
17 /* bootstraps a client adding the given resource string to the host/pid, etc. resource string */
18 int osrf_system_bootstrap_client_resc( char* config_file, char* contextnode, char* resource );
20 transport_client* osrf_system_get_transport_client();
22 /* disconnects and destroys the current client connection */
23 int osrf_system_disconnect_client();
24 int osrf_system_shutdown();
26 char* osrf_get_config_context();
28 char* osrf_get_bootstrap_config();