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