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)  

rsDataObjTruncate.cpp File Reference
#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"
Include dependency graph for rsDataObjTruncate.cpp:

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)
 

Function Documentation

◆ _rsDataObjTruncate()

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().

Here is the call graph for this function:

◆ dataObjTruncateS()

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().

Here is the call graph for this function:

◆ l3Truncate()

◆ rsDataObjTruncate()

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.

Here is the call graph for this function: