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.
![]() ![]() |
#include "packStruct.h"
#include "alignPointer.hpp"
#include "rodsLog.h"
#include "rcGlobalExtern.h"
#include "base64.h"
#include "rcMisc.h"
#include "irods_pack_table.hpp"
#include <iostream>
#include <sstream>
#include <string>
Go to the source code of this file.
Functions | |
int | packStruct (const void *inStruct, bytesBuf_t **packedResult, const char *packInstName, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt) |
int | unpackStruct (const void *inPackedStr, void **outStruct, const char *packInstName, const packInstruct_t *myPackTable, irodsProt_t irodsProt) |
int | parsePackInstruct (const char *packInstruct, packItem_t &packItemHead) |
int | copyStrFromPiBuf (const char *&inBuf, char *outBuf, int dependentFlag) |
int | packTypeLookup (const char *typeName) |
packedOutput_t | initPackedOutput (const int len) |
packedOutput_t | initPackedOutputWithBuf (void *buf, const int len) |
int | resolvePackedItem (packItem_t &myPackedItem, const void *&inPtr, packOpr_t packOpr) |
int | iparseDependent (packItem_t &myPackedItem) |
int | resolveIntDepItem (packItem_t &myPackedItem) |
int | resolveIntInItem (const char *name, const packItem_t &myPackedItem) |
int | resolveStrInItem (packItem_t &myPackedItem) |
const char * | matchPackInstruct (const char *name, const packInstruct_t *myPackTable) |
int | resolveDepInArray (packItem_t &myPackedItem) |
int | packNonpointerItem (packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &packedOutput, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt) |
int | packPointerItem (packItem_t &myPackedItem, packedOutput_t &packedOutput, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt) |
int | getNumElement (const packItem_t &myPackedItem) |
int | getNumHintElement (const packItem_t &myPackedItem) |
int | extendPackedOutput (packedOutput_t &packedOutput, int extLen, void *&outPtr) |
int | packItem (packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &packedOutput, const packInstruct_t *myPackTable, int packFlag, irodsProt_t irodsProt) |
int | packChar (const void *&inPtr, packedOutput_t &packedOutput, int len, const char *name, const packTypeInx_t typeInx, irodsProt_t irodsProt) |
int | packString (const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen, const char *name, irodsProt_t irodsProt) |
int | packNatString (const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen) |
int | packXmlString (const void *&inPtr, packedOutput_t &packedOutput, int maxStrLen, const char *name) |
int | strToXmlStr (const char *inStr, char *&outXmlStr) |
int | xmlStrToStr (const char *inStr, int len, char *&outStr) |
int | packNullString (packedOutput_t &packedOutput) |
int | packInt (const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt) |
int | packInt16 (const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt) |
int | packDouble (const void *&inPtr, packedOutput_t &packedOutput, int numElement, const char *name, irodsProt_t irodsProt) |
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 *packInstructInp) |
int | freePackedItem (packItem_t &packItemHead) |
int | unpackItem (packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable, irodsProt_t irodsProt) |
int | unpackNonpointerItem (packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable, irodsProt_t irodsProt) |
int | unpackChar (const void *&inPtr, packedOutput_t &unpackedOutput, int len, const char *name, const packTypeInx_t typeInx, irodsProt_t irodsProt) |
int | unpackCharToOutPtr (const void *&inPtr, void *&outPtr, int len, const char *name, const packTypeInx_t typeInx, irodsProt_t irodsProt) |
int | unpackNatCharToOutPtr (const void *&inPtr, void *&outPtr, int len) |
int | unpackXmlCharToOutPtr (const void *&inPtr, void *&outPtr, int len, const char *name, const packTypeInx_t typeInx) |
int | unpackString (const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen, const char *name, irodsProt_t irodsProt, char *&outStr) |
int | unpackNatString (const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen, char *&outStr) |
int | unpackXmlString (const void *&inPtr, packedOutput_t &unpackedOutput, int maxStrLen, const char *name, char *&outStr) |
int | unpackStringToOutPtr (const void *&inPtr, void *&outPtr, int maxStrLen, const char *name, irodsProt_t irodsProt) |
int | unpackNullString (const void *&inPtr, packedOutput_t &unpackedOutput, const packItem_t &myPackedItem, irodsProt_t irodsProt) |
int | unpackInt (const void *&inPtr, packedOutput_t &unpackedOutput, int numElement, const char *name, irodsProt_t irodsProt) |
int | unpackIntToOutPtr (const void *&inPtr, void *&outPtr, int numElement, const char *name, irodsProt_t irodsProt) |
int | unpackNatIntToOutPtr (const void *&inPtr, void *&outPtr, int numElement) |
int | unpackXmlIntToOutPtr (const void *&inPtr, void *&outPtr, int numElement, const char *name) |
int | unpackInt16 (const void *&inPtr, packedOutput_t &unpackedOutput, int numElement, const char *name, irodsProt_t irodsProt) |
int | unpackInt16ToOutPtr (const void *&inPtr, void *&outPtr, int numElement, const char *name, irodsProt_t irodsProt) |
int | unpackNatInt16ToOutPtr (const void *&inPtr, void *&outPtr, int numElement) |
int | unpackXmlInt16ToOutPtr (const void *&inPtr, void *&outPtr, int numElement, const char *name) |
int | unpackDouble (const void *&inPtr, packedOutput_t &unpackedOutput, int numElement, const char *name, irodsProt_t irodsProt) |
int | unpackDoubleToOutPtr (const void *&inPtr, void *&outPtr, int numElement, const char *name, irodsProt_t irodsProt) |
int | unpackNatDoubleToOutPtr (const void *&inPtr, void *&outPtr, int numElement) |
int | unpackXmlDoubleToOutPtr (const void *&inPtr, void *&outPtr, int numElement, const char *name) |
int | unpackChildStruct (const void *&inPtr, packedOutput_t &unpackedOutput, const packItem_t &myPackedItem, const packInstruct_t *myPackTable, int numElement, irodsProt_t irodsProt, const char *packInstructInp) |
int | unpackPointerItem (packItem_t &myPackedItem, const void *&inPtr, packedOutput_t &unpackedOutput, const packInstruct_t *myPackTable, irodsProt_t irodsProt) |
void * | addPointerToPackedOut (packedOutput_t &packedOutput, int len, void *pointer) |
int | unpackNatStringToOutPtr (const void *&inPtr, void *&outPtr, int maxStrLen) |
int | unpackXmlStringToOutPtr (const void *&inPtr, void *&outPtr, int maxStrLen, const char *name) |
int | getNumStrAndStrLen (const packItem_t &myPackedItem, int &numStr, int &maxStrLen) |
int | getAllocLenForStr (const packItem_t &myPackedItem, const void *inPtr, int numStr, int maxStrLen) |
int | packXmlTag (const char *name, packedOutput_t &packedOutput, int flag) |
int | parseXmlValue (const void *&inPtr, const char *name, int &endTagLen) |
int | parseXmlTag (const void *inPtr, const char *name, int flag, int &skipLen) |
int | alignPackedOutput64 (packedOutput_t &packedOutput) |
int | packNopackPointer (void *inPtr, packedOutput_t &packedOutput, int len, const char *name, irodsProt_t irodsProt) |
void* addPointerToPackedOut | ( | packedOutput_t & | packedOutput, |
int | len, | ||
void * | pointer | ||
) |
Definition at line 2812 of file packStruct.cpp.
int alignPackedOutput64 | ( | packedOutput_t & | packedOutput | ) |
Definition at line 3095 of file packStruct.cpp.
References alignDouble(), packedOutput_t::bBuf, BytesBuf::buf, packedOutput_t::bufSize, extendPackedOutput(), BytesBuf::len, and NULL.
Definition at line 277 of file packStruct.cpp.
Referenced by parsePackInstruct().
int extendPackedOutput | ( | packedOutput_t & | packedOutput, |
int | extLen, | ||
void *& | outPtr | ||
) |
Definition at line 1099 of file packStruct.cpp.
References packedOutput_t::bBuf, BytesBuf::buf, packedOutput_t::bufSize, BytesBuf::len, LOG_ERROR, MAX_PACKED_OUT_ALLOC_SZ, NULL, PACKED_OUT_ALLOC_SZ, rodsLog(), and SYS_MALLOC_ERR.
Referenced by alignPackedOutput64(), packChar(), packNatString(), packStruct(), and packXmlString().
int freePackedItem | ( | packItem_t & | packItemHead | ) |
Definition at line 1661 of file packStruct.cpp.
Referenced by resolveIntDepItem().
int getAllocLenForStr | ( | const packItem_t & | myPackedItem, |
const void * | inPtr, | ||
int | numStr, | ||
int | maxStrLen | ||
) |
Definition at line 2940 of file packStruct.cpp.
int getNumElement | ( | const packItem_t & | myPackedItem | ) |
Definition at line 1081 of file packStruct.cpp.
References packItem::dim, and packItem::dimSize.
Referenced by packNonpointerItem(), and packPointerItem().
int getNumHintElement | ( | const packItem_t & | myPackedItem | ) |
Definition at line 1090 of file packStruct.cpp.
References packItem::hintDim, and packItem::hintDimSize.
Referenced by packPointerItem().
int getNumStrAndStrLen | ( | const packItem_t & | myPackedItem, |
int & | numStr, | ||
int & | maxStrLen | ||
) |
Definition at line 2914 of file packStruct.cpp.
packedOutput_t initPackedOutput | ( | const int | len | ) |
Definition at line 347 of file packStruct.cpp.
References packedOutput_t::bBuf, and BytesBuf::buf.
Referenced by packStruct(), and unpackStruct().
packedOutput_t initPackedOutputWithBuf | ( | void * | buf, |
const int | len | ||
) |
Definition at line 359 of file packStruct.cpp.
References packedOutput_t::bBuf, BytesBuf::buf, and buf.
int iparseDependent | ( | packItem_t & | myPackedItem | ) |
Definition at line 421 of file packStruct.cpp.
References PACK_DEPENDENT_TYPE, PACK_INT_DEPENDENT_TYPE, resolveIntDepItem(), resolveStrInItem(), irods.pypyodbc::status, and packItem::typeInx.
Referenced by resolvePackedItem().
const char* matchPackInstruct | ( | const char * | name, |
const packInstruct_t * | myPackTable | ||
) |
Definition at line 659 of file packStruct.cpp.
References irods::lookup_table< ValueType, KeyType, HashType >::end(), irods::lookup_table< ValueType, KeyType, HashType >::find(), irods::get_pack_table(), LOG_ERROR, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, PACK_TABLE_END_PI, packInstruct_t::packInstruct, rodsLog(), and RodsPackTable.
int packChar | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | len, | ||
const char * | name, | ||
const packTypeInx_t | typeInx, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1154 of file packStruct.cpp.
References base64_encode(), packedOutput_t::bBuf, END_TAG_FL, extendPackedOutput(), BytesBuf::len, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, PACK_BIN_TYPE, packTypeTable, packXmlTag(), START_TAG_FL, irods.pypyodbc::status, and XML_PROT.
Referenced by packNonpointerItem(), and packPointerItem().
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 * | packInstructInp | ||
) |
Definition at line 1595 of file packStruct.cpp.
Referenced by packNonpointerItem(), packPointerItem(), and packStruct().
int packDouble | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1541 of file packStruct.cpp.
Referenced by packNonpointerItem(), and packPointerItem().
int packInt | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1414 of file packStruct.cpp.
Referenced by packNonpointerItem(), packNopackPointer(), and packPointerItem().
int packInt16 | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1477 of file packStruct.cpp.
Referenced by packNonpointerItem(), and packPointerItem().
int packItem | ( | packItem_t & | myPackedItem, |
const void *& | inPtr, | ||
packedOutput_t & | packedOutput, | ||
const packInstruct_t * | myPackTable, | ||
int | packFlag, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1132 of file packStruct.cpp.
References PACK_OPR, packNonpointerItem(), packPointerItem(), packItem::pointerType, resolvePackedItem(), and irods.pypyodbc::status.
int packNatString | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | maxStrLen | ||
) |
Definition at line 1226 of file packStruct.cpp.
References packedOutput_t::bBuf, extendPackedOutput(), BytesBuf::len, NULL, irods.pypyodbc::status, SYS_MALLOC_ERR, and USER_PACKSTRUCT_INPUT_ERR.
Referenced by packString().
int packNonpointerItem | ( | packItem_t & | myPackedItem, |
const void *& | inPtr, | ||
packedOutput_t & | packedOutput, | ||
const packInstruct_t * | myPackTable, | ||
int | packFlag, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 747 of file packStruct.cpp.
References alignDouble(), alignInt(), alignInt16(), packItem::dim, packItem::dimSize, getNumElement(), packItem::intValue, LOG_ERROR, packItem::name, NULL, packType_t::number, PACK_BIN_TYPE, PACK_CHAR_TYPE, PACK_DOUBLE_TYPE, PACK_INT16_TYPE, PACK_INT_TYPE, PACK_PI_STR_TYPE, PACK_STR_TYPE, PACK_STRUCT_TYPE, packChar(), packChildStruct(), packDouble(), packInt(), packInt16(), packString(), packTypeTable, rodsLog(), packType_t::size, irods.pypyodbc::status, packItem::strValue, SYS_PACK_INSTRUCT_FORMAT_ERR, and packItem::typeInx.
Referenced by packItem().
int packNopackPointer | ( | void * | inPtr, |
packedOutput_t & | packedOutput, | ||
int | len, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 3124 of file packStruct.cpp.
References bytesBufArray_t::bBufArray, BytesBuf::buf, BytesBuf::len, generate_iadmin_commands_for_41_to_42_upgrade::name, packedOutput_t::nopackBufArray, NULL, bytesBufArray_t::numBuf, packInt(), PTR_ARRAY_MALLOC_LEN, and irods.pypyodbc::status.
Referenced by packPointerItem().
int packNullString | ( | packedOutput_t & | packedOutput | ) |
Definition at line 1400 of file packStruct.cpp.
Referenced by packPointerItem().
int packPointerItem | ( | packItem_t & | myPackedItem, |
packedOutput_t & | packedOutput, | ||
const packInstruct_t * | myPackTable, | ||
int | packFlag, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 870 of file packStruct.cpp.
References A_POINTER, packItem::dim, FREE_POINTER, getNumElement(), getNumHintElement(), packItem::hintDim, packItem::hintDimSize, LOG_ERROR, packItem::name, NATIVE_PROT, NO_PACK_POINTER, NULL, packType_t::number, PACK_BIN_TYPE, PACK_CHAR_TYPE, PACK_DOUBLE_TYPE, PACK_INT16_TYPE, PACK_INT_TYPE, PACK_PI_STR_TYPE, PACK_STR_TYPE, PACK_STRUCT_TYPE, packChar(), packChildStruct(), packDouble(), packInt(), packInt16(), packNopackPointer(), packNullString(), packString(), packTypeTable, packItem::pointer, packItem::pointerType, rodsLog(), packType_t::size, irods.pypyodbc::status, packItem::strValue, SYS_PACK_INSTRUCT_FORMAT_ERR, and packItem::typeInx.
Referenced by packItem().
int packString | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | maxStrLen, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1211 of file packStruct.cpp.
References generate_iadmin_commands_for_41_to_42_upgrade::name, packNatString(), packXmlString(), irods.pypyodbc::status, and XML_PROT.
Referenced by packNonpointerItem(), and packPointerItem().
int packStruct | ( | const void * | inStruct, |
bytesBuf_t ** | packedResult, | ||
const char * | packInstName, | ||
const packInstruct_t * | myPackTable, | ||
int | packFlag, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 21 of file packStruct.cpp.
References packedOutput_t::bBuf, BytesBuf::buf, extendPackedOutput(), getRodsLogLevel(), initPackedOutput(), LOG_DEBUG9, LOG_ERROR, MAX_PACKED_OUT_ALLOC_SZ, packItem::name, NULL, packChildStruct(), rodsLog(), irods.pypyodbc::status, SYS_MALLOC_ERR, USER_PACKSTRUCT_INPUT_ERR, and XML_PROT.
Referenced by packRei(), packReiAndArg(), replInOutStruct(), irods::send_client_server_negotiation_message(), sendApiReply(), sendApiRequest(), sendReconnMsg(), sendStartupPack(), sendVersion(), sslWriteMsgHeader(), writeLfRestartFile(), and writeMsgHeader().
int packTypeLookup | ( | const char * | typeName | ) |
Definition at line 335 of file packStruct.cpp.
References generate_iadmin_commands_for_41_to_42_upgrade::name, NumOfPackTypes, and packTypeTable.
Referenced by parsePackInstruct().
int packXmlString | ( | const void *& | inPtr, |
packedOutput_t & | packedOutput, | ||
int | maxStrLen, | ||
const char * | name | ||
) |
Definition at line 1265 of file packStruct.cpp.
References packedOutput_t::bBuf, END_TAG_FL, extendPackedOutput(), BytesBuf::len, LOG_ERROR, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, packXmlTag(), rodsLog(), START_TAG_FL, irods.pypyodbc::status, strToXmlStr(), SYS_INTERNAL_NULL_INPUT_ERR, SYS_MALLOC_ERR, and USER_PACKSTRUCT_INPUT_ERR.
Referenced by packString().
int packXmlTag | ( | const char * | name, |
packedOutput_t & | packedOutput, | ||
int | flag | ||
) |
Definition at line 2960 of file packStruct.cpp.
Referenced by packChar(), and packXmlString().
int parsePackInstruct | ( | const char * | packInstruct, |
packItem_t & | packItemHead | ||
) |
Definition at line 91 of file packStruct.cpp.
References A_POINTER, buf, copyStrFromPiBuf(), LOG_ERROR, MAX_PI_LEN, packItem::name, NAME_LEN, packItem::next, NO_FREE_POINTER, NO_PACK_POINTER, NULL, packTypeLookup(), packItem::pointerType, packItem::prev, rodsLog(), rstrcpy(), packItem::strValue, SYS_PACK_INSTRUCT_FORMAT_ERR, and packItem::typeInx.
Referenced by resolveIntDepItem().
Definition at line 3027 of file packStruct.cpp.
References END_TAG_FL, LF_FL, LOG_DEBUG10, LOG_ERROR, MAX_NAME_LEN, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, rodsLog(), and SYS_PACK_INSTRUCT_FORMAT_ERR.
Definition at line 2988 of file packStruct.cpp.
int resolveDepInArray | ( | packItem_t & | myPackedItem | ) |
Definition at line 692 of file packStruct.cpp.
References irods.pypyodbc::buffer, packItem::dim, packItem::dimSize, packItem::hintDim, packItem::hintDimSize, LOG_ERROR, MAX_PACK_DIM, packItem::name, resolveIntInItem(), rodsLog(), and SYS_PACK_INSTRUCT_FORMAT_ERR.
Referenced by resolvePackedItem().
int resolveIntDepItem | ( | packItem_t & | myPackedItem | ) |
Definition at line 437 of file packStruct.cpp.
References buf, freePackedItem(), LOG_ERROR, MAX_NAME_LEN, packItem::name, packItem::next, NULL, parsePackInstruct(), packItem::prev, resolveIntInItem(), rodsLog(), irods.pypyodbc::status, and SYS_PACK_INSTRUCT_FORMAT_ERR.
Referenced by iparseDependent().
int resolveIntInItem | ( | const char * | name, |
const packItem_t & | myPackedItem | ||
) |
Definition at line 586 of file packStruct.cpp.
References packItem::intValue, isAllDigit(), packItem::name, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, packType_t::number, PACK_INT_TYPE, PACK_TABLE_END_PI, PackConstantTable, packTypeTable, packItem::parent, packItem::prev, SYS_PACK_INSTRUCT_FORMAT_ERR, packItem::typeInx, and packConstant_t::value.
Referenced by resolveDepInArray(), and resolveIntDepItem().
int resolvePackedItem | ( | packItem_t & | myPackedItem, |
const void *& | inPtr, | ||
packOpr_t | packOpr | ||
) |
Definition at line 371 of file packStruct.cpp.
References ialignAddr(), iparseDependent(), LOG_ERROR, packItem::name, NULL, PACK_OPR, packItem::pointer, packItem::pointerType, resolveDepInArray(), rodsLog(), irods.pypyodbc::status, packItem::strValue, and SYS_PACK_INSTRUCT_FORMAT_ERR.
Referenced by packItem().
int resolveStrInItem | ( | packItem_t & | myPackedItem | ) |
Definition at line 625 of file packStruct.cpp.
References LOG_ERROR, packItem::name, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, packType_t::number, PACK_PI_STR_TYPE, PACK_STRUCT_TYPE, packTypeTable, packItem::parent, packItem::prev, rodsLog(), packItem::strValue, SYS_PACK_INSTRUCT_FORMAT_ERR, and packItem::typeInx.
Referenced by iparseDependent().
int strToXmlStr | ( | const char * | inStr, |
char *& | outXmlStr | ||
) |
int unpackChar | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | len, | ||
const char * | name, | ||
const packTypeInx_t | typeInx, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1795 of file packStruct.cpp.
int unpackCharToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | len, | ||
const char * | name, | ||
const packTypeInx_t | typeInx, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1819 of file packStruct.cpp.
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 at line 2465 of file packStruct.cpp.
Referenced by unpackStruct().
int unpackDouble | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2334 of file packStruct.cpp.
int unpackDoubleToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2354 of file packStruct.cpp.
int unpackInt | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2068 of file packStruct.cpp.
int unpackInt16 | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2199 of file packStruct.cpp.
int unpackInt16ToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2226 of file packStruct.cpp.
int unpackIntToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | numElement, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2091 of file packStruct.cpp.
int unpackItem | ( | packItem_t & | myPackedItem, |
const void *& | inPtr, | ||
packedOutput_t & | unpackedOutput, | ||
const packInstruct_t * | myPackTable, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1675 of file packStruct.cpp.
Definition at line 1833 of file packStruct.cpp.
Definition at line 2369 of file packStruct.cpp.
Definition at line 2240 of file packStruct.cpp.
Definition at line 2105 of file packStruct.cpp.
int unpackNatString | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | maxStrLen, | ||
char *& | outStr | ||
) |
Definition at line 1896 of file packStruct.cpp.
Definition at line 2837 of file packStruct.cpp.
int unpackNonpointerItem | ( | packItem_t & | myPackedItem, |
const void *& | inPtr, | ||
packedOutput_t & | unpackedOutput, | ||
const packInstruct_t * | myPackTable, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1698 of file packStruct.cpp.
int unpackNullString | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
const packItem_t & | myPackedItem, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2007 of file packStruct.cpp.
int unpackPointerItem | ( | packItem_t & | myPackedItem, |
const void *& | inPtr, | ||
packedOutput_t & | unpackedOutput, | ||
const packInstruct_t * | myPackTable, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 2566 of file packStruct.cpp.
int unpackString | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | maxStrLen, | ||
const char * | name, | ||
irodsProt_t | irodsProt, | ||
char *& | outStr | ||
) |
Definition at line 1881 of file packStruct.cpp.
int unpackStringToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | maxStrLen, | ||
const char * | name, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 1987 of file packStruct.cpp.
int unpackStruct | ( | const void * | inPackedStr, |
void ** | outStruct, | ||
const char * | packInstName, | ||
const packInstruct_t * | myPackTable, | ||
irodsProt_t | irodsProt | ||
) |
Definition at line 63 of file packStruct.cpp.
References packedOutput_t::bBuf, BytesBuf::buf, initPackedOutput(), LOG_ERROR, packItem::name, NULL, PACKED_OUT_ALLOC_SZ, rodsLog(), irods.pypyodbc::status, unpackChildStruct(), and USER_PACKSTRUCT_INPUT_ERR.
Referenced by procApiReply(), irods::read_client_server_negotiation_message(), readLfRestartFile(), readMsgHeader(), readReconMsg(), readStartupPack(), readVersion(), replInOutStruct(), rsApiHandler(), rsExecRuleExpression(), sslReadMsgHeader(), unpackRei(), and unpackReiAndArg().
int unpackXmlCharToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | len, | ||
const char * | name, | ||
const packTypeInx_t | typeInx | ||
) |
Definition at line 1842 of file packStruct.cpp.
int unpackXmlDoubleToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | numElement, | ||
const char * | name | ||
) |
Definition at line 2414 of file packStruct.cpp.
int unpackXmlInt16ToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | numElement, | ||
const char * | name | ||
) |
Definition at line 2284 of file packStruct.cpp.
Definition at line 2149 of file packStruct.cpp.
int unpackXmlString | ( | const void *& | inPtr, |
packedOutput_t & | unpackedOutput, | ||
int | maxStrLen, | ||
const char * | name, | ||
char *& | outStr | ||
) |
Definition at line 1936 of file packStruct.cpp.
int unpackXmlStringToOutPtr | ( | const void *& | inPtr, |
void *& | outPtr, | ||
int | maxStrLen, | ||
const char * | name | ||
) |
Definition at line 2867 of file packStruct.cpp.
Definition at line 1361 of file packStruct.cpp.
References NULL.