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) 
|
Go to the documentation of this file.
29 irods::log(
PASSMSG(
"failed in call to irods::get_host_for_hier_string", ret ) );
34 if ( remoteFlag < 0 ) {
52 "rsFileOpenByHost: Input NULL rodsServerHost" );
65 if ( remoteFlag < 0 ) {
70 "rsFileOpenByHost: resolveHost returned unrecognized value %d",
80 fd, fileOpenInp->
mode );
93 "remoteFileOpen: Invalid rodsServerHost" );
105 "remoteFileOpen: rcFileOpen failed for %s",
119 if ( !_comm || !_open_inp ) {
127 if ( ( _open_inp->
flags & O_WRONLY ) && ( _open_inp->
flags & O_RDWR ) ) {
129 _open_inp->
flags &= ~( O_WRONLY );
142 _open_inp->
flags ) );
143 file_obj->in_pdmo( _open_inp->
in_pdmo );
147 file_obj->cond_input( _open_inp->
condInput );
159 else if ( !ret_err.
ok() ) {
160 std::stringstream msg;
161 msg <<
"_rsFileOpen: fileOpen for [";
166 return ret_err.
code();
170 return file_obj->file_descriptor();
void rodsLog(int level, const char *formatStr,...)
@ SYS_INTERNAL_NULL_INPUT_ERR
@ SYS_UNRECOGNIZED_REMOTE_FLAG
int rsFileOpenByHost(rsComm_t *rsComm, fileOpenInp_t *fileOpenInp, rodsServerHost_t *rodsServerHost)
int _rsFileOpen(rsComm_t *_comm, fileOpenInp_t *_open_inp)
char resc_hier_[(1024+64)]
#define PASSMSG(message_, prev_error_)
int rcFileOpen(rcComm_t *conn, fileOpenInp_t *fileOpenInp)
error get_host_for_hier_string(const std::string &, int &, rodsServerHost_t *&)
@ SYS_INVALID_SERVER_HOST
int remoteFileOpen(rsComm_t *rsComm, fileOpenInp_t *fileOpenInp, rodsServerHost_t *rodsServerHost)
int svrToSvrConnect(rsComm_t *rsComm, rodsServerHost_t *rodsServerHost)
int allocAndFillFileDesc(rodsServerHost_t *rodsServerHost, const std::string &objPath, const std::string &fileName, const std::string &rescHier, int fd, int mode)
irods::error fileOpen(rsComm_t *, irods::first_class_object_ptr)
int rsFileOpen(rsComm_t *rsComm, fileOpenInp_t *fileOpenInp)
boost::shared_ptr< file_object > file_object_ptr