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.
![]() ![]() |
#include <dirent.h>
#include "rods.h"
#include "rcConnect.h"
#include "objInfo.h"
#include "msParam.h"
#include "irods_error.hpp"
#include "irods_first_class_object.hpp"
Go to the source code of this file.
irods::error fileChmod | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
int | |||
) |
Definition at line 301 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_CHMOD().
Referenced by _rsFileChmod().
irods::error fileClose | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 147 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_CLOSE().
Referenced by _rsFileClose(), _rsFileGet(), _rsFilePut(), _rsSubStructFileClose(), _rsSubStructFileGet(), _rsSubStructFilePut(), and fileChksum().
irods::error fileClosedir | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 392 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_CLOSEDIR().
Referenced by _rsFileClosedir(), _rsFileRmdir(), _rsSubStructFileClosedir(), and chkEmptyDir().
irods::error fileCreate | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 17 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::log(), irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_CREATE().
Referenced by _rsFileCreate(), _rsSubStructFileCreate(), and _rsSubStructFilePut().
irods::error fileGetFsFreeSpace | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 484 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_FREESPACE().
Referenced by _rsFileGetFsFreeSpace().
irods::error fileLseek | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
long long | , | ||
int | |||
) |
Definition at line 238 of file fileDriver.cpp.
References irods::error::code(), CODE, irods.pypyodbc::long, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_LSEEK().
Referenced by _rsFileLseek(), and _rsSubStructFileLseek().
irods::error fileMkdir | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 270 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_MKDIR().
Referenced by _rsFileMkdir(), _rsSubStructFileMkdir(), and mkFileDirR().
irods::error fileModified | ( | rsComm_t * | _comm, |
irods::first_class_object_ptr | _object | ||
) |
Definition at line 692 of file fileDriver.cpp.
References irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), irods::RESOURCE_OP_MODIFIED(), and SUCCESS.
Referenced by _call_file_modified_for_modification(), _call_file_modified_for_replica(), _rsBulkDataObjReg(), msisync_to_archive(), and regSubfile().
irods::error fileNotify | ( | rsComm_t * | _comm, |
irods::first_class_object_ptr | _object, | ||
const std::string & | |||
) |
Definition at line 737 of file fileDriver.cpp.
References irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), irods::RESOURCE_OP_NOTIFY(), and SUCCESS.
Referenced by dataObjOpenForRepl(), msisync_to_archive(), and rsDataObjWrite().
irods::error fileOpen | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 49 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_OPEN().
Referenced by _rsFileOpen(), _rsSubStructFileGet(), _rsSubStructFileOpen(), _rsSubStructFilePut(), and fileChksum().
irods::error fileOpendir | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 362 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_OPENDIR().
Referenced by _rsFileOpendir(), _rsFileRmdir(), _rsSubStructFileOpendir(), and chkEmptyDir().
irods::error fileRead | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
void * | , | ||
int | |||
) |
Definition at line 81 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_READ().
Referenced by _rsFileGet(), _rsFileRead(), _rsSubStructFileGet(), _rsSubStructFileRead(), and fileChksum().
irods::error fileReaddir | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
struct rodsDirent ** | |||
) |
Definition at line 422 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_READDIR().
Referenced by _rsFileReaddir(), _rsFileRmdir(), _rsSubStructFileReaddir(), and chkEmptyDir().
irods::error fileRegistered | ( | rsComm_t * | _comm, |
irods::first_class_object_ptr | _object | ||
) |
Definition at line 622 of file fileDriver.cpp.
References irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), irods::RESOURCE_OP_REGISTERED(), and SUCCESS.
Referenced by _rsRegDataObj().
irods::error fileRename | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
const std::string & | |||
) |
Definition at line 453 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_RENAME().
Referenced by _rsFileRename(), and _rsSubStructFileRename().
irods::error fileRmdir | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 332 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_RMDIR().
Referenced by _rsFileCreate(), _rsFileRmdir(), _rsFileStageToCache(), _rsFileSyncToArch(), _rsSubStructFileRmdir(), and chkEmptyDir().
irods::error fileStageToCache | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
const std::string & | |||
) |
Definition at line 544 of file fileDriver.cpp.
References ERROR, irods::log(), irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), irods::RESOURCE_OP_STAGETOCACHE(), SUCCESS, and SYS_INVALID_INPUT_PARAM.
Referenced by _rsFileStageToCache().
irods::error fileStat | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
struct stat * | |||
) |
Definition at line 207 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_STAT().
Referenced by _rsChkNVPathPerm(), _rsFileRmdir(), _rsFileStat(), _rsSubStructFileStat(), chkEmptyDir(), and mkFileDirR().
irods::error fileSyncToArch | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
const std::string & | |||
) |
Definition at line 583 of file fileDriver.cpp.
References ERROR, irods::log(), irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), irods::RESOURCE_OP_SYNCTOARCH(), SUCCESS, and SYS_INVALID_INPUT_PARAM.
Referenced by _rsFileSyncToArch().
irods::error fileTruncate | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 514 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_TRUNCATE().
Referenced by _rsFileTruncate(), and _rsSubStructFileTruncate().
irods::error fileUnlink | ( | rsComm_t * | , |
irods::first_class_object_ptr | |||
) |
Definition at line 177 of file fileDriver.cpp.
References irods::error::code(), CODE, irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_UNLINK().
Referenced by _rsFileRmdir(), _rsFileUnlink(), and _rsSubStructFileUnlink().
irods::error fileUnregistered | ( | rsComm_t * | _comm, |
irods::first_class_object_ptr | _object | ||
) |
Definition at line 657 of file fileDriver.cpp.
References irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), irods::RESOURCE_OP_UNREGISTERED(), and SUCCESS.
Referenced by _rsUnregDataObj().
irods::error fileWrite | ( | rsComm_t * | , |
irods::first_class_object_ptr | , | ||
void * | , | ||
int | |||
) |
Definition at line 113 of file fileDriver.cpp.
References irods::error::ok(), PASSMSG, irods::RESOURCE_INTERFACE(), and irods::RESOURCE_OP_WRITE().
Referenced by _rsFilePut(), _rsFileWrite(), _rsSubStructFilePut(), and _rsSubStructFileWrite().