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)  

icatHighLevelRoutines.hpp File Reference
#include "objInfo.h"
#include "ruleExecSubmit.h"
#include "rcConnect.h"
#include "icatStructs.hpp"
#include "rodsGeneralUpdate.h"
#include "specificQuery.h"
#include "phyBundleColl.h"
#include "irods_resource_manager.hpp"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string>
#include <vector>
#include <map>
#include <boost/tuple/tuple.hpp>
#include "irods_error.hpp"
Include dependency graph for icatHighLevelRoutines.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using leaf_bundle_t = irods::resource_manager::leaf_bundle_t
 
typedef std::vector< rodsLong_tdist_child_result_t
 

Functions

int chlOpen ()
 
int chlClose ()
 
int chlIsConnected ()
 
int chlModDataObjMeta (rsComm_t *rsComm, dataObjInfo_t *dataObjInfo, keyValPair_t *regParam)
 
int chlUpdateRescObjCount (const std::string &_resc, int _delta)
 
int chlRegDataObj (rsComm_t *rsComm, dataObjInfo_t *dataObjInfo)
 
int chlRegRuleExecObj (rsComm_t *rsComm, ruleExecSubmitInp_t *ruleExecSubmitInp)
 
int chlRegReplica (rsComm_t *rsComm, dataObjInfo_t *srcDataObjInfo, dataObjInfo_t *dstDataObjInfo, keyValPair_t *condInput)
 
int chlUnregDataObj (rsComm_t *rsComm, dataObjInfo_t *dataObjInfo, keyValPair_t *condInput)
 
int chlRegResc (rsComm_t *rsComm, std::map< std::string, std::string > &_resc_input)
 
int chlAddChildResc (rsComm_t *rsComm, std::map< std::string, std::string > &_resc_input)
 
int chlDelResc (rsComm_t *rsComm, const std::string &_resc_name, int _dryrun=0)
 
int chlDelChildResc (rsComm_t *rsComm, std::map< std::string, std::string > &_resc_input)
 
int chlRollback (rsComm_t *rsComm)
 
int chlCommit (rsComm_t *rsComm)
 
int chlDelUserRE (rsComm_t *rsComm, userInfo_t *userInfo)
 
int chlRegCollByAdmin (rsComm_t *rsComm, collInfo_t *collInfo)
 
int chlRegColl (rsComm_t *rsComm, collInfo_t *collInfo)
 
int chlModColl (rsComm_t *rsComm, collInfo_t *collInfo)
 
int chlSimpleQuery (rsComm_t *rsComm, const char *sql, const char *arg1, const char *arg2, const char *arg3, const char *arg4, int format, int *control, char *outBuf, int maxOutBuf)
 
int chlGenQuery (genQueryInp_t genQueryInp, genQueryOut_t *result)
 
int chlGenQueryAccessControlSetup (const char *user, const char *zone, const char *host, int priv, int controlFlag)
 
int chlGenQueryTicketSetup (const char *ticket, const char *clientAddr)
 
int chlSpecificQuery (specificQueryInp_t specificQueryInp, genQueryOut_t *genQueryOut)
 
int chlGeneralUpdate (generalUpdateInp_t generalUpdateInp)
 
int chlDelCollByAdmin (rsComm_t *rsComm, collInfo_t *collInfo)
 
int chlDelColl (rsComm_t *rsComm, collInfo_t *collInfo)
 
int chlCheckAuth (rsComm_t *rsComm, const char *scheme, const char *challenge, const char *response, const char *username, int *userPrivLevel, int *clientPrivLevel)
 
int chlMakeTempPw (rsComm_t *rsComm, char *pwValueToHash, const char *otherUser)
 
int chlMakeLimitedPw (rsComm_t *rsComm, int ttl, char *pwValueToHash)
 
int decodePw (rsComm_t *rsComm, const char *in, char *out)
 
int chlModUser (rsComm_t *rsComm, const char *userName, const char *option, const char *newValue)
 
int chlModGroup (rsComm_t *rsComm, const char *groupName, const char *option, const char *userName, const char *userZone)
 
int chlModResc (rsComm_t *rsComm, const char *rescName, const char *option, const char *optionValue)
 
int chlModRescDataPaths (rsComm_t *rsComm, const char *rescName, const char *oldPath, const char *newPath, const char *userName)
 
int chlModRescFreeSpace (rsComm_t *rsComm, const char *rescName, int updateValue)
 
int chlRegUserRE (rsComm_t *rsComm, userInfo_t *userInfo)
 
rodsLong_t checkAndGetObjectId (rsComm_t *rsComm, const char *type, const char *name, const char *access)
 
int chlAddAVUMetadata (rsComm_t *rsComm, int adminMode, const char *type, const char *name, const char *attribute, const char *value, const char *units)
 
int chlAddAVUMetadataWild (rsComm_t *rsComm, int adminMode, const char *type, const char *name, const char *attribute, const char *value, const char *units)
 
int chlDeleteAVUMetadata (rsComm_t *rsComm, int option, const char *type, const char *name, const char *attribute, const char *value, const char *units, int noCommit)
 
int chlSetAVUMetadata (rsComm_t *rsComm, const char *type, const char *name, const char *attribute, const char *newValue, const char *newUnit)
 
int chlCopyAVUMetadata (rsComm_t *rsComm, const char *type1, const char *type2, const char *name1, const char *name2)
 
int chlModAVUMetadata (rsComm_t *rsComm, const char *type, const char *name, const char *attribute, const char *value, const char *unitsOrChange0, const char *change1, const char *change2, const char *change3)
 
int chlModAccessControl (rsComm_t *rsComm, int recursiveFlag, const char *accessLevel, const char *userName, const char *zone, const char *pathName)
 
int chlRegRuleExec (rsComm_t *rsComm, ruleExecSubmitInp_t *ruleExecSubmitInp)
 
int chlModRuleExec (rsComm_t *rsComm, const char *ruleExecId, keyValPair_t *regParam)
 
int chlDelRuleExec (rsComm_t *rsComm, const char *ruleExecId)
 
int chlRenameObject (rsComm_t *rsComm, rodsLong_t objId, const char *newName)
 
int chlMoveObject (rsComm_t *rsComm, rodsLong_t objId, rodsLong_t targetCollId)
 
int chlRegToken (rsComm_t *rsComm, const char *nameSpace, const char *name, const char *value, const char *value2, const char *value3, const char *comment)
 
int chlDelToken (rsComm_t *rsComm, const char *nameSpace, const char *Name)
 
int chlRegZone (rsComm_t *rsComm, const char *zoneName, const char *zoneType, const char *zoneConnInfo, const char *zoneComment)
 
int chlModZone (rsComm_t *rsComm, const char *zoneName, const char *option, const char *optionValue)
 
int chlModZoneCollAcl (rsComm_t *rsComm, const char *accessLevel, const char *userName, const char *pathName)
 
int chlDelZone (rsComm_t *rsComm, const char *zoneName)
 
int chlRenameLocalZone (rsComm_t *rsComm, const char *oldZoneName, const char *newZoneName)
 
int chlRenameColl (rsComm_t *rsComm, const char *oldName, const char *newName)
 
int chlRegServerLoad (rsComm_t *rsComm, const char *hostName, const char *rescName, const char *cpuUsed, const char *memUsed, const char *swapUsed, const char *runqLoad, const char *diskSpace, const char *netInput, const char *netOutput)
 
int chlPurgeServerLoad (rsComm_t *rsComm, const char *secondsAgo)
 
int chlRegServerLoadDigest (rsComm_t *rsComm, const char *rescName, const char *loadFactor)
 
int chlPurgeServerLoadDigest (rsComm_t *rsComm, const char *secondsAgo)
 
int chlCalcUsageAndQuota (rsComm_t *rsComm)
 
int chlSetQuota (rsComm_t *rsComm, const char *type, const char *name, const char *rescName, const char *limit)
 
int chlCheckQuota (rsComm_t *rsComm, const char *userName, const char *rescName, rodsLong_t *userQuota, int *quotaStatus)
 
int chlDelUnusedAVUs (rsComm_t *rsComm)
 
int chlAddSpecificQuery (rsComm_t *rsComm, const char *alias, const char *sql)
 
int chlDelSpecificQuery (rsComm_t *rsComm, const char *sqlOrAlias)
 
int chlGetLocalZone (std::string &)
 
int sTableInit ()
 
int sFklink (const char *table1, const char *table2, const char *connectingSQL)
 
int sTable (const char *tableName, const char *tableAlias, int cycler)
 
int sColumn (int defineVal, const char *tableName, const char *columnName)
 
int chlDebug (const char *debugMode)
 
int chlDebugGenQuery (int mode)
 
int chlDebugGenUpdate (int mode)
 
int chlInsRuleTable (rsComm_t *rsComm, const char *baseName, const char *priorityStr, const char *ruleName, const char *ruleHead, const char *ruleCondition, const char *ruleAction, const char *ruleRecovery, const char *ruleIdStr, const char *myTime)
 
int chlVersionRuleBase (rsComm_t *rsComm, const char *baseName, const char *myTime)
 
int chlVersionDvmBase (rsComm_t *rsComm, const char *baseName, const char *myTime)
 
int chlInsDvmTable (rsComm_t *rsComm, const char *baseName, const char *varName, const char *action, const char *var2CMap, const char *myTime)
 
int chlInsFnmTable (rsComm_t *rsComm, const char *baseName, const char *funcName, const char *func2CMap, const char *myTime)
 
int chlInsMsrvcTable (rsComm_t *rsComm, const char *moduleName, const char *msrvcName, const char *msrvcSignature, const char *msrvcVersion, const char *msrvcHost, const char *msrvcLocation, const char *msrvcLanguage, const char *msrvcTypeName, const char *msrvcStatus, const char *myTime)
 
int chlVersionFnmBase (rsComm_t *rsComm, const char *baseName, const char *myTime)
 
int chlModTicket (rsComm_t *rsComm, const char *opName, const char *ticket, const char *arg1, const char *arg2, const char *arg3)
 
int chlUpdateIrodsPamPassword (rsComm_t *rsComm, const char *userName, int timeToLive, const char *testTime, char **irodsPassword)
 
int chlGetDistinctDataObjsMissingFromChildGivenParent (const std::string &_parent, const std::string &_child, int _limit, const std::string &_invocation_timestamp, dist_child_result_t &_results)
 
int chlGetDistinctDataObjCountOnResource (const std::string &_resc_name, long long &_count)
 
int chlGetHierarchyForResc (const std::string &resc_name, const std::string &zone_name, std::string &hierarchy)
 
int chlCheckAndGetObjectID (rsComm_t *, char *, char *, char *)
 
int chlGetRcs (icatSessionStruct **)
 
int chlGetReplListForLeafBundles (rodsLong_t _count, size_t _child_idx, const std::vector< leaf_bundle_t > *_bundles, const std::string *_invocation_timestamp, dist_child_result_t *_results)
 

Variables

icatSessionStruct icss
 

Typedef Documentation

◆ dist_child_result_t

typedef std::vector< rodsLong_t > dist_child_result_t

=-=-=-=-=-=-=-

Description:\n typedefs and prototype for query used for rebalancing operation

Definition at line 192 of file icatHighLevelRoutines.hpp.

◆ leaf_bundle_t

Function Documentation

◆ checkAndGetObjectId()

rodsLong_t checkAndGetObjectId ( rsComm_t rsComm,
const char *  type,
const char *  name,
const char *  access 
)

◆ chlAddAVUMetadata()

int chlAddAVUMetadata ( rsComm_t rsComm,
int  adminMode,
const char *  type,
const char *  name,
const char *  attribute,
const char *  value,
const char *  units 
)

Definition at line 2575 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_ADD_AVU_METADATA(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAVUMetadata(), and db_set_avu_metadata_op().

Here is the call graph for this function:

◆ chlAddAVUMetadataWild()

int chlAddAVUMetadataWild ( rsComm_t rsComm,
int  adminMode,
const char *  type,
const char *  name,
const char *  attribute,
const char *  value,
const char *  units 
)

Definition at line 2510 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_ADD_AVU_METADATA_WILD(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAVUMetadata().

Here is the call graph for this function:

◆ chlAddChildResc()

int chlAddChildResc ( rsComm_t _comm,
std::map< std::string, std::string > &  _resc_input 
)

=-=-=-=-=-=-=-

Description:\n Adds the child, with context, to the resource all specified in the resc_input map

Definition at line 819 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_ADD_CHILD_RESC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _addChildToResource().

Here is the call graph for this function:

◆ chlAddSpecificQuery()

int chlAddSpecificQuery ( rsComm_t rsComm,
const char *  alias,
const char *  sql 
)

Definition at line 4076 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_ADD_SPECIFIC_QUERY(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlCalcUsageAndQuota()

int chlCalcUsageAndQuota ( rsComm_t rsComm)

Definition at line 3423 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_CALC_USAGE_AND_QUOTA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), and msiQuota().

Here is the call graph for this function:

◆ chlCheckAndGetObjectID()

int chlCheckAndGetObjectID ( rsComm_t ,
char *  ,
char *  ,
char *   
)

Definition at line 318 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_CHECK_AND_GET_OBJ_ID(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by chkCollForBundleOpr().

Here is the call graph for this function:

◆ chlCheckAuth()

int chlCheckAuth ( rsComm_t rsComm,
const char *  scheme,
const char *  challenge,
const char *  response,
const char *  username,
int userPrivLevel,
int clientPrivLevel 
)

Definition at line 1884 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_CHECK_AUTH(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by rsAuthCheck().

Here is the call graph for this function:

◆ chlCheckQuota()

int chlCheckQuota ( rsComm_t rsComm,
const char *  userName,
const char *  rescName,
rodsLong_t userQuota,
int quotaStatus 
)

Definition at line 3525 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_CHECK_QUOTA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Here is the call graph for this function:

◆ chlClose()

int chlClose ( )

=-=-=-=-=-=-=-

Description:\n Close an open connection to the database.
Clean up and shutdown the connection.

Definition at line 164 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_CLOSE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, PASSMSG, and PLUGIN_ERROR.

Referenced by chlOpen(), and disconnectRcat().

Here is the call graph for this function:

◆ chlCommit()

int chlCommit ( rsComm_t rsComm)

Definition at line 1090 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_COMMIT(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsBulkDataObjReg(), _rsDataObjRename(), _rsEndTransaction(), _rsGeneralAdmin(), _rsModColl(), msiCommit(), and svrUnregColl().

Here is the call graph for this function:

◆ chlCopyAVUMetadata()

int chlCopyAVUMetadata ( rsComm_t rsComm,
const char *  type1,
const char *  type2,
const char *  name1,
const char *  name2 
)

Definition at line 2779 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_COPY_AVU_METADATA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAVUMetadata().

Here is the call graph for this function:

◆ chlDebug()

int chlDebug ( const char *  debugMode)

Definition at line 51 of file icatHighLevelRoutines.cpp.

References auditEnabled, logSQL, logSQL_CML, logSQLGenQuery, logSQLGenUpdate, mode, and irods::transform().

Referenced by runIrodsAgentFactory().

Here is the call graph for this function:

◆ chlDebugGenQuery()

int chlDebugGenQuery ( int  mode)

Definition at line 2576 of file general_query.cpp.

References logSQLGenQuery, and mode.

◆ chlDebugGenUpdate()

int chlDebugGenUpdate ( int  mode)

Definition at line 249 of file general_update.cpp.

References logSQLGenUpdate, and mode.

◆ chlDelChildResc()

int chlDelChildResc ( rsComm_t _comm,
std::map< std::string, std::string > &  _resc_input 
)

=-=-=-=-=-=-=-

Description:\n Remove a child from its parent

Definition at line 923 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_CHILD_RESC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _removeChildFromResource().

Here is the call graph for this function:

◆ chlDelColl()

int chlDelColl ( rsComm_t rsComm,
collInfo_t collInfo 
)

Definition at line 1824 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_COLL(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), and svrUnregColl().

Here is the call graph for this function:

◆ chlDelCollByAdmin()

int chlDelCollByAdmin ( rsComm_t rsComm,
collInfo_t collInfo 
)

Definition at line 1774 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_COLL_BY_ADMIN(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), msiDeleteCollByAdmin(), and svrUnregColl().

Here is the call graph for this function:

◆ chlDeleteAVUMetadata()

int chlDeleteAVUMetadata ( rsComm_t rsComm,
int  option,
const char *  type,
const char *  name,
const char *  attribute,
const char *  value,
const char *  units,
int  noCommit 
)

Definition at line 2711 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_AVU_METADATA(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAVUMetadata(), and db_set_avu_metadata_op().

Here is the call graph for this function:

◆ chlDelResc()

int chlDelResc ( rsComm_t rsComm,
const std::string &  _resc_name,
int  _dryrun = 0 
)

Definition at line 977 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_RESC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlDelRuleExec()

int chlDelRuleExec ( rsComm_t rsComm,
const char *  ruleExecId 
)

Definition at line 769 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_RULE_EXEC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsRuleExecDel().

Here is the call graph for this function:

◆ chlDelSpecificQuery()

int chlDelSpecificQuery ( rsComm_t rsComm,
const char *  sqlOrAlias 
)

Definition at line 4127 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_SPECIFIC_QUERY(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlDelToken()

int chlDelToken ( rsComm_t rsComm,
const char *  nameSpace,
const char *  Name 
)

Definition at line 3135 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_TOKEN(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlDelUnusedAVUs()

int chlDelUnusedAVUs ( rsComm_t rsComm)

Definition at line 3583 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_UNUSED_AVUS(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), and msiDeleteUnusedAVUs().

Here is the call graph for this function:

◆ chlDelUserRE()

int chlDelUserRE ( rsComm_t rsComm,
userInfo_t userInfo 
)

Definition at line 1137 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_USER_RE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by msiDeleteUser().

Here is the call graph for this function:

◆ chlDelZone()

int chlDelZone ( rsComm_t rsComm,
const char *  zoneName 
)

Definition at line 1628 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_DEL_ZONE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlGeneralUpdate()

int chlGeneralUpdate ( generalUpdateInp_t  generalUpdateInp)

Definition at line 4619 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GENERAL_UPDATE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralUpdate().

Here is the call graph for this function:

◆ chlGenQuery()

int chlGenQuery ( genQueryInp_t  genQueryInp,
genQueryOut_t result 
)

Definition at line 4462 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GEN_QUERY(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGenQuery(), and chl_gen_query_impl().

Here is the call graph for this function:

◆ chlGenQueryAccessControlSetup()

int chlGenQueryAccessControlSetup ( const char *  user,
const char *  zone,
const char *  host,
int  priv,
int  controlFlag 
)

Definition at line 4511 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GEN_QUERY_ACCESS_CONTROL_SETUP(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGenQuery(), and msiAclPolicy().

Here is the call graph for this function:

◆ chlGenQueryTicketSetup()

int chlGenQueryTicketSetup ( const char *  ticket,
const char *  clientAddr 
)

Definition at line 4569 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GEN_QUERY_TICKET_SETUP(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Here is the call graph for this function:

◆ chlGetDistinctDataObjCountOnResource()

int chlGetDistinctDataObjCountOnResource ( const std::string &  _resc_name,
long long &  _count 
)

=-=-=-=-=-=-=-

Description:\n the the distinct data object count for a resource

=-=-=-=-=-=-=-

Description:\n return the distinct object count of a resource in a hierarchy

Definition at line 4234 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GET_DISTINCT_DATA_OBJ_COUNT_ON_RESOURCE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Here is the call graph for this function:

◆ chlGetDistinctDataObjsMissingFromChildGivenParent()

int chlGetDistinctDataObjsMissingFromChildGivenParent ( const std::string &  _parent,
const std::string &  _child,
int  _limit,
const std::string &  _invocation_timestamp,
dist_child_result_t _results 
)

=-=-=-=-=-=-=-

Description:\n query which distinct data objects do not existin on a
given child resource which do exist on the parent

=-=-=-=-=-=-=-

Description:\n return a map of data object who do not
appear on a given child resource but who are a member of a given parent resource node

Definition at line 4287 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GET_DISTINCT_DATA_OBJS_MISSING_FROM_CHILD_GIVEN_PARENT(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Here is the call graph for this function:

◆ chlGetHierarchyForResc()

int chlGetHierarchyForResc ( const std::string &  _resc_name,
const std::string &  _zone_name,
std::string &  _hierarchy 
)

=-=-=-=-=-=-=-

Description:\n Given a resource, resolves the hierarchy down to said resource

Definition at line 4347 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GET_HIERARCHY_FOR_RESC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGetHierarchyForResc().

Here is the call graph for this function:

◆ chlGetLocalZone()

int chlGetLocalZone ( std::string &  )

Definition at line 270 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GET_LOCAL_ZONE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by checkCondInputAccess(), and generateSpecialQuery().

Here is the call graph for this function:

◆ chlGetRcs()

int chlGetRcs ( icatSessionStruct **  )

Definition at line 222 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GET_RCS(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by chl_gen_query_impl(), and chl_general_update_impl().

Here is the call graph for this function:

◆ chlGetReplListForLeafBundles()

int chlGetReplListForLeafBundles ( rodsLong_t  _count,
size_t  _child_idx,
const std::vector< leaf_bundle_t > *  _bundles,
const std::string *  _invocation_timestamp,
dist_child_result_t _results 
)

Definition at line 4665 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_GET_REPL_LIST_FOR_LEAF_BUNDLES(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by irods::create_missing_replicas().

Here is the call graph for this function:

◆ chlInsDvmTable()

int chlInsDvmTable ( rsComm_t rsComm,
const char *  baseName,
const char *  varName,
const char *  action,
const char *  var2CMap,
const char *  myTime 
)

Definition at line 3709 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_INS_DVM_TABLE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlInsFnmTable()

int chlInsFnmTable ( rsComm_t rsComm,
const char *  baseName,
const char *  funcName,
const char *  func2CMap,
const char *  myTime 
)

Definition at line 3773 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_INS_FNM_TABLE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlInsMsrvcTable()

int chlInsMsrvcTable ( rsComm_t rsComm,
const char *  moduleName,
const char *  msrvcName,
const char *  msrvcSignature,
const char *  msrvcVersion,
const char *  msrvcHost,
const char *  msrvcLocation,
const char *  msrvcLanguage,
const char *  msrvcTypeName,
const char *  msrvcStatus,
const char *  myTime 
)

Definition at line 3834 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_INS_MSRVC_TABLE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlInsRuleTable()

int chlInsRuleTable ( rsComm_t rsComm,
const char *  baseName,
const char *  priorityStr,
const char *  ruleName,
const char *  ruleHead,
const char *  ruleCondition,
const char *  ruleAction,
const char *  ruleRecovery,
const char *  ruleIdStr,
const char *  myTime 
)

Definition at line 3633 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_INS_RULE_TABLE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlIsConnected()

int chlIsConnected ( )

◆ chlMakeLimitedPw()

int chlMakeLimitedPw ( rsComm_t rsComm,
int  ttl,
char *  pwValueToHash 
)

Definition at line 1987 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MAKE_LIMITED_PW(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGetLimitedPassword().

Here is the call graph for this function:

◆ chlMakeTempPw()

int chlMakeTempPw ( rsComm_t rsComm,
char *  pwValueToHash,
const char *  otherUser 
)

Definition at line 1935 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MAKE_TEMP_PW(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGetTempPassword(), and _rsGetTempPasswordForOther().

Here is the call graph for this function:

◆ chlModAccessControl()

int chlModAccessControl ( rsComm_t rsComm,
int  recursiveFlag,
const char *  accessLevel,
const char *  userName,
const char *  zone,
const char *  pathName 
)

Definition at line 2900 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_ACCESS_CONTROL(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAccessControl(), and db_mod_zone_coll_acl_op().

Here is the call graph for this function:

◆ chlModAVUMetadata()

int chlModAVUMetadata ( rsComm_t rsComm,
const char *  type,
const char *  name,
const char *  attribute,
const char *  value,
const char *  unitsOrChange0,
const char *  change1,
const char *  change2,
const char *  change3 
)

Definition at line 2639 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_AVU_METADATA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAVUMetadata().

Here is the call graph for this function:

◆ chlModColl()

int chlModColl ( rsComm_t rsComm,
collInfo_t collInfo 
)

Definition at line 1302 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_COLL(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModColl().

Here is the call graph for this function:

◆ chlModDataObjMeta()

int chlModDataObjMeta ( rsComm_t rsComm,
dataObjInfo_t dataObjInfo,
keyValPair_t regParam 
)

Definition at line 436 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_DATA_OBJ_META(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModDataObjMeta().

Here is the call graph for this function:

◆ chlModGroup()

int chlModGroup ( rsComm_t rsComm,
const char *  groupName,
const char *  option,
const char *  userName,
const char *  userZone 
)

Definition at line 2164 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_GROUP(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), _rsUserAdmin(), and msiAddUserToGroup().

Here is the call graph for this function:

◆ chlModResc()

int chlModResc ( rsComm_t rsComm,
const char *  rescName,
const char *  option,
const char *  optionValue 
)

Definition at line 2223 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_RESC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), and rsSetRoundRobinContext().

Here is the call graph for this function:

◆ chlModRescDataPaths()

int chlModRescDataPaths ( rsComm_t rsComm,
const char *  rescName,
const char *  oldPath,
const char *  newPath,
const char *  userName 
)

Definition at line 2279 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_RESC_DATA_PATHS(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlModRescFreeSpace()

int chlModRescFreeSpace ( rsComm_t rsComm,
const char *  rescName,
int  updateValue 
)

Definition at line 2339 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_RESC_FREESPACE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Here is the call graph for this function:

◆ chlModRuleExec()

int chlModRuleExec ( rsComm_t rsComm,
const char *  ruleExecId,
keyValPair_t regParam 
)

Definition at line 716 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_RULE_EXEC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsRuleExecMod().

Here is the call graph for this function:

◆ chlModTicket()

int chlModTicket ( rsComm_t _comm,
const char *  _op_name,
const char *  _ticket_string,
const char *  _arg3,
const char *  _arg4,
const char *  _arg5 
)

=-=-=-=-=-=-=-

Description:\n Administrative operations on a ticket.
create, modify, and remove. ticketString is either the ticket-string or ticket-id.

Definition at line 4403 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_TICKET(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsTicketAdmin().

Here is the call graph for this function:

◆ chlModUser()

int chlModUser ( rsComm_t rsComm,
const char *  userName,
const char *  option,
const char *  newValue 
)

Definition at line 2106 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_USER(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), _rsUserAdmin(), and db_reg_user_re_op().

Here is the call graph for this function:

◆ chlModZone()

int chlModZone ( rsComm_t rsComm,
const char *  zoneName,
const char *  option,
const char *  optionValue 
)

Definition at line 1411 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_ZONE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlModZoneCollAcl()

int chlModZoneCollAcl ( rsComm_t rsComm,
const char *  accessLevel,
const char *  userName,
const char *  pathName 
)

Definition at line 1520 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOD_ZONE_COLL_ACL(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlMoveObject()

int chlMoveObject ( rsComm_t rsComm,
rodsLong_t  objId,
rodsLong_t  targetCollId 
)

Definition at line 3016 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_MOVE_OBJECT(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsDataObjRename().

Here is the call graph for this function:

◆ chlOpen()

int chlOpen ( )

=-=-=-=-=-=-=-

Description:\n Open a connection to the database. This has to be called first.
The server/agent and Rule-Engine Server call this when initializing.

Definition at line 86 of file icatHighLevelRoutines.cpp.

References irods::CFG_PLUGIN_CONFIGURATION_KW(), chlClose(), irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_OPEN(), database_plugin_type, terminate_irods_processes::e, irods::log(), LOG_ERROR, irods::error::ok(), PASS, PASSMSG, PLUGIN_ERROR, irods::PLUGIN_TYPE_DATABASE(), rodsLog(), and SYS_INVALID_INPUT_PARAM.

Referenced by connectRcat().

Here is the call graph for this function:

◆ chlPurgeServerLoad()

int chlPurgeServerLoad ( rsComm_t rsComm,
const char *  secondsAgo 
)

Definition at line 3267 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_PURGE_SERVER_LOAD(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowPurge().

Here is the call graph for this function:

◆ chlPurgeServerLoadDigest()

int chlPurgeServerLoadDigest ( rsComm_t rsComm,
const char *  secondsAgo 
)

Definition at line 3375 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_PURGE_SERVER_LOAD_DIGEST(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowPurge().

Here is the call graph for this function:

◆ chlRegColl()

int chlRegColl ( rsComm_t rsComm,
collInfo_t collInfo 
)

Definition at line 1246 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_COLL(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), and _rsRegColl().

Here is the call graph for this function:

◆ chlRegCollByAdmin()

int chlRegCollByAdmin ( rsComm_t rsComm,
collInfo_t collInfo 
)

Definition at line 1190 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_COLL_BY_ADMIN(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin(), and msiCreateCollByAdmin().

Here is the call graph for this function:

◆ chlRegDataObj()

int chlRegDataObj ( rsComm_t rsComm,
dataObjInfo_t dataObjInfo 
)

Definition at line 491 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_DATA_OBJ(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsRegDataObj().

Here is the call graph for this function:

◆ chlRegReplica()

int chlRegReplica ( rsComm_t rsComm,
dataObjInfo_t srcDataObjInfo,
dataObjInfo_t dstDataObjInfo,
keyValPair_t condInput 
)

Definition at line 546 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_REPLICA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsRegReplica().

Here is the call graph for this function:

◆ chlRegResc()

int chlRegResc ( rsComm_t rsComm,
std::map< std::string, std::string > &  _resc_input 
)

Definition at line 873 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_RESC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _addResource().

Here is the call graph for this function:

◆ chlRegRuleExec()

int chlRegRuleExec ( rsComm_t rsComm,
ruleExecSubmitInp_t ruleExecSubmitInp 
)

Definition at line 661 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_RULE_EXEC(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsRuleExecSubmit().

Here is the call graph for this function:

◆ chlRegRuleExecObj()

int chlRegRuleExecObj ( rsComm_t rsComm,
ruleExecSubmitInp_t ruleExecSubmitInp 
)

◆ chlRegServerLoad()

int chlRegServerLoad ( rsComm_t rsComm,
const char *  hostName,
const char *  rescName,
const char *  cpuUsed,
const char *  memUsed,
const char *  swapUsed,
const char *  runqLoad,
const char *  diskSpace,
const char *  netInput,
const char *  netOutput 
)

Definition at line 3190 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_SERVER_LOAD(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlRegServerLoadDigest()

int chlRegServerLoadDigest ( rsComm_t rsComm,
const char *  rescName,
const char *  loadFactor 
)

Definition at line 3319 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_SERVER_LOAD_DIGEST(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlRegToken()

int chlRegToken ( rsComm_t rsComm,
const char *  nameSpace,
const char *  name,
const char *  value,
const char *  value2,
const char *  value3,
const char *  comment 
)

Definition at line 3069 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_TOKEN(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlRegUserRE()

int chlRegUserRE ( rsComm_t rsComm,
userInfo_t userInfo 
)

Definition at line 2392 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_USER_RE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by msiCreateUser().

Here is the call graph for this function:

◆ chlRegZone()

int chlRegZone ( rsComm_t rsComm,
const char *  zoneName,
const char *  zoneType,
const char *  zoneConnInfo,
const char *  zoneComment 
)

Definition at line 1352 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_REG_ZONE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlRenameColl()

int chlRenameColl ( rsComm_t rsComm,
const char *  oldName,
const char *  newName 
)

Definition at line 1467 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_RENAME_COLL(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlRenameLocalZone()

int chlRenameLocalZone ( rsComm_t rsComm,
const char *  oldZoneName,
const char *  newZoneName 
)

Definition at line 1576 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_RENAME_LOCAL_ZONE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by msiRenameLocalZone().

Here is the call graph for this function:

◆ chlRenameObject()

int chlRenameObject ( rsComm_t rsComm,
rodsLong_t  objId,
const char *  newName 
)

Definition at line 2962 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_RENAME_OBJECT(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsDataObjRename(), and db_rename_coll_op().

Here is the call graph for this function:

◆ chlRollback()

int chlRollback ( rsComm_t rsComm)

◆ chlSetAVUMetadata()

int chlSetAVUMetadata ( rsComm_t rsComm,
const char *  type,
const char *  name,
const char *  attribute,
const char *  newValue,
const char *  newUnit 
)

Definition at line 2443 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_SET_AVU_METADATA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsModAVUMetadata().

Here is the call graph for this function:

◆ chlSetQuota()

int chlSetQuota ( rsComm_t rsComm,
const char *  type,
const char *  name,
const char *  rescName,
const char *  limit 
)

Definition at line 3468 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_SET_QUOTA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralAdmin().

Here is the call graph for this function:

◆ chlSimpleQuery()

int chlSimpleQuery ( rsComm_t rsComm,
const char *  sql,
const char *  arg1,
const char *  arg2,
const char *  arg3,
const char *  arg4,
int  format,
int control,
char *  outBuf,
int  maxOutBuf 
)

Definition at line 1699 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_SIMPLE_QUERY(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsSimpleQuery().

Here is the call graph for this function:

◆ chlSpecificQuery()

int chlSpecificQuery ( specificQueryInp_t  specificQueryInp,
genQueryOut_t genQueryOut 
)

Definition at line 4183 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_SPECIFIC_QUERY(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsSpecificQuery().

Here is the call graph for this function:

◆ chlUnregDataObj()

int chlUnregDataObj ( rsComm_t _comm,
dataObjInfo_t _data_obj_info,
keyValPair_t _cond_input 
)

=-=-=-=-=-=-=-

Description:\n unregDataObj - Unregister a data object
Input - rsComm_t *rsComm - the server handle dataObjInfo_t *dataObjInfo - contains info about the data object. keyValPair_t *condInput - used to specify a admin-mode.

Definition at line 605 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_UNREG_REPLICA(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsUnregDataObj().

Here is the call graph for this function:

◆ chlUpdateIrodsPamPassword()

int chlUpdateIrodsPamPassword ( rsComm_t rsComm,
const char *  userName,
int  timeToLive,
const char *  testTime,
char **  irodsPassword 
)

Definition at line 2046 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_UPDATE_PAM_PASSWORD(), database_plugin_type, int(), irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsPamAuthRequest().

Here is the call graph for this function:

◆ chlUpdateRescObjCount()

int chlUpdateRescObjCount ( const std::string &  _resc,
int  _delta 
)

◆ chlVersionDvmBase()

int chlVersionDvmBase ( rsComm_t rsComm,
const char *  baseName,
const char *  myTime 
)

Definition at line 3969 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_VERSION_DVM_BASE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlVersionFnmBase()

int chlVersionFnmBase ( rsComm_t rsComm,
const char *  baseName,
const char *  myTime 
)

Definition at line 4025 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_VERSION_FNM_BASE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ chlVersionRuleBase()

int chlVersionRuleBase ( rsComm_t rsComm,
const char *  baseName,
const char *  myTime 
)

Definition at line 3913 of file icatHighLevelRoutines.cpp.

References irods::error::code(), irods::database_factory(), irods::DATABASE_INTERFACE(), irods::DATABASE_OP_VERSION_RULE_BASE(), database_plugin_type, irods::log(), irods::error::ok(), PASS, and PASSMSG.

Referenced by _rsGeneralRowInsert().

Here is the call graph for this function:

◆ decodePw()

int decodePw ( rsComm_t rsComm,
const char *  in,
char *  out 
)

Definition at line 1035 of file db_plugin.cpp.

References _rollback(), addRErrorMsg(), CAT_INVALID_USER, CAT_NO_ROWS_FOUND, CAT_PASSWORD_ENCODING_ERROR, rsComm_t::clientUser, cmlGetStringValueFromSql(), icatDescramble(), icss, LOG_SQL, logSQL, MAX_PASSWORD_LEN, NULL, obfDecodeByKeyV2(), manual_cleanup::out, prevChalSig, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, and userInfo_t::userName.

Referenced by db_mod_user_op().

Here is the call graph for this function:

◆ sColumn()

int sColumn ( int  defineVal,
const char *  tableName,
const char *  columnName 
)

Definition at line 218 of file general_query.cpp.

References CAT_TOO_MANY_TABLES, irods.pyparsing::columnName, Columns, debug, tColumns::defineValue, LOG_ERROR, MAX_LINKS_TABLES_OR_COLUMNS, nColumns, rodsLog(), and irods.pyparsing::tableName.

Referenced by icatGeneralQuerySetup().

Here is the call graph for this function:

◆ sFklink()

int sFklink ( const char *  table1,
const char *  table2,
const char *  connectingSQL 
)

Definition at line 157 of file general_query.cpp.

References CAT_TOO_MANY_TABLES, debug, debug2, fkFindName(), Links, LOG_ERROR, MAX_LINKS_TABLES_OR_COLUMNS, nLinks, rodsLog(), tlinks::table1, and tlinks::table2.

Referenced by icatGeneralQuerySetup().

Here is the call graph for this function:

◆ sTable()

int sTable ( const char *  tableName,
const char *  tableAlias,
int  cycler 
)

Definition at line 202 of file general_query.cpp.

References CAT_TOO_MANY_TABLES, tTables::cycler, debug, LOG_ERROR, MAX_LINKS_TABLES_OR_COLUMNS, nTables, rodsLog(), irods.pyparsing::tableName, and Tables.

Referenced by icatGeneralQuerySetup().

Here is the call graph for this function:

◆ sTableInit()

int sTableInit ( )

Definition at line 179 of file general_query.cpp.

References Columns, Links, nColumns, nLinks, nTables, and Tables.

Referenced by icatGeneralQuerySetup().

Variable Documentation

◆ icss

Definition at line 97 of file db_plugin.cpp.

Referenced by _canConnectToCatalog(), _childIsValid(), _cllExecSqlNoResult(), _cllFreeStatementColumns(), _delColl(), _modInheritance(), _rescHasParentOrChild(), _rollback(), _updateChildParent(), _userInRUserAuth(), checkAndGetObjectId(), checkCondInputAccess(), checkObjIdByTicket(), chl_gen_query_impl(), chl_general_update_impl(), cllCloseEnv(), cllConnect(), cllDisconnect(), cllExecSqlNoResult(), cllExecSqlWithResult(), cllExecSqlWithResultBV(), cllFreeStatement(), cllGetRow(), cllGetRowCount(), cllOpenEnv(), cmlAudit1(), cmlAudit2(), cmlAudit3(), cmlAudit4(), cmlAudit5(), cmlCheckDataObjId(), cmlCheckDataObjOnly(), cmlCheckDataObjOwn(), cmlCheckDir(), cmlCheckDirAndGetInheritFlag(), cmlCheckDirId(), cmlCheckDirOwn(), cmlCheckGroupAdminAccess(), cmlCheckNameToken(), cmlCheckResc(), cmlCheckTicketRestrictions(), cmlCheckUserInGroup(), cmlClose(), cmlExecuteNoAnswerSql(), cmlFreeStatement(), cmlGetCurrentSeqVal(), cmlGetFirstRowFromSql(), cmlGetFirstRowFromSqlBV(), cmlGetGroupMemberCount(), cmlGetIntegerValueFromSql(), cmlGetIntegerValueFromSqlV3(), cmlGetMultiRowStringValuesFromSql(), cmlGetNextRowFromStatement(), cmlGetNextSeqStr(), cmlGetNextSeqVal(), cmlGetOneRowFromSql(), cmlGetOneRowFromSqlBV(), cmlGetOneRowFromSqlV2(), cmlGetOneRowFromSqlV3(), cmlGetStringValueFromSql(), cmlGetStringValuesFromSql(), cmlModifySingleTable(), cmlOpen(), cmlTest(), cmlTicketUpdateWriteBytes(), db_add_avu_metadata_wild_op(), db_add_child_resc_op(), db_check_auth_op(), db_close_op(), db_commit_op(), db_del_child_resc_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_user_re_op(), db_del_zone_op(), db_get_local_zone_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_coll_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_user_op(), db_mod_zone_op(), db_open_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_user_re_op(), db_reg_zone_op(), db_rename_coll_op(), db_rename_local_zone_op(), db_rollback_op(), db_set_avu_metadata_op(), db_simple_query_op_vector(), db_unreg_replica_op(), db_update_pam_password_op(), decodePw(), determine_user_has_modify_metadata_access(), findAVU(), findOrInsertAVU(), icatGetTicketGroupId(), icatGetTicketUserId(), postgres_database_plugin::postgres_database_plugin(), removeAVUs(), removeMetaMapAndAVU(), and setOverQuota().