]> git.evergreen-ils.org Git - OpenSRF.git/blob - include/opensrf/osrf_system.h
Tidying up various things; nothing very substantial.
[OpenSRF.git] / include / opensrf / osrf_system.h
1 /**
2         @file osrf_system.h
3         @brief Header for various top-level system routines.
4 */
5
6 #ifndef OSRF_SYSTEM_H
7 #define OSRF_SYSTEM_H
8
9 #include <opensrf/transport_client.h>
10 #include <opensrf/utils.h>
11 #include <opensrf/log.h>
12 #include <opensrf/osrf_settings.h>
13 #include <opensrf/osrfConfig.h>
14 #include <opensrf/osrf_cache.h>
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 int osrf_system_bootstrap_client( char* config_file, char* contextnode );
21
22 int osrfSystemBootstrapClientResc( const char* config_file,
23                 const char* contextnode, const char* resource );
24
25 int osrfSystemBootstrap( const char* hostname, const char* configfile,
26                 const char* contextNode );
27
28 transport_client* osrfSystemGetTransportClient( void );
29
30 int osrf_system_disconnect_client();
31
32 int osrf_system_shutdown( void );
33
34 void osrfSystemIgnoreTransportClient();
35
36 int osrfSystemInitCache(void);
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif