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)  

getMiscSvrInfo.h
Go to the documentation of this file.
1 #ifndef GET_MISC_SVR_INFO_H__
2 #define GET_MISC_SVR_INFO_H__
3 
4 #include "rcConnect.h"
5 
6 // there is no input struct. Therefore, the inPackInstruct is NULL
7 // miscSvrInfo_t is the output struct
8 
9 // definition for server type
10 #define RCAT_NOT_ENABLED 0
11 #define RCAT_ENABLED 1
12 
13 typedef struct MiscSvrInfo {
14  int serverType; // RCAT_ENABLED or RCAT_NOT_ENABLED
16  char relVersion[NAME_LEN]; // the release version number
17  char apiVersion[NAME_LEN]; // the API version number
18  char rodsZone[NAME_LEN]; // the zone of this server
20 #define MiscSvrInfo_PI "int serverType; int serverBootTime; str relVersion[NAME_LEN]; str apiVersion[NAME_LEN]; str rodsZone[NAME_LEN];"
21 
22 #ifdef __cplusplus
23 extern "C"
24 #endif
25 int rcGetMiscSvrInfo( rcComm_t *conn, miscSvrInfo_t **outSvrInfo );
26 
27 #endif
rcComm_t
Definition: rcConnect.h:95
MiscSvrInfo::rodsZone
char rodsZone[64]
Definition: getMiscSvrInfo.h:18
MiscSvrInfo::serverType
int serverType
Definition: getMiscSvrInfo.h:14
rcConnect.h
rcGetMiscSvrInfo
int rcGetMiscSvrInfo(rcComm_t *conn, miscSvrInfo_t **outSvrInfo)
Definition: rcGetMiscSvrInfo.cpp:38
MiscSvrInfo::apiVersion
char apiVersion[64]
Definition: getMiscSvrInfo.h:17
miscSvrInfo_t
struct MiscSvrInfo miscSvrInfo_t
MiscSvrInfo::relVersion
char relVersion[64]
Definition: getMiscSvrInfo.h:16
NAME_LEN
#define NAME_LEN
Definition: rodsDef.h:55
MiscSvrInfo
Definition: getMiscSvrInfo.h:13
MiscSvrInfo::serverBootTime
uint serverBootTime
Definition: getMiscSvrInfo.h:15