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)  

packStruct.h
Go to the documentation of this file.
1 
3 /* packStruct.h - header file for packStruct.c
4  */
5 
6 #ifndef PACK_STRUCT_H__
7 #define PACK_STRUCT_H__
8 
9 // =-=-=-=-=-=-=-
10 // boost includes
11 #include "rodsDef.h"
12 
13 #define MAX_PI_LEN 1024 /* max pack instruct length */
14 #define SEMI_COL_FLAG 0x2 /* got semi colon at end */
15 #define PACKED_OUT_ALLOC_SZ (16*1024) /* initial alloc size for packedOutput */
16 #define SUB_STRUCT_ALLOC_SZ 1024 /* initial alloc size for unpacking sub
17 struct */
18 #define MAX_PACKED_OUT_ALLOC_SZ (1024*1024)
19 #define NULL_PTR_PACK_STR "%@#ANULLSTR$%"
20 
21 /* definition for the flag in packXmlTag() */
22 #define START_TAG_FL 0
23 #define END_TAG_FL 1
24 #define LF_FL 2 /* line feed */
25 
26 /* indicate the end of packing table */
27 
28 #define PACK_TABLE_END_PI "PACK_TABLE_END_PI"
29 
30 #define XML_TAG "iRODSStruct"
31 
32 typedef struct {
33  const char *name;
34  const char *packInstruct;
35  void( *clearInStruct )( void* );
37 
38 typedef struct {
39  char *name;
40  int value;
42 
43 /* packType */
44 typedef enum {
56 
57 /* for the packOpr input in resolvePackedItem() */
58 typedef enum {
59  PACK_OPR,
61 } packOpr_t;
62 
63 typedef struct {
64  char *name; /* the Name of the type */
65  packTypeInx_t number; /* the type number */
66  int size; /* size in bytes of this type */
67 } packType_t;
68 
69 #define MAX_PACK_DIM 20
70 
71 /* definition for pointerType */
72 #define NON_POINTER 0
73 #define A_POINTER 1
74 #define NO_FREE_POINTER 2
75 #define NO_PACK_POINTER 3
76 
77 /* definition for packFlag */
78 #define FREE_POINTER 0x1 /* free the pointer after packing */
79 
80 typedef struct packItem {
82  char *name;
83  int pointerType; /* see definition */
84  const void *pointer; /* the value of a pointer */
85  int intValue; /* for int type only */
86  char strValue[NAME_LEN]; /* for str type only */
87  int dim; /* the dimension if it is an array */
88  int dimSize[MAX_PACK_DIM]; /* the size of each dimension */
89  int hintDim; /* the Hint dimension */
90  int hintDimSize[MAX_PACK_DIM]; /* the size of each Hint dimension */
91  const struct packItem *parent;
92  struct packItem *prev;
93  struct packItem *next;
94 } packItem_t;
95 
96 typedef struct {
97  int numBuf;
98  bytesBuf_t *bBufArray; /* pointer to an array of bytesBuf_t */
100 
101 typedef struct {
103  int bufSize;
104  bytesBufArray_t nopackBufArray; /* bBuf for non packed buffer */
106 
107 #ifdef __cplusplus
108 extern "C" {
109 #endif
110 
111 int
112 packStruct( const void *inStruct, bytesBuf_t **packedResult, const char *packInstName,
113  const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt );
114 
115 int
116 unpackStruct( const void *inPackStr, void **outStruct, const char *packInstName,
117  const packInstruct_t *myPackTable, irodsProt_t irodsProt );
118 int
119 parsePackInstruct( const char *packInstruct, packItem_t &packItemHead );
120 int
121 copyStrFromPiBuf( const char *&inBuf, char *outBuf, int dependentFlag );
122 int
123 packTypeLookup( const char *typeName );
124 
126 initPackedOutput( const int len );
128 initPackedOutputWithBuf( void *buf, const int len );
129 int
130 resolvePackedItem( packItem_t &myPackedItem, const void *&inPtr,
131  packOpr_t packOpr );
132 int
133 resolveIntDepItem( packItem_t &myPackedItem );
134 int
135 resolveIntInItem( const char *name, const packItem_t &myPackedItem );
136 const char *
137 matchPackInstruct( const char *name, const packInstruct_t *myPackTable );
138 int
139 resolveDepInArray( packItem_t &myPackedItem );
140 int
141 getNumElement( const packItem_t &myPackedItem );
142 int
143 getNumHintElement( const packItem_t &myPackedItem );
144 int
145 extendPackedOutput( packedOutput_t &packedOutput, int extLen, void *&outPtr );
146 int
147 packItem( packItem_t &myPackedItem, const void *&inPtr,
148  packedOutput_t &packedOutput, const packInstruct_t *myPackTable,
149  int packFlag, irodsProt_t irodsProt );
150 int
151 packPointerItem( packItem_t &myPackedItem, packedOutput_t &packedOutput,
152  const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt );
153 int
154 packNonpointerItem( packItem_t &myPackedItem, const void *&inPtr,
155  packedOutput_t &packedOutput, const packInstruct_t *myPackTable,
156  int packFlag, irodsProt_t irodsProt );
157 int
158 packChar( const void *&inPtr, packedOutput_t &packedOutput, int len,
159  const char* name, const packTypeInx_t typeInx, irodsProt_t irodsProt );
160 int
161 packString( const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen,
162  const char *name, irodsProt_t irodsProt );
163 int
164 packNatString( const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen );
165 int
166 packXmlString( const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen,
167  const char *name );
168 int
169 strToXmlStr( const char *inStr, char *&outXmlStr );
170 int
171 xmlStrToStr( const char *inStr, int myLen, char*& outStr );
172 int
173 packInt( const void *&inPtr, packedOutput_t &packedOutput, int numElement,
174  const char *name, irodsProt_t irodsProt );
175 int
176 packInt16( const void *&inPtr, packedOutput_t &packedOutput, int numElement,
177  const char *name, irodsProt_t irodsProt );
178 int
179 packDouble( const void *&inPtr, packedOutput_t &packedOutput, int numElement,
180  const char *name, irodsProt_t irodsProt );
181 int
182 packChildStruct( const void *&inPtr, packedOutput_t &packedOutput,
183  const packItem_t &myPackedItem, const packInstruct_t *myPackTable, int numElement,
184  int packFlag, irodsProt_t irodsProt, const char *packInstruct );
185 int
186 freePackedItem( packItem_t &packItemHead );
187 int
188 unpackItem( packItem_t &myPackedItem, const void *&inPtr,
189  packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable,
190  irodsProt_t irodsProt );
191 int
192 unpackNonpointerItem( packItem_t &myPackedItem, const void *&inPtr,
193  packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable,
194  irodsProt_t irodsProt );
195 int
196 unpackChar( const void *&inPtr, packedOutput_t &packedOutput, int len,
197  const char* name, const packTypeInx_t typeInx, irodsProt_t irodsProt );
198 int
199 unpackCharToOutPtr( const void *&inPtr, void *&outPtr, int len,
200  const char* name, const packTypeInx_t typeInx, irodsProt_t irodsProt );
201 int
202 unpackNatCharToOutPtr( const void *&inPtr, void *&outPtr, int len );
203 int
204 unpackXmlCharToOutPtr( const void *&inPtr, void *&outPtr, int len,
205  const char* name, const packTypeInx_t typeInx );
206 int
207 unpackString( const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen,
208  const char *name, irodsProt_t irodsProt, char *&outStr );
209 int
210 unpackNatString( const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen,
211  char *&outStr );
212 int
213 unpackXmlString( const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen,
214  const char *name, char *&outStr );
215 int
216 unpackInt( const void *&inPtr, packedOutput_t &packedOutput, int numElement,
217  const char *name, irodsProt_t irodsProt );
218 int
219 unpackIntToOutPtr( const void *&inPtr, void *&outPtr, int numElement,
220  const char *name, irodsProt_t irodsProt );
221 int
222 unpackXmlIntToOutPtr( const void *&inPtr, void *&outPtr, int numElement,
223  const char *name );
224 int
225 unpackNatIntToOutPtr( const void *&inPtr, void *&outPtr, int numElement );
226 int
227 unpackInt16( const void *&inPtr, packedOutput_t &unpackedOutput, int numElement,
228  const char *name, irodsProt_t irodsProt );
229 int
230 unpackInt16ToOutPtr( const void *&inPtr, void *&outPtr, int numElement,
231  const char *name, irodsProt_t irodsProt );
232 int
233 unpackNatInt16ToOutPtr( const void *&inPtr, void *&outPtr, int numElement );
234 int
235 unpackXmlInt16ToOutPtr( const void *&inPtr, void *&outPtr, int numElement,
236  const char *name );
237 int
238 unpackXmlDoubleToOutPtr( const void *&inPtr, void *&outPtr, int numElement,
239  const char *name );
240 int
241 unpackDouble( const void *&inPtr, packedOutput_t &unpackedOutput, int numElement,
242  const char *name, irodsProt_t irodsProt );
243 int
244 unpackDoubleToOutPtr( const void *&inPtr, void *&outPtr, int numElement,
245  const char *name, irodsProt_t irodsProt );
246 int
247 unpackNatDoubleToOutPtr( const void *&inPtr, void *&outPtr, int numElement );
248 int
249 unpackChildStruct( const void *&inPtr, packedOutput_t &unpackedOutput,
250  const packItem_t &myPackedItem, const packInstruct_t *myPackTable, int numElement,
251  irodsProt_t irodsProt, const char *packInstructInp );
252 int
253 unpackPointerItem( packItem_t &myPackedItem, const void *&inPtr,
254  packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable,
255  irodsProt_t irodsProt );
256 void *
257 addPointerToPackedOut( packedOutput_t &packedOutput, int len, void *pointer );
258 int
259 unpackStringToOutPtr( const void *&inPtr, void *&outPtr, int maxStrLen,
260  const char *name, irodsProt_t irodsProt );
261 int
262 unpackNatStringToOutPtr( const void *&inPtr, void *&outPtr, int maxStrLen );
263 int
264 unpackXmlStringToOutPtr( const void *&inPtr, void *&outPtr, int maxStrLen,
265  const char *name );
266 int
267 iparseDependent( packItem_t &myPackedItem );
268 int
269 resolveStrInItem( packItem_t &myPackedItem );
270 int
271 packNullString( packedOutput_t &packedOutput );
272 int
273 unpackNullString( const void *&inPtr, packedOutput_t &unpackedOutput,
274  const packItem_t &myPackedItem, irodsProt_t irodsProt );
275 int
276 getNumStrAndStrLen( const packItem_t &myPackedItem, int &numStr, int &maxStrLen );
277 int
278 getAllocLenForStr( const packItem_t &myPackedItem, const void *inPtr, int numStr,
279  int maxStrLen );
280 int
281 packXmlTag( const char *name, packedOutput_t &packedOutput,
282  int endFlag );
283 int
284 parseXmlValue( const void *&inPtr, const char *name, int &endTagLen );
285 int
286 parseXmlTag( const void *inPtr, const char *name, int flag, int &skipLen );
287 int
288 alignPackedOutput64( packedOutput_t &packedOutput );
289 int
290 packNopackPointer( void *inPtr, packedOutput_t &packedOutput, int len,
291  const char *name, irodsProt_t irodsProt );
292 int
293 ovStrcpy( char *outStr, const char *inStr );
294 #ifdef __cplusplus
295 }
296 #endif
297 #endif // PACK_STRUCT_H__
unpackXmlCharToOutPtr
int unpackXmlCharToOutPtr(const void *&inPtr, void *&outPtr, int len, const char *name, const packTypeInx_t typeInx)
Definition: packStruct.cpp:1842
unpackXmlDoubleToOutPtr
int unpackXmlDoubleToOutPtr(const void *&inPtr, void *&outPtr, int numElement, const char *name)
Definition: packStruct.cpp:2414
packInt16
int packInt16(const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:1477
unpackInt
int unpackInt(const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:2068
copyStrFromPiBuf
int copyStrFromPiBuf(const char *&inBuf, char *outBuf, int dependentFlag)
Definition: packStruct.cpp:277
unpackChildStruct
int unpackChildStruct(const void *&inPtr, packedOutput_t &unpackedOutput, const packItem_t &myPackedItem, const packInstruct_t *myPackTable, int numElement, irodsProt_t irodsProt, const char *packInstructInp)
Definition: packStruct.cpp:2465
packInstruct_t
Definition: packStruct.h:31
packItem::next
struct packItem * next
Definition: packStruct.h:92
packInt
int packInt(const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:1414
packItem::hintDim
int hintDim
Definition: packStruct.h:88
packItem::dimSize
int dimSize[20]
Definition: packStruct.h:87
packItem::hintDimSize
int hintDimSize[20]
Definition: packStruct.h:89
initPackedOutputWithBuf
packedOutput_t initPackedOutputWithBuf(void *buf, const int len)
Definition: packStruct.cpp:359
packItem
Definition: packStruct.h:79
packItem::name
char * name
Definition: packStruct.h:81
getNumHintElement
int getNumHintElement(const packItem_t &myPackedItem)
Definition: packStruct.cpp:1090
packXmlString
int packXmlString(const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen, const char *name)
Definition: packStruct.cpp:1265
parsePackInstruct
int parsePackInstruct(const char *packInstruct, packItem_t &packItemHead)
Definition: packStruct.cpp:91
resolvePackedItem
int resolvePackedItem(packItem_t &myPackedItem, const void *&inPtr, packOpr_t packOpr)
Definition: packStruct.cpp:371
packNopackPointer
int packNopackPointer(void *inPtr, packedOutput_t &packedOutput, int len, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:3124
unpackStruct
int unpackStruct(const void *inPackStr, void **outStruct, const char *packInstName, const packInstruct_t *myPackTable, irodsProt_t irodsProt)
Definition: packStruct.cpp:63
packItem::parent
const struct packItem * parent
Definition: packStruct.h:90
initPackedOutput
packedOutput_t initPackedOutput(const int len)
Definition: packStruct.cpp:347
matchPackInstruct
const char * matchPackInstruct(const char *name, const packInstruct_t *myPackTable)
Definition: packStruct.cpp:659
resolveStrInItem
int resolveStrInItem(packItem_t &myPackedItem)
Definition: packStruct.cpp:625
resolveIntDepItem
int resolveIntDepItem(packItem_t &myPackedItem)
Definition: packStruct.cpp:437
unpackNonpointerItem
int unpackNonpointerItem(packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable, irodsProt_t irodsProt)
Definition: packStruct.cpp:1698
generate_iadmin_commands_for_41_to_42_upgrade.name
name
Definition: generate_iadmin_commands_for_41_to_42_upgrade.py:23
pointer
Definition: parser.hpp:34
xmlStrToStr
int xmlStrToStr(const char *inStr, int myLen, char *&outStr)
Definition: packStruct.cpp:1361
unpackXmlString
int unpackXmlString(const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen, const char *name, char *&outStr)
Definition: packStruct.cpp:1936
unpackNatStringToOutPtr
int unpackNatStringToOutPtr(const void *&inPtr, void *&outPtr, int maxStrLen)
Definition: packStruct.cpp:2837
addPointerToPackedOut
void * addPointerToPackedOut(packedOutput_t &packedOutput, int len, void *pointer)
Definition: packStruct.cpp:2812
unpackStringToOutPtr
int unpackStringToOutPtr(const void *&inPtr, void *&outPtr, int maxStrLen, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:1987
irodsProt_t
irodsProt_t
Definition: rodsDef.h:147
ovStrcpy
int ovStrcpy(char *outStr, const char *inStr)
resolveDepInArray
int resolveDepInArray(packItem_t &myPackedItem)
Definition: packStruct.cpp:692
alignPackedOutput64
int alignPackedOutput64(packedOutput_t &packedOutput)
Definition: packStruct.cpp:3095
packType_t
Definition: packStruct.h:62
parseXmlTag
int parseXmlTag(const void *inPtr, const char *name, int flag, int &skipLen)
Definition: packStruct.cpp:3027
packChar
int packChar(const void *&inPtr, packedOutput_t &packedOutput, int len, const char *name, const packTypeInx_t typeInx, irodsProt_t irodsProt)
Definition: packStruct.cpp:1154
packNatString
int packNatString(const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen)
Definition: packStruct.cpp:1226
MAX_PACK_DIM
#define MAX_PACK_DIM
Definition: packStruct.h:68
unpackInt16ToOutPtr
int unpackInt16ToOutPtr(const void *&inPtr, void *&outPtr, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:2226
parseXmlValue
int parseXmlValue(const void *&inPtr, const char *name, int &endTagLen)
Definition: packStruct.cpp:2988
unpackXmlIntToOutPtr
int unpackXmlIntToOutPtr(const void *&inPtr, void *&outPtr, int numElement, const char *name)
Definition: packStruct.cpp:2149
unpackDoubleToOutPtr
int unpackDoubleToOutPtr(const void *&inPtr, void *&outPtr, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:2354
unpackNatDoubleToOutPtr
int unpackNatDoubleToOutPtr(const void *&inPtr, void *&outPtr, int numElement)
Definition: packStruct.cpp:2369
packTypeLookup
int packTypeLookup(const char *typeName)
Definition: packStruct.cpp:335
rodsDef.h
getNumStrAndStrLen
int getNumStrAndStrLen(const packItem_t &myPackedItem, int &numStr, int &maxStrLen)
Definition: packStruct.cpp:2914
unpackDouble
int unpackDouble(const void *&inPtr, packedOutput_t &unpackedOutput, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:2334
packNullString
int packNullString(packedOutput_t &packedOutput)
Definition: packStruct.cpp:1400
PACK_CHAR_TYPE
@ PACK_CHAR_TYPE
Definition: packStruct.h:44
unpackNatInt16ToOutPtr
int unpackNatInt16ToOutPtr(const void *&inPtr, void *&outPtr, int numElement)
Definition: packStruct.cpp:2240
unpackNatCharToOutPtr
int unpackNatCharToOutPtr(const void *&inPtr, void *&outPtr, int len)
Definition: packStruct.cpp:1833
PACK_STR_TYPE
@ PACK_STR_TYPE
Definition: packStruct.h:46
PACK_INT_TYPE
@ PACK_INT_TYPE
Definition: packStruct.h:48
get_irods_version.value
dictionary value
Definition: get_irods_version.py:27
packItem::pointer
const void * pointer
Definition: packStruct.h:83
packOpr_t
packOpr_t
Definition: packStruct.h:57
strToXmlStr
int strToXmlStr(const char *inStr, char *&outXmlStr)
Definition: packStruct.cpp:1315
PACK_INT_DEPENDENT_TYPE
@ PACK_INT_DEPENDENT_TYPE
Definition: packStruct.h:52
unpackNatString
int unpackNatString(const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen, char *&outStr)
Definition: packStruct.cpp:1896
packItem
int packItem(packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &packedOutput, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt)
Definition: packStruct.cpp:1132
PACK_DOUBLE_TYPE
@ PACK_DOUBLE_TYPE
Definition: packStruct.h:49
packNonpointerItem
int packNonpointerItem(packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &packedOutput, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt)
Definition: packStruct.cpp:747
BytesBuf
Definition: rodsDef.h:197
unpackItem
int unpackItem(packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable, irodsProt_t irodsProt)
Definition: packStruct.cpp:1675
packTypeInx_t
packTypeInx_t
Definition: packStruct.h:43
unpackPointerItem
int unpackPointerItem(packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable, irodsProt_t irodsProt)
Definition: packStruct.cpp:2566
unpackNullString
int unpackNullString(const void *&inPtr, packedOutput_t &unpackedOutput, const packItem_t &myPackedItem, irodsProt_t irodsProt)
Definition: packStruct.cpp:2007
getAllocLenForStr
int getAllocLenForStr(const packItem_t &myPackedItem, const void *inPtr, int numStr, int maxStrLen)
Definition: packStruct.cpp:2940
unpackNatIntToOutPtr
int unpackNatIntToOutPtr(const void *&inPtr, void *&outPtr, int numElement)
Definition: packStruct.cpp:2105
packChildStruct
int packChildStruct(const void *&inPtr, packedOutput_t &packedOutput, const packItem_t &myPackedItem, const packInstruct_t *myPackTable, int numElement, int packFlag, irodsProt_t irodsProt, const char *packInstruct)
Definition: packStruct.cpp:1595
packDouble
int packDouble(const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:1541
unpackCharToOutPtr
int unpackCharToOutPtr(const void *&inPtr, void *&outPtr, int len, const char *name, const packTypeInx_t typeInx, irodsProt_t irodsProt)
Definition: packStruct.cpp:1819
unpackString
int unpackString(const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen, const char *name, irodsProt_t irodsProt, char *&outStr)
Definition: packStruct.cpp:1881
packItem_t
struct packItem packItem_t
PACK_PI_STR_TYPE
@ PACK_PI_STR_TYPE
Definition: packStruct.h:47
unpackInt16
int unpackInt16(const void *&inPtr, packedOutput_t &unpackedOutput, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:2199
freePackedItem
int freePackedItem(packItem_t &packItemHead)
Definition: packStruct.cpp:1661
unpackIntToOutPtr
int unpackIntToOutPtr(const void *&inPtr, void *&outPtr, int numElement, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:2091
packItem::dim
int dim
Definition: packStruct.h:86
packConstant_t
Definition: packStruct.h:37
packItem::prev
struct packItem * prev
Definition: packStruct.h:91
packStruct
int packStruct(const void *inStruct, bytesBuf_t **packedResult, const char *packInstName, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt)
Definition: packStruct.cpp:21
packXmlTag
int packXmlTag(const char *name, packedOutput_t &packedOutput, int endFlag)
Definition: packStruct.cpp:2960
packedOutput_t
Definition: packStruct.h:100
iparseDependent
int iparseDependent(packItem_t &myPackedItem)
Definition: packStruct.cpp:421
unpackXmlStringToOutPtr
int unpackXmlStringToOutPtr(const void *&inPtr, void *&outPtr, int maxStrLen, const char *name)
Definition: packStruct.cpp:2867
PACK_INT16_TYPE
@ PACK_INT16_TYPE
Definition: packStruct.h:53
packString
int packString(const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen, const char *name, irodsProt_t irodsProt)
Definition: packStruct.cpp:1211
PACK_OPR
@ PACK_OPR
Definition: packStruct.h:58
packItem::strValue
char strValue[64]
Definition: packStruct.h:85
bytesBufArray_t
Definition: packStruct.h:95
PACK_DEPENDENT_TYPE
@ PACK_DEPENDENT_TYPE
Definition: packStruct.h:51
size
long long size
Definition: filesystem.cpp:102
packItem::typeInx
packTypeInx_t typeInx
Definition: packStruct.h:80
packPointerItem
int packPointerItem(packItem_t &myPackedItem, packedOutput_t &packedOutput, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt)
Definition: packStruct.cpp:870
PACK_STRUCT_TYPE
@ PACK_STRUCT_TYPE
Definition: packStruct.h:50
resolveIntInItem
int resolveIntInItem(const char *name, const packItem_t &myPackedItem)
Definition: packStruct.cpp:586
NAME_LEN
#define NAME_LEN
Definition: rodsDef.h:55
PACK_BIN_TYPE
@ PACK_BIN_TYPE
Definition: packStruct.h:45
packItem::intValue
int intValue
Definition: packStruct.h:84
getNumElement
int getNumElement(const packItem_t &myPackedItem)
Definition: packStruct.cpp:1081
packItem::pointerType
int pointerType
Definition: packStruct.h:82
extendPackedOutput
int extendPackedOutput(packedOutput_t &packedOutput, int extLen, void *&outPtr)
Definition: packStruct.cpp:1099
buf
static char buf[64+50+1]
Definition: rsAuthRequest.cpp:21
paramIn
Definition: ruleAdmin.cpp:32
unpackChar
int unpackChar(const void *&inPtr, packedOutput_t &packedOutput, int len, const char *name, const packTypeInx_t typeInx, irodsProt_t irodsProt)
Definition: packStruct.cpp:1795
unpackXmlInt16ToOutPtr
int unpackXmlInt16ToOutPtr(const void *&inPtr, void *&outPtr, int numElement, const char *name)
Definition: packStruct.cpp:2284
UNPACK_OPR
@ UNPACK_OPR
Definition: packStruct.h:59