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)  

rsFileTruncate.hpp File Reference
#include "rodsConnect.h"
#include "fileOpen.h"
Include dependency graph for rsFileTruncate.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int rsFileTruncate (rsComm_t *rsComm, fileOpenInp_t *fileTruncateInp)
 
int _rsFileTruncate (rsComm_t *rsComm, fileOpenInp_t *fileTruncateInp)
 
int remoteFileTruncate (rsComm_t *rsComm, fileOpenInp_t *fileTruncateInp, rodsServerHost_t *rodsServerHost)
 

Function Documentation

◆ _rsFileTruncate()

int _rsFileTruncate ( rsComm_t rsComm,
fileOpenInp_t fileTruncateInp 
)

Definition at line 80 of file rsFileTruncate.cpp.

References irods::error::code(), fileOpenInp_t::condInput, fileOpenInp_t::dataSize, fileOpenInp_t::fileName, fileTruncate(), irods::log(), fileOpenInp_t::objPath, irods::error::ok(), PASSMSG, and fileOpenInp_t::resc_hier_.

Referenced by rsFileTruncate().

Here is the call graph for this function:

◆ remoteFileTruncate()

int remoteFileTruncate ( rsComm_t rsComm,
fileOpenInp_t fileTruncateInp,
rodsServerHost_t rodsServerHost 
)

Definition at line 52 of file rsFileTruncate.cpp.

References rodsServerHost::conn, fileOpenInp_t::fileName, LOG_NOTICE, NULL, rcFileTruncate(), rodsLog(), irods.pypyodbc::status, svrToSvrConnect(), and SYS_INVALID_SERVER_HOST.

Referenced by rsFileTruncate().

Here is the call graph for this function:

◆ rsFileTruncate()

int rsFileTruncate ( rsComm_t rsComm,
fileOpenInp_t fileTruncateInp 
)

Definition at line 17 of file rsFileTruncate.cpp.

References _rsFileTruncate(), irods::get_host_for_hier_string(), LOCAL_HOST, irods::log(), LOG_NOTICE, irods::error::ok(), PASSMSG, REMOTE_HOST, remoteFileTruncate(), fileOpenInp_t::resc_hier_, rodsLog(), irods.pypyodbc::status, and SYS_UNRECOGNIZED_REMOTE_FLAG.

Referenced by l3Truncate(), and tar_file_truncate().

Here is the call graph for this function: