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)  

rodsPackTable.h
Go to the documentation of this file.
1 
3 /* rodsPackTable.h - The common rods pack Instruction table
4  */
5 
6 #ifndef RODS_PACK_TABLE_H__
7 #define RODS_PACK_TABLE_H__
8 
9 #include "rods.h"
10 #include "packStruct.h"
11 #include "rodsPackInstruct.h"
12 #include "reDefines.h"
13 #include "authenticate.h"
14 #include "rcGlobalExtern.h"
15 
16 #define UNKNOWN_SIZE -1
17 
19  {"char", PACK_CHAR_TYPE, sizeof( char )},
20  {"bin", PACK_BIN_TYPE, sizeof( char )},
21  {"str", PACK_STR_TYPE, sizeof( char )},
22  {"piStr", PACK_PI_STR_TYPE, sizeof( char )}, /* str containing pi */
23  {"int", PACK_INT_TYPE, 4},
24  {"double", PACK_DOUBLE_TYPE, 8},
25  {"struct", PACK_STRUCT_TYPE, UNKNOWN_SIZE},
28  {"int16", PACK_INT16_TYPE, 2},
29 };
30 
31 int NumOfPackTypes = ( sizeof( packTypeTable ) / sizeof( packType_t ) );
32 
34  {"HEADER_TYPE_LEN", HEADER_TYPE_LEN},
35  {"NAME_LEN", NAME_LEN},
36  {"CHKSUM_LEN", CHKSUM_LEN},
37  {"LONG_NAME_LEN", LONG_NAME_LEN},
38  {"MAX_NAME_LEN", MAX_NAME_LEN},
39  {"SHORT_STR_LEN", SHORT_STR_LEN},
40  {"TIME_LEN", TIME_LEN},
41  {"DIR_LEN", DIR_LEN},
42  {"ERR_MSG_LEN", ERR_MSG_LEN},
43  {"MAX_SQL_ATTR", MAX_SQL_ATTR},
44  {"RULE_SET_DEF_LENGTH", RULE_SET_DEF_LENGTH},
45  {"META_STR_LEN", META_STR_LEN},
46  {"CHALLENGE_LEN", CHALLENGE_LEN},
47  {"RESPONSE_LEN", RESPONSE_LEN},
48  {"MAX_PASSWORD_LEN", MAX_PASSWORD_LEN},
49  /* HDF5 constant */
50  {"MAX_ERROR_SIZE", 80},
51  {"OBJID_DIM", 2},
52  {"H5S_MAX_RANK", 32},
53  {"H5DATASPACE_MAX_RANK", 32},
54  {"HUGE_NAME_LEN", HUGE_NAME_LEN},
55  {"MAX_NUM_CONFIG_TRAN_THR", MAX_NUM_CONFIG_TRAN_THR},
56  /* end of HDF5 */
57  {PACK_TABLE_END_PI, 0},
58 };
59 
60 
62  {"STR_PI", STR_PI, NULL},
63  {"IRODS_STR_PI", IRODS_STR_PI, NULL},
64  {"STR_PTR_PI", STR_PTR_PI, NULL},
65  {"INT_PI", INT_PI, NULL},
66  {"CHAR_PI", CHAR_PI, NULL},
67  {"DOUBLE_PI", DOUBLE_PI, NULL},
68  {"FLOAT_PI", INT_PI, NULL}, /* pack as if it is INT_PI */
69  {"BOOL_PI", INT_PI, NULL}, /* pack as if it is INT_PI */
70  {"BUF_LEN_PI", BUF_LEN_PI, NULL},
71  {"INT16_PI", INT16_PI, NULL},
72  {"MsgHeader_PI", MsgHeader_PI, NULL},
73  {"StartupPack_PI", StartupPack_PI, NULL},
74  {"Version_PI", Version_PI, NULL},
75  {"RErrMsg_PI", RErrMsg_PI, NULL},
76  {"RError_PI", RError_PI, NULL},
77  {"RHostAddr_PI", RHostAddr_PI, NULL},
78  {"RODS_STAT_T_PI", RODS_STAT_T_PI, NULL},
79  {"RODS_DIRENT_T_PI", RODS_DIRENT_T_PI, NULL},
80  {"KeyValPair_PI", KeyValPair_PI, NULL},
81  {"InxIvalPair_PI", InxIvalPair_PI, NULL},
82  {"InxValPair_PI", InxValPair_PI, NULL},
83  {"PortList_PI", PortList_PI, NULL},
84  {"PortalOprOut_PI", PortalOprOut_PI, NULL},
85  {"PortList_PI", PortList_PI, NULL},
86  {"DataOprInp_PI", DataOprInp_PI, NULL},
87  {"GenQueryInp_PI", GenQueryInp_PI, NULL},
88  {"SqlResult_PI", SqlResult_PI, NULL},
89  {"GenQueryOut_PI", GenQueryOut_PI, NULL},
90  {"DataObjInfo_PI", DataObjInfo_PI, NULL},
91  {"TransStat_PI", TransStat_PI, NULL},
92  {"TransferStat_PI", TransferStat_PI, NULL},
93  {"AuthInfo_PI", AuthInfo_PI, NULL},
94  {"UserOtherInfo_PI", UserOtherInfo_PI, NULL},
95  {"UserInfo_PI", UserInfo_PI, NULL},
96  {"CollInfo_PI", CollInfo_PI, NULL},
97  {"Rei_PI", Rei_PI, NULL},
98  {"ReArg_PI", ReArg_PI, NULL},
99  {"ReiAndArg_PI", ReiAndArg_PI, NULL},
100  {"BytesBuf_PI", BytesBuf_PI, NULL},
101  {"charDataArray_PI", charDataArray_PI, NULL},
102  {"strDataArray_PI", strDataArray_PI, NULL},
103  {"intDataArray_PI", intDataArray_PI, NULL},
104  {"int16DataArray_PI", int16DataArray_PI, NULL},
105  {"int64DataArray_PI", int64DataArray_PI, NULL},
106  {"BinBytesBuf_PI", BinBytesBuf_PI, NULL},
107  {"MsParam_PI", MsParam_PI, NULL},
108  {"MsParamArray_PI", MsParamArray_PI, NULL},
109  {"TagStruct_PI", TagStruct_PI, NULL},
110  {"RodsObjStat_PI", RodsObjStat_PI, NULL},
111  {"ReconnMsg_PI", ReconnMsg_PI, NULL},
112  {"VaultPathPolicy_PI", VaultPathPolicy_PI, NULL},
113  {"IntArray_PI", IntArray_PI, NULL},
114  {"SpecColl_PI", SpecColl_PI, NULL},
115  {"SubFile_PI", SubFile_PI, NULL},
116  {"XmsgTicketInfo_PI", XmsgTicketInfo_PI, NULL},
117  {"SendXmsgInfo_PI", SendXmsgInfo_PI, NULL},
118  {"RcvXmsgInp_PI", RcvXmsgInp_PI, NULL},
119  {"RcvXmsgOut_PI", RcvXmsgOut_PI, NULL},
120  /* HDF5 PI */
121  {"h5File_PI", h5File_PI, NULL},
122  {"h5error_PI", h5error_PI, NULL},
123  {"h5Group_PI", h5Group_PI, NULL},
124  {"h5Attribute_PI", h5Attribute_PI, NULL},
125  {"h5Dataset_PI", h5Dataset_PI, NULL},
126  {"h5Datatype_PI", h5Datatype_PI, NULL},
127  {"h5Dataspace_PI", h5Dataspace_PI, NULL},
128  /* end of HDF5 */
129  {"CollEnt_PI", CollEnt_PI, NULL},
130  {"CollOprStat_PI", CollOprStat_PI, NULL},
131  {"RuleStruct_PI", RuleStruct_PI, NULL},
132  {"DVMapStruct_PI", DVMapStruct_PI, NULL},
133  {"FNMapStruct_PI", FNMapStruct_PI, NULL},
134  {"MsrvcStruct_PI", MsrvcStruct_PI, NULL},
135  {"DataSeg_PI", DataSeg_PI, NULL},
136  {"FileRestartInfo_PI", FileRestartInfo_PI, NULL},
137  {"CS_NEG_PI", CS_NEG_PI, NULL},
138  {"StrArray_PI", StrArray_PI, NULL},
139  {PACK_TABLE_END_PI, ( char * ) NULL, NULL},
140 };
141 
142 #endif // RODS_PACK_TABLE_H__
NULL
#define NULL
Definition: rodsDef.h:70
StartupPack_PI
#define StartupPack_PI
Definition: rodsPackInstruct.h:26
ReiAndArg_PI
#define ReiAndArg_PI
Definition: rodsPackInstruct.h:89
rodsPackInstruct.h
h5Attribute_PI
#define h5Attribute_PI
Definition: rodsPackInstruct.h:131
PortalOprOut_PI
#define PortalOprOut_PI
Definition: rodsPackInstruct.h:62
MsParamArray_PI
#define MsParamArray_PI
Definition: rodsPackInstruct.h:104
DataOprInp_PI
#define DataOprInp_PI
Definition: rodsPackInstruct.h:64
h5error_PI
#define h5error_PI
Definition: rodsPackInstruct.h:125
int64DataArray_PI
#define int64DataArray_PI
Definition: rodsPackInstruct.h:98
Rei_PI
#define Rei_PI
Definition: rodsPackInstruct.h:86
packInstruct_t
Definition: packStruct.h:31
HEADER_TYPE_LEN
#define HEADER_TYPE_LEN
Definition: rodsDef.h:53
HUGE_NAME_LEN
#define HUGE_NAME_LEN
Definition: rodsDef.h:62
authenticate.h
h5Dataset_PI
#define h5Dataset_PI
Definition: rodsPackInstruct.h:129
FNMapStruct_PI
#define FNMapStruct_PI
Definition: rodsPackInstruct.h:141
CollOprStat_PI
#define CollOprStat_PI
Definition: rodsPackInstruct.h:137
RODS_DIRENT_T_PI
#define RODS_DIRENT_T_PI
Definition: rodsPackInstruct.h:44
PortList_PI
#define PortList_PI
Definition: rodsPackInstruct.h:60
BinBytesBuf_PI
#define BinBytesBuf_PI
Definition: rodsPackInstruct.h:100
RodsPackTable
const packInstruct_t RodsPackTable[]
Definition: rodsPackTable.h:61
SqlResult_PI
#define SqlResult_PI
Definition: rodsPackInstruct.h:69
reDefines.h
strDataArray_PI
#define strDataArray_PI
Definition: rodsPackInstruct.h:95
TransStat_PI
#define TransStat_PI
Definition: rodsPackInstruct.h:77
LONG_NAME_LEN
#define LONG_NAME_LEN
Definition: rodsDef.h:57
DOUBLE_PI
#define DOUBLE_PI
Definition: rodsPackInstruct.h:20
h5Datatype_PI
#define h5Datatype_PI
Definition: rodsPackInstruct.h:132
h5Group_PI
#define h5Group_PI
Definition: rodsPackInstruct.h:127
RHostAddr_PI
#define RHostAddr_PI
Definition: rodsPackInstruct.h:40
InxValPair_PI
#define InxValPair_PI
Definition: rodsPackInstruct.h:54
MAX_NUM_CONFIG_TRAN_THR
#define MAX_NUM_CONFIG_TRAN_THR
Definition: rodsDef.h:96
rcGlobalExtern.h
MAX_PASSWORD_LEN
#define MAX_PASSWORD_LEN
Definition: authenticate.h:9
intDataArray_PI
#define intDataArray_PI
Definition: rodsPackInstruct.h:96
RError_PI
#define RError_PI
Definition: rodsPackInstruct.h:38
DIR_LEN
#define DIR_LEN
Definition: rodsType.h:68
UNKNOWN_SIZE
#define UNKNOWN_SIZE
Definition: rodsPackTable.h:16
packType_t
Definition: packStruct.h:62
DVMapStruct_PI
#define DVMapStruct_PI
Definition: rodsPackInstruct.h:140
SpecColl_PI
#define SpecColl_PI
Definition: rodsPackInstruct.h:115
PackConstantTable
packConstant_t PackConstantTable[]
Definition: rodsPackTable.h:33
MsParam_PI
#define MsParam_PI
Definition: rodsPackInstruct.h:102
META_STR_LEN
#define META_STR_LEN
Definition: rodsDef.h:65
RodsObjStat_PI
#define RodsObjStat_PI
Definition: rodsPackInstruct.h:108
INT_PI
#define INT_PI
Definition: rodsPackInstruct.h:17
TIME_LEN
#define TIME_LEN
Definition: rodsDef.h:54
FileRestartInfo_PI
#define FileRestartInfo_PI
Definition: rodsPackInstruct.h:144
BUF_LEN_PI
#define BUF_LEN_PI
Definition: rodsPackInstruct.h:19
AuthInfo_PI
#define AuthInfo_PI
Definition: rodsPackInstruct.h:80
PACK_CHAR_TYPE
@ PACK_CHAR_TYPE
Definition: packStruct.h:44
GenQueryInp_PI
#define GenQueryInp_PI
Definition: rodsPackInstruct.h:68
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
MsrvcStruct_PI
#define MsrvcStruct_PI
Definition: rodsPackInstruct.h:142
TagStruct_PI
#define TagStruct_PI
Definition: rodsPackInstruct.h:106
MAX_SQL_ATTR
#define MAX_SQL_ATTR
Definition: rodsGenQuery.h:15
PACK_STR_TYPE
@ PACK_STR_TYPE
Definition: packStruct.h:46
CHAR_PI
#define CHAR_PI
Definition: rodsPackInstruct.h:14
PACK_INT_TYPE
@ PACK_INT_TYPE
Definition: packStruct.h:48
CollInfo_PI
#define CollInfo_PI
Definition: rodsPackInstruct.h:84
Version_PI
#define Version_PI
Definition: rodsPackInstruct.h:30
packStruct.h
UserInfo_PI
#define UserInfo_PI
Definition: rodsPackInstruct.h:83
PACK_INT_DEPENDENT_TYPE
@ PACK_INT_DEPENDENT_TYPE
Definition: packStruct.h:52
XmsgTicketInfo_PI
#define XmsgTicketInfo_PI
Definition: rodsPackInstruct.h:118
RULE_SET_DEF_LENGTH
#define RULE_SET_DEF_LENGTH
Definition: reDefines.h:26
RcvXmsgOut_PI
#define RcvXmsgOut_PI
Definition: rodsPackInstruct.h:123
BytesBuf_PI
#define BytesBuf_PI
Definition: rodsPackInstruct.h:91
PACK_DOUBLE_TYPE
@ PACK_DOUBLE_TYPE
Definition: packStruct.h:49
ReconnMsg_PI
#define ReconnMsg_PI
Definition: rodsPackInstruct.h:110
CollEnt_PI
#define CollEnt_PI
Definition: rodsPackInstruct.h:136
CHKSUM_LEN
#define CHKSUM_LEN
Definition: rodsDef.h:56
IRODS_STR_PI
#define IRODS_STR_PI
Definition: rodsPackInstruct.h:12
IntArray_PI
#define IntArray_PI
Definition: rodsPackInstruct.h:113
int16DataArray_PI
#define int16DataArray_PI
Definition: rodsPackInstruct.h:97
TransferStat_PI
#define TransferStat_PI
Definition: rodsPackInstruct.h:78
RODS_STAT_T_PI
#define RODS_STAT_T_PI
Definition: rodsPackInstruct.h:42
CS_NEG_PI
#define CS_NEG_PI
Definition: rodsPackInstruct.h:50
GenQueryOut_PI
#define GenQueryOut_PI
Definition: rodsPackInstruct.h:71
STR_PTR_PI
#define STR_PTR_PI
Definition: rodsPackInstruct.h:15
charDataArray_PI
#define charDataArray_PI
Definition: rodsPackInstruct.h:94
NumOfPackTypes
int NumOfPackTypes
Definition: rodsPackTable.h:31
h5Dataspace_PI
#define h5Dataspace_PI
Definition: rodsPackInstruct.h:133
UserOtherInfo_PI
#define UserOtherInfo_PI
Definition: rodsPackInstruct.h:81
STR_PI
#define STR_PI
Definition: rodsPackInstruct.h:13
RESPONSE_LEN
#define RESPONSE_LEN
Definition: authenticate.h:11
RErrMsg_PI
#define RErrMsg_PI
Definition: rodsPackInstruct.h:34
PACK_PI_STR_TYPE
@ PACK_PI_STR_TYPE
Definition: packStruct.h:47
packConstant_t
Definition: packStruct.h:37
packTypeTable
packType_t packTypeTable[]
Definition: rodsPackTable.h:18
DataSeg_PI
#define DataSeg_PI
Definition: rodsPackInstruct.h:143
PACK_TABLE_END_PI
#define PACK_TABLE_END_PI
Definition: packStruct.h:27
INT16_PI
#define INT16_PI
Definition: rodsPackInstruct.h:18
PACK_INT16_TYPE
@ PACK_INT16_TYPE
Definition: packStruct.h:53
MsgHeader_PI
#define MsgHeader_PI
Definition: rodsPackInstruct.h:23
KeyValPair_PI
#define KeyValPair_PI
Definition: rodsPackInstruct.h:46
SubFile_PI
#define SubFile_PI
Definition: rodsPackInstruct.h:117
SHORT_STR_LEN
#define SHORT_STR_LEN
Definition: rodsDef.h:67
ReArg_PI
#define ReArg_PI
Definition: rodsPackInstruct.h:88
PACK_DEPENDENT_TYPE
@ PACK_DEPENDENT_TYPE
Definition: packStruct.h:51
RcvXmsgInp_PI
#define RcvXmsgInp_PI
Definition: rodsPackInstruct.h:122
CHALLENGE_LEN
#define CHALLENGE_LEN
Definition: authenticate.h:10
SendXmsgInfo_PI
#define SendXmsgInfo_PI
Definition: rodsPackInstruct.h:119
PACK_STRUCT_TYPE
@ PACK_STRUCT_TYPE
Definition: packStruct.h:50
InxIvalPair_PI
#define InxIvalPair_PI
Definition: rodsPackInstruct.h:52
StrArray_PI
#define StrArray_PI
Definition: rodsPackInstruct.h:112
NAME_LEN
#define NAME_LEN
Definition: rodsDef.h:55
PACK_BIN_TYPE
@ PACK_BIN_TYPE
Definition: packStruct.h:45
RuleStruct_PI
#define RuleStruct_PI
Definition: rodsPackInstruct.h:139
VaultPathPolicy_PI
#define VaultPathPolicy_PI
Definition: rodsPackInstruct.h:111
rods.h
DataObjInfo_PI
#define DataObjInfo_PI
Definition: rodsPackInstruct.h:73
ERR_MSG_LEN
#define ERR_MSG_LEN
Definition: rodsError.h:16
h5File_PI
#define h5File_PI
Definition: rodsPackInstruct.h:126