irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

rsGlobalExtern.hpp
Go to the documentation of this file.
1 
3 /* rsGlobalExtern.h - header file for global extern declaration for the server
4  * modules
5  */
6 
7 #ifndef RS_GLOBAL_EXTERN_HPP
8 #define RS_GLOBAL_EXTERN_HPP
9 
10 #include "rods.h"
11 #include "apiHandler.hpp"
12 #include "fileOpr.hpp"
13 #include "objDesc.hpp"
14 #include "querySpecColl.h"
15 #include "miscUtil.h"
16 #include "authenticate.h"
17 #include "openCollection.h"
18 
19 // =-=-=-=-=-=-=-
21 
22 // =-=-=-=-=-=-=-
23 // externs to singleton plugin managers
25 
26 extern int LogFd; /* the log file descriptor */
27 extern char *CurLogfileName; /* the path of the current logfile */
28 extern char ProcLogDir[MAX_NAME_LEN];
33 extern zoneInfo_t *ZoneInfoHead;
34 extern int RescGrpInit;
38 extern std::vector<collHandle_t> CollHandle;;
39 
40 /* global Rule Engine File Initialization String */
41 
42 extern char reRuleStr[LONG_NAME_LEN];
43 extern char reFuncMapStr[LONG_NAME_LEN];
44 extern char reVariableMapStr[LONG_NAME_LEN];
45 
46 /* Kerberos server name */
47 extern char KerberosName[MAX_NAME_LEN];
48 
49 extern int InitialState;
50 extern rsComm_t *ThisComm;
51 
52 extern int IcatConnState;
53 
55 
56 //int initRuleEngine( int processType, rsComm_t *svrComm, char *ruleSet, char *dvmSet, char* fnmSet );
57 //int clearCoreRule();
58 //int finalizeRuleEngine();
59 
60 extern char localSID[MAX_PASSWORD_LEN];
61 extern irods::lookup_table <std::pair <std::string, std::string> > remote_SID_key_map; // remote zone SIDs and negotiation keys
62 
63 /* quota for all resources for this user in bytes */
64 extern rodsLong_t GlobalQuotaLimit; /* quota for all resources for this user */
65 extern rodsLong_t GlobalQuotaOverrun; /* quota overrun for this user */
66 extern int RescQuotaPolicy;
67 extern time_t LastRescUpdateTime;
68 
69 /* manage server process permissions */
70 extern uid_t ServiceUid;
71 extern gid_t ServiceGid;
72 
74 
75 #endif /* RS_GLOBAL_EXTERN_H */
76 
L1desc
l1desc_t L1desc[1026]
Definition: irods_server_globals.cpp:29
rsComm_t
Definition: rcConnect.h:145
CurLogfileName
char * CurLogfileName
Definition: irods_server_globals.cpp:17
irods::lookup_table
Definition: irods_lookup_table.hpp:24
reVariableMapStr
char reVariableMapStr[256]
Definition: irods_server_globals.cpp:37
ReadWriteRuleState
irodsStateFlag_t ReadWriteRuleState
Definition: irods_server_globals.cpp:74
irodsStateFlag_t
irodsStateFlag_t
Definition: rodsDef.h:165
SpecCollCacheHead
specCollCache_t * SpecCollCacheHead
Definition: irods_server_globals.cpp:49
authenticate.h
CollHandle
std::vector< collHandle_t > CollHandle
Definition: irods_server_globals.cpp:31
apiHandler.hpp
LogFd
int LogFd
Definition: irods_server_globals.cpp:16
specCollDesc
Definition: querySpecColl.h:9
ServerHostHead
rodsServerHost_t * ServerHostHead
Definition: irods_server_globals.cpp:21
LONG_NAME_LEN
#define LONG_NAME_LEN
Definition: rodsDef.h:57
ServiceUid
uid_t ServiceUid
Definition: irods_server_globals.cpp:70
RsApiTable
irods::api_entry_table RsApiTable
ZoneInfoHead
zoneInfo_t * ZoneInfoHead
Definition: irods_server_globals.cpp:23
MAX_PASSWORD_LEN
#define MAX_PASSWORD_LEN
Definition: authenticate.h:9
localSID
char localSID[50]
Definition: irods_server_globals.cpp:58
LocalServerHost
rodsServerHost_t * LocalServerHost
Definition: irods_server_globals.cpp:20
reFuncMapStr
char reFuncMapStr[256]
Definition: irods_server_globals.cpp:36
LastRescUpdateTime
time_t LastRescUpdateTime
Definition: irods_server_globals.cpp:67
GlobalQuotaOverrun
rodsLong_t GlobalQuotaOverrun
Definition: irods_server_globals.cpp:63
objDesc.hpp
NUM_SPEC_COLL_DESC
#define NUM_SPEC_COLL_DESC
Definition: querySpecColl.h:16
HostConfigHead
rodsServerHost_t * HostConfigHead
Definition: irods_server_globals.cpp:22
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
RescQuotaPolicy
int RescQuotaPolicy
Definition: irods_server_globals.cpp:64
GlobalQuotaLimit
rodsLong_t GlobalQuotaLimit
Definition: irods_server_globals.cpp:62
querySpecColl.h
reRuleStr
char reRuleStr[256]
Definition: irods_server_globals.cpp:35
remote_SID_key_map
irods::lookup_table< std::pair< std::string, std::string > > remote_SID_key_map
Definition: irods_server_globals.cpp:59
NUM_L1_DESC
#define NUM_L1_DESC
Definition: objDesc.hpp:24
InitialState
int InitialState
Definition: irods_server_globals.cpp:44
ServiceGid
gid_t ServiceGid
Definition: irods_server_globals.cpp:71
irods::api_entry_table
Definition: apiHandler.hpp:353
FileDesc
fileDesc_t FileDesc[1026]
Definition: irods_server_globals.cpp:28
ThisComm
rsComm_t * ThisComm
Definition: irods_server_globals.cpp:45
ProcLogDir
char ProcLogDir[(1024+64)]
Definition: irods_server_globals.cpp:18
fileOpr.hpp
rodsServerHost
Definition: rodsConnect.h:62
openCollection.h
irods_resource_manager.hpp
irods::resource_manager
Definition: irods_resource_manager.hpp:30
NUM_FILE_DESC
#define NUM_FILE_DESC
Definition: fileOpr.hpp:16
RescGrpInit
int RescGrpInit
Definition: irods_server_globals.cpp:24
l1desc
Definition: objDesc.hpp:34
miscUtil.h
zoneInfo
Definition: rodsConnect.h:74
resc_mgr
irods::resource_manager resc_mgr
Definition: irods_resource_manager.cpp:31
IcatConnState
int IcatConnState
Definition: irods_server_globals.cpp:47
fileDesc_t
Definition: fileOpr.hpp:24
SpecCollDesc
specCollDesc_t SpecCollDesc[100]
Definition: irods_server_globals.cpp:30
rods.h
KerberosName
char KerberosName[(1024+64)]
Definition: irods_server_globals.cpp:40
SpecCollCache
Definition: objInfo.h:102
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32