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)  

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

Go to the source code of this file.

Functions

int rsChkNVPathPerm (rsComm_t *rsComm, fileOpenInp_t *chkNVPathPermInp)
 
int rsChkNVPathPermByHost (rsComm_t *rsComm, fileOpenInp_t *chkNVPathPermInp, rodsServerHost_t *rodsServerHost)
 
int _rsChkNVPathPerm (rsComm_t *rsComm, fileOpenInp_t *chkNVPathPermInp)
 
int remoteChkNVPathPerm (rsComm_t *rsComm, fileOpenInp_t *chkNVPathPermInp, rodsServerHost_t *rodsServerHost)
 

Function Documentation

◆ _rsChkNVPathPerm()

int _rsChkNVPathPerm ( rsComm_t rsComm,
fileOpenInp_t chkNVPathPermInp 
)

Definition at line 104 of file rsChkNVPathPerm.cpp.

References rsComm_t::clientUser, irods::error::code(), fileOpenInp_t::fileName, fileStat(), getErrno(), getUnixUid(), irods::log(), LOG_ERROR, MAX_NAME_LEN, fileOpenInp_t::objPath, fileOpenInp_t::resc_hier_, rstrcpy(), SYS_NO_PATH_PERMISSION, userInfo_t::sysUid, and userInfo_t::userName.

Referenced by rsChkNVPathPermByHost().

Here is the call graph for this function:

◆ remoteChkNVPathPerm()

int remoteChkNVPathPerm ( rsComm_t rsComm,
fileOpenInp_t chkNVPathPermInp,
rodsServerHost_t rodsServerHost 
)

Definition at line 77 of file rsChkNVPathPerm.cpp.

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

Referenced by rsChkNVPathPermByHost().

Here is the call graph for this function:

◆ rsChkNVPathPerm()

int rsChkNVPathPerm ( rsComm_t rsComm,
fileOpenInp_t chkNVPathPermInp 
)

Definition at line 19 of file rsChkNVPathPerm.cpp.

References irods::get_host_for_hier_string(), irods::log(), irods::error::ok(), PASSMSG, fileOpenInp_t::resc_hier_, rsChkNVPathPermByHost(), and irods.pypyodbc::status.

Here is the call graph for this function:

◆ rsChkNVPathPermByHost()

int rsChkNVPathPermByHost ( rsComm_t rsComm,
fileOpenInp_t chkNVPathPermInp,
rodsServerHost_t rodsServerHost 
)

Definition at line 42 of file rsChkNVPathPerm.cpp.

References _rsChkNVPathPerm(), LOCAL_HOST, rodsServerHost::localFlag, LOG_NOTICE, NULL, REMOTE_HOST, remoteChkNVPathPerm(), rodsLog(), irods.pypyodbc::status, SYS_INTERNAL_NULL_INPUT_ERR, and SYS_UNRECOGNIZED_REMOTE_FLAG.

Referenced by chkFilePathPerm(), and rsChkNVPathPerm().

Here is the call graph for this function: