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)  

rsFileOpen.cpp File Reference
#include "fileOpen.h"
#include "fileOpr.hpp"
#include "miscServerFunct.hpp"
#include "rsGlobalExtern.hpp"
#include "rsFileOpen.hpp"
#include "irods_log.hpp"
#include "irods_file_object.hpp"
#include "irods_stacktrace.hpp"
#include "irods_resource_backport.hpp"
Include dependency graph for rsFileOpen.cpp:

Go to the source code of this file.

Functions

int rsFileOpen (rsComm_t *rsComm, fileOpenInp_t *fileOpenInp)
 
int rsFileOpenByHost (rsComm_t *rsComm, fileOpenInp_t *fileOpenInp, rodsServerHost_t *rodsServerHost)
 
int remoteFileOpen (rsComm_t *rsComm, fileOpenInp_t *fileOpenInp, rodsServerHost_t *rodsServerHost)
 
int _rsFileOpen (rsComm_t *_comm, fileOpenInp_t *_open_inp)
 

Function Documentation

◆ _rsFileOpen()

int _rsFileOpen ( rsComm_t _comm,
fileOpenInp_t _open_inp 
)

Definition at line 114 of file rsFileOpen.cpp.

References irods::error::code(), fileOpenInp_t::condInput, DIRECT_ARCHIVE_ACCESS, fileOpenInp_t::fileName, fileOpen(), fileOpenInp_t::flags, fileOpenInp_t::in_pdmo, irods::log(), LOG_ERROR, fileOpenInp_t::mode, fileOpenInp_t::objPath, irods::error::ok(), PASSMSG, fileOpenInp_t::resc_hier_, and rodsLog().

Referenced by _rsFileGet(), _rsFilePut(), and rsFileOpenByHost().

Here is the call graph for this function:

◆ remoteFileOpen()

int remoteFileOpen ( rsComm_t rsComm,
fileOpenInp_t fileOpenInp,
rodsServerHost_t rodsServerHost 
)

Definition at line 86 of file rsFileOpen.cpp.

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

Referenced by rsFileOpenByHost().

Here is the call graph for this function:

◆ rsFileOpen()

int rsFileOpen ( rsComm_t rsComm,
fileOpenInp_t fileOpenInp 
)

Definition at line 21 of file rsFileOpen.cpp.

References irods::get_host_for_hier_string(), irods::log(), irods::error::ok(), PASSMSG, fileOpenInp_t::resc_hier_, and rsFileOpenByHost().

Referenced by _l3Open(), irods_file_open(), readPathnamePatternsFromFile(), tar_file_open(), and test_source_replica_for_write_permissions().

Here is the call graph for this function:

◆ rsFileOpenByHost()

int rsFileOpenByHost ( rsComm_t rsComm,
fileOpenInp_t fileOpenInp,
rodsServerHost_t rodsServerHost 
)

Definition at line 44 of file rsFileOpen.cpp.

References _rsFileOpen(), allocAndFillFileDesc(), fileOpenInp_t::fileName, LOCAL_HOST, rodsServerHost::localFlag, LOG_NOTICE, fileOpenInp_t::mode, NULL, fileOpenInp_t::objPath, REMOTE_HOST, remoteFileOpen(), fileOpenInp_t::resc_hier_, rodsLog(), SYS_INTERNAL_NULL_INPUT_ERR, and SYS_UNRECOGNIZED_REMOTE_FLAG.

Referenced by l3OpenByHost(), and rsFileOpen().

Here is the call graph for this function: