Log redaction for sensitive input values, C side
[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 void osrfSystemSetPidFile( const char* name );
21
22 int osrf_system_bootstrap_client( char* config_file, char* contextnode );
23
24 int osrfSystemBootstrapClientResc( const char* config_file,
25                 const char* contextnode, const char* resource );
26
27 int osrfSystemBootstrap( const char* hostname, const char* configfile,
28                 const char* contextNode );
29
30 transport_client* osrfSystemGetTransportClient( void );
31
32 int osrf_system_disconnect_client();
33
34 int osrf_system_shutdown( void );
35
36 void osrfSystemIgnoreTransportClient();
37
38 int osrfSystemInitCache(void);
39
40 extern osrfStringArray* log_protect_arr;
41
42 #ifdef __cplusplus
43 }
44 #endif
45
46 #endif