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)  

irods_server_globals.cpp
Go to the documentation of this file.
1 #include "rods.h"
2 #include "fileOpr.hpp"
3 #include "dataObjOpr.hpp"
4 #include "miscUtil.h"
5 #include "openCollection.h"
6 
7 // =-=-=-=-=-=-=-
9 
10 // =-=-=-=-=-=-=-
11 // externs to singleton plugin managers
13 
14 #define CACHE_DIR_STR "cacheDir"
15 
16 int LogFd = -1; /* the log file descriptor */
17 char *CurLogfileName = NULL; /* the path of the current logfile */
19 
24 int RescGrpInit = 0; /* whether initRescGrp has been called */
25 
26 /* global fileDesc */
27 
31 std::vector<collHandle_t> CollHandle;
32 
33 /* global Rule Engine File Initialization String */
34 
38 
39 /* global Kerberos server-side name */
41 
42 /* The stat of the Agent initialization */
43 
46 
48 
50 
51 //structFileDesc_t StructFileDesc[NUM_STRUCT_FILE_DESC];
52 #ifdef TAR_STRUCT_FILE
53 //tarSubFileDesc_t TarSubFileDesc[NUM_TAR_SUB_FILE_DESC];
54 #endif
55 
56 /* Server Authentication information */
57 
58 char localSID[MAX_PASSWORD_LEN]; /* Local Zone Servers ID string */
60 
61 /* quota for all resources for this user in bytes */
62 rodsLong_t GlobalQuotaLimit; /* quota for all resources for this user */
63 rodsLong_t GlobalQuotaOverrun; /* quota overrun for this user */
64 int RescQuotaPolicy; /* can be RESC_QUOTA_UNINIT, RESC_QUOTA_OFF or
65  * RESC_QUOTA_ON */
66 
68 
69 /* manage server process permissions */
70 uid_t ServiceUid = 0;
71 gid_t ServiceGid = 0;
72 
73 /* Flag for whether the read/write rule should be executed */
NULL
#define NULL
Definition: rodsDef.h:70
rsComm_t
Definition: rcConnect.h:145
ThisComm
rsComm_t * ThisComm
Definition: irods_server_globals.cpp:45
RescQuotaPolicy
int RescQuotaPolicy
Definition: irods_server_globals.cpp:64
irods::lookup_table
Definition: irods_lookup_table.hpp:24
CurLogfileName
char * CurLogfileName
Definition: irods_server_globals.cpp:17
ProcLogDir
char ProcLogDir[(1024+64)]
Definition: irods_server_globals.cpp:18
FileDesc
fileDesc_t FileDesc[1026]
Definition: irods_server_globals.cpp:28
irodsStateFlag_t
irodsStateFlag_t
Definition: rodsDef.h:165
SpecCollDesc
specCollDesc_t SpecCollDesc[100]
Definition: irods_server_globals.cpp:30
LocalServerHost
rodsServerHost_t * LocalServerHost
Definition: irods_server_globals.cpp:20
INITIAL_NOT_DONE
#define INITIAL_NOT_DONE
Definition: rodsConnect.h:18
specCollDesc
Definition: querySpecColl.h:9
CollHandle
std::vector< collHandle_t > CollHandle
Definition: irods_server_globals.cpp:31
KerberosName
char KerberosName[(1024+64)]
Definition: irods_server_globals.cpp:40
GlobalQuotaOverrun
rodsLong_t GlobalQuotaOverrun
Definition: irods_server_globals.cpp:63
LONG_NAME_LEN
#define LONG_NAME_LEN
Definition: rodsDef.h:57
reFuncMapStr
char reFuncMapStr[256]
Definition: irods_server_globals.cpp:36
ServerHostHead
rodsServerHost_t * ServerHostHead
Definition: irods_server_globals.cpp:21
MAX_PASSWORD_LEN
#define MAX_PASSWORD_LEN
Definition: authenticate.h:9
LastRescUpdateTime
time_t LastRescUpdateTime
Definition: irods_server_globals.cpp:67
SpecCollCacheHead
specCollCache_t * SpecCollCacheHead
Definition: irods_server_globals.cpp:49
GlobalQuotaLimit
rodsLong_t GlobalQuotaLimit
Definition: irods_server_globals.cpp:62
reRuleStr
char reRuleStr[256]
Definition: irods_server_globals.cpp:35
HostConfigHead
rodsServerHost_t * HostConfigHead
Definition: irods_server_globals.cpp:22
NUM_SPEC_COLL_DESC
#define NUM_SPEC_COLL_DESC
Definition: querySpecColl.h:16
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
resc_mgr
irods::resource_manager resc_mgr
Definition: irods_resource_manager.cpp:31
remote_SID_key_map
irods::lookup_table< std::pair< std::string, std::string > > remote_SID_key_map
Definition: irods_server_globals.cpp:59
ReadWriteRuleState
irodsStateFlag_t ReadWriteRuleState
Definition: irods_server_globals.cpp:74
NUM_L1_DESC
#define NUM_L1_DESC
Definition: objDesc.hpp:24
IcatConnState
int IcatConnState
Definition: irods_server_globals.cpp:47
localSID
char localSID[50]
Definition: irods_server_globals.cpp:58
InitialState
int InitialState
Definition: irods_server_globals.cpp:44
LogFd
int LogFd
Definition: irods_server_globals.cpp:16
fileOpr.hpp
rodsServerHost
Definition: rodsConnect.h:62
openCollection.h
ServiceGid
gid_t ServiceGid
Definition: irods_server_globals.cpp:71
L1desc
l1desc_t L1desc[1026]
Definition: irods_server_globals.cpp:29
RescGrpInit
int RescGrpInit
Definition: irods_server_globals.cpp:24
irods_resource_manager.hpp
irods::resource_manager
Definition: irods_resource_manager.hpp:30
NUM_FILE_DESC
#define NUM_FILE_DESC
Definition: fileOpr.hpp:16
ZoneInfoHead
zoneInfo_t * ZoneInfoHead
Definition: irods_server_globals.cpp:23
ServiceUid
uid_t ServiceUid
Definition: irods_server_globals.cpp:70
l1desc
Definition: objDesc.hpp:34
reVariableMapStr
char reVariableMapStr[256]
Definition: irods_server_globals.cpp:37
miscUtil.h
dataObjOpr.hpp
zoneInfo
Definition: rodsConnect.h:74
fileDesc_t
Definition: fileOpr.hpp:24
rods.h
UNINIT_STATE
@ UNINIT_STATE
Definition: rodsDef.h:166
SpecCollCache
Definition: objInfo.h:102
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32