]> git.evergreen-ils.org Git - Evergreen.git/blob - OpenSRF/src/libstack/osrf_system.h
cf50989de9b6b87006987d14a0edab96de839f29
[Evergreen.git] / OpenSRF / src / libstack / osrf_system.h
1 #include "opensrf/transport_client.h"
2 #include "utils.h"
3 #include "logging.h"
4 #include "osrf_config.h"
5 //#include "osrf_settings.h"
6
7 #ifndef OSRF_SYSTEM_H
8 #define OSRF_SYSTEM_H
9
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
12 */
13
14 char* osrf_config_context;
15
16 int osrf_system_bootstrap_client( char* config_file, char* contextnode );
17 transport_client* osrf_system_get_transport_client();
18
19 /* disconnects and destroys the current client connection */
20 int osrf_system_disconnect_client();
21 int osrf_system_shutdown(); 
22
23
24 #endif