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 "rcMisc.h"
#include "dataObjTruncate.h"
#include "rodsLog.h"
#include "icatDefines.h"
#include "fileTruncate.h"
#include "unregDataObj.h"
#include "objMetaOpr.hpp"
#include "dataObjOpr.hpp"
#include "rsGlobalExtern.hpp"
#include "rcGlobalExtern.h"
#include "rsDataObjTruncate.hpp"
#include "rmColl.h"
#include "modDataObjMeta.h"
#include "subStructFileTruncate.h"
#include "getRemoteZoneResc.h"
#include "phyBundleColl.h"
#include "rsModDataObjMeta.hpp"
#include "rsSubStructFileTruncate.hpp"
#include "rsFileTruncate.hpp"
#include "irods_resource_backport.hpp"
Go to the source code of this file.
Functions | |
int | rsDataObjTruncate (rsComm_t *rsComm, dataObjInp_t *dataObjTruncateInp) |
int | _rsDataObjTruncate (rsComm_t *rsComm, dataObjInp_t *dataObjTruncateInp, dataObjInfo_t *dataObjInfoHead) |
int | dataObjTruncateS (rsComm_t *rsComm, dataObjInp_t *dataObjTruncateInp, dataObjInfo_t *dataObjInfo) |
int | l3Truncate (rsComm_t *rsComm, dataObjInp_t *dataObjTruncateInp, dataObjInfo_t *dataObjInfo) |
int _rsDataObjTruncate | ( | rsComm_t * | rsComm, |
dataObjInp_t * | dataObjTruncateInp, | ||
dataObjInfo_t * | dataObjInfoHead | ||
) |
Definition at line 63 of file rsDataObjTruncate.cpp.
References dataObjTruncateS(), freeAllDataObjInfo(), DataObjInfo::next, NULL, DataObjInp::specColl, and irods.pypyodbc::status.
Referenced by rsDataObjTruncate().
int dataObjTruncateS | ( | rsComm_t * | rsComm, |
dataObjInp_t * | dataObjTruncateInp, | ||
dataObjInfo_t * | dataObjInfo | ||
) |
Definition at line 88 of file rsDataObjTruncate.cpp.
References addKeyVal(), BUNDLE_RESC, CHKSUM_KW, clearKeyVal(), DATA_SIZE_KW, modDataObjMeta_t::dataObjInfo, DataObjInp::dataSize, DataObjInfo::dataSize, getErrno(), l3Truncate(), LOG_NOTICE, MAX_NAME_LEN, NULL, DataObjInp::objPath, modDataObjMeta_t::regParam, DataObjInfo::rescName, rodsLog(), rsModDataObjMeta(), DataObjInfo::specColl, and irods.pypyodbc::status.
Referenced by _rsDataObjTruncate().
int l3Truncate | ( | rsComm_t * | rsComm, |
dataObjInp_t * | dataObjTruncateInp, | ||
dataObjInfo_t * | dataObjInfo | ||
) |
Definition at line 141 of file rsDataObjTruncate.cpp.
References fileOpenInp_t::addr, Subfile::addr, DataObjInp::dataSize, fileOpenInp_t::dataSize, fileOpenInp_t::fileName, DataObjInfo::filePath, irods::get_loc_for_hier_string(), getStructFileType(), rodsHostAddr_t::hostAddr, irods::log(), MAX_NAME_LEN, NAME_LEN, Subfile::offset, irods::error::ok(), PASSMSG, fileOpenInp_t::resc_hier_, DataObjInfo::rescHier, rsFileTruncate(), rsSubStructFileTruncate(), rstrcpy(), DataObjInfo::specColl, Subfile::specColl, irods.pypyodbc::status, Subfile::subFilePath, and DataObjInfo::subPath.
Referenced by dataObjTruncateS().
int rsDataObjTruncate | ( | rsComm_t * | rsComm, |
dataObjInp_t * | dataObjTruncateInp | ||
) |
Definition at line 31 of file rsDataObjTruncate.cpp.
References _rsDataObjTruncate(), rodsServerHost::conn, getAndConnRemoteZone(), getDataObjInfoIncSpecColl(), NULL, DataObjInp::openFlags, rcDataObjTruncate(), REMOTE_HOST, REMOTE_OPEN, and irods.pypyodbc::status.