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 <sys/time.h>
#include "rodsPath.h"
#include "rodsErrorTable.h"
#include "miscUtil.h"
#include "rodsLog.h"
#include "rmtrashUtil.h"
#include "rcGlobalExtern.h"
Go to the source code of this file.
Functions | |
int | rmtrashUtil (rcComm_t *conn, rodsArguments_t *myRodsArgs, rodsPathInp_t *rodsPathInp) |
int | rmtrashDataObjUtil (rcComm_t *conn, char *srcPath, rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp) |
int | initCondForRmtrash (rodsArguments_t *rodsArgs, dataObjInp_t *dataObjInp, collInp_t *collInp) |
int | rmtrashCollUtil (rcComm_t *conn, char *srcColl, rodsArguments_t *rodsArgs, collInp_t *collInp) |
int initCondForRmtrash | ( | rodsArguments_t * | rodsArgs, |
dataObjInp_t * | dataObjInp, | ||
collInp_t * | collInp | ||
) |
Definition at line 154 of file rmtrashUtil.cpp.
References addKeyVal(), rodsArguments_t::admin, ADMIN_RMTRASH_KW, rodsArguments_t::age, AGE_KW, rodsArguments_t::agevalue, DataObjInp::condInput, CollInp::condInput, FORCE_FLAG_KW, LOG_ERROR, NAME_LEN, NULL, RECURSIVE_OPR__KW, RMTRASH_KW, rodsLog(), seedRandom(), True, USER__NULL_INPUT_ERR, rodsArguments_t::zone, ZONE_KW, and rodsArguments_t::zoneName.
Referenced by rmtrashUtil().
int rmtrashCollUtil | ( | rcComm_t * | conn, |
char * | srcColl, | ||
rodsArguments_t * | rodsArgs, | ||
collInp_t * | collInp | ||
) |
Definition at line 203 of file rmtrashUtil.cpp.
References CollInp::collName, LOG_ERROR, MAX_NAME_LEN, NULL, rcRmColl(), rodsLog(), rstrcpy(), irods.pypyodbc::status, USER__NULL_INPUT_ERR, and rodsArguments_t::verbose.
Referenced by rmtrashUtil().
int rmtrashDataObjUtil | ( | rcComm_t * | conn, |
char * | srcPath, | ||
rodsArguments_t * | rodsArgs, | ||
dataObjInp_t * | dataObjInp | ||
) |
Definition at line 125 of file rmtrashUtil.cpp.
References LOG_ERROR, MAX_NAME_LEN, NULL, DataObjInp::objPath, printTiming(), rcDataObjUnlink(), rodsLog(), rstrcpy(), irods.pypyodbc::status, True, USER__NULL_INPUT_ERR, and rodsArguments_t::verbose.
Referenced by rmtrashUtil().
int rmtrashUtil | ( | rcComm_t * | conn, |
rodsArguments_t * | myRodsArgs, | ||
rodsPathInp_t * | rodsPathInp | ||
) |
Definition at line 14 of file rmtrashUtil.cpp.
References addSrcInPath(), rodsArguments_t::admin, CAT_NO_ROWS_FOUND, rcComm_t::clientUser, COLL_OBJ_T, DATA_OBJ_T, getRodsObjType(), getZoneType(), initCondForRmtrash(), LOG_ERROR, MAX_NAME_LEN, NOT_EXIST_ST, NULL, RodsPathInp::numSrc, RodsPath::objState, RodsPath::objType, rodsArguments_t::orphan, RodsPath::outPath, rmtrashCollUtil(), rmtrashDataObjUtil(), rodsLog(), rodsLogError(), userInfo_t::rodsZone, rstrcpy(), RodsPathInp::srcPath, irods.pypyodbc::status, True, UNKNOWN_OBJ_T, rodsArguments_t::user, USER__NULL_INPUT_ERR, USER_INPUT_PATH_ERR, userInfo_t::userName, rodsArguments_t::userString, and rodsArguments_t::zoneName.