4 #include "opensrf/transport_client.h"
5 #include "opensrf/utils.h"
6 #include "opensrf/logging.h"
7 #include "osrf_settings.h"
8 #include "osrfConfig.h"
11 /** Connects to jabber. Returns 1 on success, 0 on failure
12 contextnode is the location in the config file where we collect config info
16 int osrf_system_bootstrap_client( char* config_file, char* contextnode );
18 /* bootstraps a client adding the given resource string to the host/pid, etc. resource string */
19 int osrf_system_bootstrap_client_resc( char* config_file, char* contextnode, char* resource );
21 transport_client* osrf_system_get_transport_client();
23 /* disconnects and destroys the current client connection */
24 int osrf_system_disconnect_client();
25 int osrf_system_shutdown();
27 char* osrf_get_config_context();
29 char* osrf_get_bootstrap_config();