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
Go to the documentation of this file.
1 
3 
5 #ifndef ICAT_HIGHLEVEL_ROUTINES_HPP
6 #define ICAT_HIGHLEVEL_ROUTINES_HPP
7 
8 #include "objInfo.h"
9 #include "ruleExecSubmit.h"
10 #include "rcConnect.h"
11 #include "icatStructs.hpp"
12 #include "rodsGeneralUpdate.h"
13 #include "specificQuery.h"
14 #include "phyBundleColl.h"
17 
18 #include <sys/socket.h>
19 #include <netinet/in.h>
20 #include <arpa/inet.h>
21 
22 #include <string>
23 #include <vector>
24 #include <map>
25 
26 #include <boost/tuple/tuple.hpp>
27 
28 #include "irods_error.hpp"
29 
30 extern icatSessionStruct icss;
31 
32 int chlOpen();
33 int chlClose();
35 int chlModDataObjMeta( rsComm_t *rsComm, dataObjInfo_t *dataObjInfo,
36  keyValPair_t *regParam );
37 int chlUpdateRescObjCount( const std::string& _resc, int _delta );
38 int chlRegDataObj( rsComm_t *rsComm, dataObjInfo_t *dataObjInfo );
40  ruleExecSubmitInp_t *ruleExecSubmitInp );
41 int chlRegReplica( rsComm_t *rsComm, dataObjInfo_t *srcDataObjInfo,
42  dataObjInfo_t *dstDataObjInfo, keyValPair_t *condInput );
43 int chlUnregDataObj( rsComm_t *rsComm, dataObjInfo_t *dataObjInfo,
44  keyValPair_t *condInput );
45 int chlRegResc( rsComm_t *rsComm, std::map<std::string, std::string>& _resc_input );
46 int chlAddChildResc( rsComm_t* rsComm, std::map<std::string, std::string>& _resc_input );
47 int chlDelResc( rsComm_t *rsComm, const std::string& _resc_name, int _dryrun = 0 ); // JMC
48 int chlDelChildResc( rsComm_t* rsComm, std::map<std::string, std::string>& _resc_input );
49 int chlRollback( rsComm_t *rsComm );
50 int chlCommit( rsComm_t *rsComm );
51 int chlDelUserRE( rsComm_t *rsComm, userInfo_t *userInfo );
52 int chlRegCollByAdmin( rsComm_t *rsComm, collInfo_t *collInfo );
53 int chlRegColl( rsComm_t *rsComm, collInfo_t *collInfo );
54 int chlModColl( rsComm_t *rsComm, collInfo_t *collInfo );
55 
56 int chlSimpleQuery( rsComm_t *rsComm, const char *sql,
57  const char *arg1, const char *arg2, const char *arg3, const char *arg4,
58  int format,
59  int *control, char *outBuf, int maxOutBuf );
60 int chlGenQuery( genQueryInp_t genQueryInp, genQueryOut_t *result );
61 int chlGenQueryAccessControlSetup( const char *user, const char *zone, const char *host,
62  int priv, int controlFlag );
63 int chlGenQueryTicketSetup( const char *ticket, const char *clientAddr );
64 int chlSpecificQuery( specificQueryInp_t specificQueryInp,
65  genQueryOut_t *genQueryOut );
66 
67 int chlGeneralUpdate( generalUpdateInp_t generalUpdateInp );
68 
69 int chlDelCollByAdmin( rsComm_t *rsComm, collInfo_t *collInfo );
70 int chlDelColl( rsComm_t *rsComm, collInfo_t *collInfo );
71 int chlCheckAuth( rsComm_t *rsComm, const char* scheme, const char *challenge, const char *response,
72  const char *username, int *userPrivLevel, int *clientPrivLevel );
73 int chlMakeTempPw( rsComm_t *rsComm, char *pwValueToHash, const char *otherUser );
74 int chlMakeLimitedPw( rsComm_t *rsComm, int ttl, char *pwValueToHash );
75 int decodePw( rsComm_t *rsComm, const char *in, char *out );
76 int chlModUser( rsComm_t *rsComm, const char *userName, const char *option,
77  const char *newValue );
78 int chlModGroup( rsComm_t *rsComm, const char *groupName, const char *option,
79  const char *userName, const char *userZone );
80 int chlModResc( rsComm_t *rsComm, const char *rescName, const char *option,
81  const char *optionValue );
82 int chlModRescDataPaths( rsComm_t *rsComm, const char *rescName, const char *oldPath,
83  const char *newPath, const char *userName );
84 int chlModRescFreeSpace( rsComm_t *rsComm, const char *rescName,
85  int updateValue );
86 int chlRegUserRE( rsComm_t *rsComm, userInfo_t *userInfo );
88  const char *name, const char *access );
89 int chlAddAVUMetadata( rsComm_t *rsComm, int adminMode, const char *type,
90  const char *name, const char *attribute, const char *value, const char *units );
91 int chlAddAVUMetadataWild( rsComm_t *rsComm, int adminMode, const char *type,
92  const char *name, const char *attribute, const char *value, const char *units );
93 int chlDeleteAVUMetadata( rsComm_t *rsComm, int option, const char *type,
94  const char *name, const char *attribute, const char *value, const char *units, int noCommit );
95 int chlSetAVUMetadata( rsComm_t *rsComm, const char *type, // JMC - backport 4836
96  const char *name, const char *attribute, const char *newValue, const char *newUnit );
97 int chlCopyAVUMetadata( rsComm_t *rsComm, const char *type1, const char *type2,
98  const char *name1, const char *name2 );
99 int chlModAVUMetadata( rsComm_t *rsComm, const char *type, const char *name,
100  const char *attribute, const char *value, const char *unitsOrChange0,
101  const char *change1, const char *change2, const char *change3 );
102 int chlModAccessControl( rsComm_t *rsComm, int recursiveFlag,
103  const char* accessLevel, const char *userName, const char *zone,
104  const char* pathName );
105 
106 int chlRegRuleExec( rsComm_t *rsComm, ruleExecSubmitInp_t *ruleExecSubmitInp );
107 int chlModRuleExec( rsComm_t *rsComm, const char *ruleExecId, keyValPair_t *regParam );
108 int chlDelRuleExec( rsComm_t *rsComm, const char *ruleExecId );
109 
110 int chlRenameObject( rsComm_t *rsComm, rodsLong_t objId, const char *newName );
111 int chlMoveObject( rsComm_t *rsComm, rodsLong_t objId, rodsLong_t targetCollId );
112 
113 int chlRegToken( rsComm_t *rsComm, const char *nameSpace, const char *name, const char *value,
114  const char *value2, const char *value3, const char *comment );
115 int chlDelToken( rsComm_t *rsComm, const char *nameSpace, const char *Name );
116 
117 int chlRegZone( rsComm_t *rsComm, const char *zoneName, const char *zoneType,
118  const char *zoneConnInfo, const char *zoneComment );
119 int chlModZone( rsComm_t *rsComm, const char *zoneName, const char *option,
120  const char *optionValue );
121 int chlModZoneCollAcl( rsComm_t *rsComm, const char* accessLevel, const char *userName,
122  const char* pathName );
123 int chlDelZone( rsComm_t *rsComm, const char *zoneName );
124 int chlRenameLocalZone( rsComm_t *rsComm, const char *oldZoneName, const char *newZoneName );
125 int chlRenameColl( rsComm_t *rsComm, const char *oldName, const char *newName );
126 
127 int chlRegServerLoad( rsComm_t *rsComm,
128  const char *hostName, const char *rescName,
129  const char *cpuUsed, const char *memUsed, const char *swapUsed, const char *runqLoad,
130  const char *diskSpace, const char *netInput, const char *netOutput );
131 int chlPurgeServerLoad( rsComm_t *rsComm, const char *secondsAgo );
132 int chlRegServerLoadDigest( rsComm_t *rsComm, const char *rescName, const char *loadFactor );
133 int chlPurgeServerLoadDigest( rsComm_t *rsComm, const char *secondsAgo );
134 
135 int chlCalcUsageAndQuota( rsComm_t *rsComm );
136 int chlSetQuota( rsComm_t *rsComm, const char *type, const char *name, const char *rescName,
137  const char *limit );
138 int chlCheckQuota( rsComm_t *rsComm, const char *userName, const char *rescName,
139  rodsLong_t *userQuota, int *quotaStatus );
140 int chlDelUnusedAVUs( rsComm_t *rsComm );
141 int chlAddSpecificQuery( rsComm_t *rsComm, const char *alias, const char *sql );
142 int chlDelSpecificQuery( rsComm_t *rsComm, const char *sqlOrAlias );
143 
144 int chlGetLocalZone( std::string& );
145 
146 int sTableInit();
147 int sFklink( const char *table1, const char *table2, const char *connectingSQL );
148 int sTable( const char *tableName, const char *tableAlias, int cycler );
149 int sColumn( int defineVal, const char *tableName, const char *columnName );
150 
151 int chlDebug( const char *debugMode );
152 int chlDebugGenQuery( int mode );
153 int chlDebugGenUpdate( int mode );
154 int chlInsRuleTable( rsComm_t *rsComm,
155  const char *baseName, const char *priorityStr, const char *ruleName,
156  const char *ruleHead, const char *ruleCondition, const char *ruleAction,
157  const char *ruleRecovery, const char *ruleIdStr, const char *myTime );
158 int chlVersionRuleBase( rsComm_t *rsComm,
159  const char *baseName, const char *myTime );
160 int chlVersionDvmBase( rsComm_t *rsComm,
161  const char *baseName, const char *myTime );
162 /*int chlDatabaseObjectAdmin(rsComm_t *rsComm,
163  databaseObjectAdminInp_t *databaseObjectAdminInp,
164  databaseObjectAdminOut_t *databaseObjectAdminOut);*/
165 int chlInsDvmTable( rsComm_t *rsComm,
166  const char *baseName, const char *varName, const char *action,
167  const char *var2CMap, const char *myTime );
168 int chlInsFnmTable( rsComm_t *rsComm,
169  const char *baseName, const char *funcName,
170  const char *func2CMap, const char *myTime );
171 int chlInsMsrvcTable( rsComm_t *rsComm,
172  const char *moduleName,
173  const char *msrvcName,
174  const char *msrvcSignature,
175  const char *msrvcVersion,
176  const char *msrvcHost,
177  const char *msrvcLocation,
178  const char *msrvcLanguage,
179  const char *msrvcTypeName,
180  const char *msrvcStatus,
181  const char *myTime );
182 int chlVersionFnmBase( rsComm_t *rsComm,
183  const char *baseName, const char *myTime );
184 int chlModTicket( rsComm_t *rsComm, const char *opName, const char *ticket,
185  const char *arg1, const char *arg2, const char *arg3 );
186 int chlUpdateIrodsPamPassword( rsComm_t *rsComm, const char *userName,
187  int timeToLive, const char *testTime,
188  char **irodsPassword );
189 
192 typedef std::vector< rodsLong_t > dist_child_result_t;
193 
198  const std::string& _parent,
199  const std::string& _child,
200  int _limit,
201  const std::string& _invocation_timestamp,
202  dist_child_result_t& _results );
203 
207  const std::string& _resc_name,
208  long long& _count );
209 
211  const std::string& resc_name,
212  const std::string& zone_name,
213  std::string& hierarchy );
214 
216  rsComm_t*, // comm
217  char*, // type
218  char*, // name
219  char* ); // access
220 
222 
224  rodsLong_t _count,
225  size_t _child_idx,
226  const std::vector<leaf_bundle_t>* _bundles,
227  const std::string* _invocation_timestamp,
228  dist_child_result_t* _results );
229 
230 #endif /* ICAT_HIGHLEVEL_ROUTINES_H */
chlDelCollByAdmin
int chlDelCollByAdmin(rsComm_t *rsComm, collInfo_t *collInfo)
Definition: icatHighLevelRoutines.cpp:1774
irods.pyparsing.tableName
def tableName
Definition: pyparsing.py:3817
rsComm_t
Definition: rcConnect.h:145
leaf_bundle_t
irods::resource_manager::leaf_bundle_t leaf_bundle_t
Definition: db_plugin.cpp:54
irods.pyparsing.columnName
def columnName
Definition: pyparsing.py:3815
chlMakeTempPw
int chlMakeTempPw(rsComm_t *rsComm, char *pwValueToHash, const char *otherUser)
Definition: icatHighLevelRoutines.cpp:1935
chlMakeLimitedPw
int chlMakeLimitedPw(rsComm_t *rsComm, int ttl, char *pwValueToHash)
Definition: icatHighLevelRoutines.cpp:1987
chlInsFnmTable
int chlInsFnmTable(rsComm_t *rsComm, const char *baseName, const char *funcName, const char *func2CMap, const char *myTime)
Definition: icatHighLevelRoutines.cpp:3773
userInfo_t
Definition: rodsUser.h:65
chlGenQueryTicketSetup
int chlGenQueryTicketSetup(const char *ticket, const char *clientAddr)
Definition: icatHighLevelRoutines.cpp:4569
sTableInit
int sTableInit()
Definition: general_query.cpp:179
chlCopyAVUMetadata
int chlCopyAVUMetadata(rsComm_t *rsComm, const char *type1, const char *type2, const char *name1, const char *name2)
Definition: icatHighLevelRoutines.cpp:2779
GeneralUpdateInp
Definition: rodsGeneralUpdate.h:27
rodsGeneralUpdate.h
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: icatHighLevelRoutines.cpp:4665
chlGenQueryAccessControlSetup
int chlGenQueryAccessControlSetup(const char *user, const char *zone, const char *host, int priv, int controlFlag)
Definition: icatHighLevelRoutines.cpp:4511
GenQueryInp
Definition: rodsGenQuery.h:24
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: icatHighLevelRoutines.cpp:3633
chlDelChildResc
int chlDelChildResc(rsComm_t *rsComm, std::map< std::string, std::string > &_resc_input)
Definition: icatHighLevelRoutines.cpp:923
rcConnect.h
chlGetDistinctDataObjsMissingFromChildGivenParent
int chlGetDistinctDataObjsMissingFromChildGivenParent(const std::string &_parent, const std::string &_child, int _limit, const std::string &_invocation_timestamp, dist_child_result_t &_results)
Definition: icatHighLevelRoutines.cpp:4287
chlSetQuota
int chlSetQuota(rsComm_t *rsComm, const char *type, const char *name, const char *rescName, const char *limit)
Definition: icatHighLevelRoutines.cpp:3468
sFklink
int sFklink(const char *table1, const char *table2, const char *connectingSQL)
Definition: general_query.cpp:157
chlVersionRuleBase
int chlVersionRuleBase(rsComm_t *rsComm, const char *baseName, const char *myTime)
Definition: icatHighLevelRoutines.cpp:3913
chlDelToken
int chlDelToken(rsComm_t *rsComm, const char *nameSpace, const char *Name)
Definition: icatHighLevelRoutines.cpp:3135
chlModZoneCollAcl
int chlModZoneCollAcl(rsComm_t *rsComm, const char *accessLevel, const char *userName, const char *pathName)
Definition: icatHighLevelRoutines.cpp:1520
chlRenameColl
int chlRenameColl(rsComm_t *rsComm, const char *oldName, const char *newName)
Definition: icatHighLevelRoutines.cpp:1467
manual_cleanup.zone_name
zone_name
Definition: manual_cleanup.py:16
chlModResc
int chlModResc(rsComm_t *rsComm, const char *rescName, const char *option, const char *optionValue)
Definition: icatHighLevelRoutines.cpp:2223
chlCommit
int chlCommit(rsComm_t *rsComm)
Definition: icatHighLevelRoutines.cpp:1090
chlModDataObjMeta
int chlModDataObjMeta(rsComm_t *rsComm, dataObjInfo_t *dataObjInfo, keyValPair_t *regParam)
Definition: icatHighLevelRoutines.cpp:436
chlRenameObject
int chlRenameObject(rsComm_t *rsComm, rodsLong_t objId, const char *newName)
Definition: icatHighLevelRoutines.cpp:2962
generate_iadmin_commands_for_41_to_42_upgrade.name
name
Definition: generate_iadmin_commands_for_41_to_42_upgrade.py:23
chlModTicket
int chlModTicket(rsComm_t *rsComm, const char *opName, const char *ticket, const char *arg1, const char *arg2, const char *arg3)
Definition: icatHighLevelRoutines.cpp:4403
sColumn
int sColumn(int defineVal, const char *tableName, const char *columnName)
Definition: general_query.cpp:218
run_tests.action
action
Definition: run_tests.py:114
CollInfo
Definition: objInfo.h:177
specificQueryInp_t
Definition: specificQuery.h:8
chlAddAVUMetadata
int chlAddAVUMetadata(rsComm_t *rsComm, int adminMode, const char *type, const char *name, const char *attribute, const char *value, const char *units)
Definition: icatHighLevelRoutines.cpp:2575
chlGetDistinctDataObjCountOnResource
int chlGetDistinctDataObjCountOnResource(const std::string &_resc_name, long long &_count)
Definition: icatHighLevelRoutines.cpp:4234
chlClose
int chlClose()
Definition: icatHighLevelRoutines.cpp:164
chlRegColl
int chlRegColl(rsComm_t *rsComm, collInfo_t *collInfo)
Definition: icatHighLevelRoutines.cpp:1246
chlDelUnusedAVUs
int chlDelUnusedAVUs(rsComm_t *rsComm)
Definition: icatHighLevelRoutines.cpp:3583
chlRegResc
int chlRegResc(rsComm_t *rsComm, std::map< std::string, std::string > &_resc_input)
Definition: icatHighLevelRoutines.cpp:873
chlModRuleExec
int chlModRuleExec(rsComm_t *rsComm, const char *ruleExecId, keyValPair_t *regParam)
Definition: icatHighLevelRoutines.cpp:716
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: icatHighLevelRoutines.cpp:2711
chlSetAVUMetadata
int chlSetAVUMetadata(rsComm_t *rsComm, const char *type, const char *name, const char *attribute, const char *newValue, const char *newUnit)
Definition: icatHighLevelRoutines.cpp:2443
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: icatHighLevelRoutines.cpp:3069
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: icatHighLevelRoutines.cpp:3834
hostName
Definition: rodsConnect.h:37
chlDelZone
int chlDelZone(rsComm_t *rsComm, const char *zoneName)
Definition: icatHighLevelRoutines.cpp:1628
ruleExecSubmit.h
chlCheckAndGetObjectID
int chlCheckAndGetObjectID(rsComm_t *, char *, char *, char *)
Definition: icatHighLevelRoutines.cpp:318
chlSpecificQuery
int chlSpecificQuery(specificQueryInp_t specificQueryInp, genQueryOut_t *genQueryOut)
Definition: icatHighLevelRoutines.cpp:4183
chlRenameLocalZone
int chlRenameLocalZone(rsComm_t *rsComm, const char *oldZoneName, const char *newZoneName)
Definition: icatHighLevelRoutines.cpp:1576
chlDebugGenQuery
int chlDebugGenQuery(int mode)
Definition: general_query.cpp:2576
chlRegReplica
int chlRegReplica(rsComm_t *rsComm, dataObjInfo_t *srcDataObjInfo, dataObjInfo_t *dstDataObjInfo, keyValPair_t *condInput)
Definition: icatHighLevelRoutines.cpp:546
chlRegDataObj
int chlRegDataObj(rsComm_t *rsComm, dataObjInfo_t *dataObjInfo)
Definition: icatHighLevelRoutines.cpp:491
chlVersionFnmBase
int chlVersionFnmBase(rsComm_t *rsComm, const char *baseName, const char *myTime)
Definition: icatHighLevelRoutines.cpp:4025
chlUpdateRescObjCount
int chlUpdateRescObjCount(const std::string &_resc, int _delta)
chlDebug
int chlDebug(const char *debugMode)
Definition: icatHighLevelRoutines.cpp:51
chlCheckQuota
int chlCheckQuota(rsComm_t *rsComm, const char *userName, const char *rescName, rodsLong_t *userQuota, int *quotaStatus)
Definition: icatHighLevelRoutines.cpp:3525
icatStructs.hpp
chlRegRuleExec
int chlRegRuleExec(rsComm_t *rsComm, ruleExecSubmitInp_t *ruleExecSubmitInp)
Definition: icatHighLevelRoutines.cpp:661
icss
icatSessionStruct icss
Definition: db_plugin.cpp:97
chlRegZone
int chlRegZone(rsComm_t *rsComm, const char *zoneName, const char *zoneType, const char *zoneConnInfo, const char *zoneComment)
Definition: icatHighLevelRoutines.cpp:1352
chlCalcUsageAndQuota
int chlCalcUsageAndQuota(rsComm_t *rsComm)
Definition: icatHighLevelRoutines.cpp:3423
chlRollback
int chlRollback(rsComm_t *rsComm)
Definition: icatHighLevelRoutines.cpp:1039
chlCheckAuth
int chlCheckAuth(rsComm_t *rsComm, const char *scheme, const char *challenge, const char *response, const char *username, int *userPrivLevel, int *clientPrivLevel)
Definition: icatHighLevelRoutines.cpp:1884
chlDelColl
int chlDelColl(rsComm_t *rsComm, collInfo_t *collInfo)
Definition: icatHighLevelRoutines.cpp:1824
irods::resource_manager::leaf_bundle_t
std::vector< rodsLong_t > leaf_bundle_t
Definition: irods_resource_manager.hpp:84
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: icatHighLevelRoutines.cpp:2639
chlDebugGenUpdate
int chlDebugGenUpdate(int mode)
Definition: general_update.cpp:249
GenQueryOut
Definition: rodsGenQuery.h:67
chlRegServerLoadDigest
int chlRegServerLoadDigest(rsComm_t *rsComm, const char *rescName, const char *loadFactor)
Definition: icatHighLevelRoutines.cpp:3319
chlModZone
int chlModZone(rsComm_t *rsComm, const char *zoneName, const char *option, const char *optionValue)
Definition: icatHighLevelRoutines.cpp:1411
dist_child_result_t
std::vector< rodsLong_t > dist_child_result_t
Definition: icatHighLevelRoutines.hpp:192
get_irods_version.value
dictionary value
Definition: get_irods_version.py:27
chlPurgeServerLoad
int chlPurgeServerLoad(rsComm_t *rsComm, const char *secondsAgo)
Definition: icatHighLevelRoutines.cpp:3267
decodePw
int decodePw(rsComm_t *rsComm, const char *in, char *out)
Definition: db_plugin.cpp:1035
chlDelRuleExec
int chlDelRuleExec(rsComm_t *rsComm, const char *ruleExecId)
Definition: icatHighLevelRoutines.cpp:769
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: icatHighLevelRoutines.cpp:3190
chlIsConnected
int chlIsConnected()
chlOpen
int chlOpen()
Definition: icatHighLevelRoutines.cpp:86
chlPurgeServerLoadDigest
int chlPurgeServerLoadDigest(rsComm_t *rsComm, const char *secondsAgo)
Definition: icatHighLevelRoutines.cpp:3375
chlRegUserRE
int chlRegUserRE(rsComm_t *rsComm, userInfo_t *userInfo)
Definition: icatHighLevelRoutines.cpp:2392
ruleExecSubmitInp_t
Definition: ruleExecSubmit.h:21
checkAndGetObjectId
rodsLong_t checkAndGetObjectId(rsComm_t *rsComm, const char *type, const char *name, const char *access)
chlModAccessControl
int chlModAccessControl(rsComm_t *rsComm, int recursiveFlag, const char *accessLevel, const char *userName, const char *zone, const char *pathName)
Definition: icatHighLevelRoutines.cpp:2900
specificQuery.h
chlGetLocalZone
int chlGetLocalZone(std::string &)
Definition: icatHighLevelRoutines.cpp:270
chlGeneralUpdate
int chlGeneralUpdate(generalUpdateInp_t generalUpdateInp)
Definition: icatHighLevelRoutines.cpp:4619
chlDelUserRE
int chlDelUserRE(rsComm_t *rsComm, userInfo_t *userInfo)
Definition: icatHighLevelRoutines.cpp:1137
chlModRescFreeSpace
int chlModRescFreeSpace(rsComm_t *rsComm, const char *rescName, int updateValue)
Definition: icatHighLevelRoutines.cpp:2339
objInfo.h
chlVersionDvmBase
int chlVersionDvmBase(rsComm_t *rsComm, const char *baseName, const char *myTime)
Definition: icatHighLevelRoutines.cpp:3969
chlRegRuleExecObj
int chlRegRuleExecObj(rsComm_t *rsComm, ruleExecSubmitInp_t *ruleExecSubmitInp)
terminate_irods_processes.control
control
Definition: terminate_irods_processes.py:16
chlModRescDataPaths
int chlModRescDataPaths(rsComm_t *rsComm, const char *rescName, const char *oldPath, const char *newPath, const char *userName)
Definition: icatHighLevelRoutines.cpp:2279
chlDelSpecificQuery
int chlDelSpecificQuery(rsComm_t *rsComm, const char *sqlOrAlias)
Definition: icatHighLevelRoutines.cpp:4127
irods_resource_manager.hpp
chlDelResc
int chlDelResc(rsComm_t *rsComm, const std::string &_resc_name, int _dryrun=0)
Definition: icatHighLevelRoutines.cpp:977
generate_iadmin_commands_for_41_to_42_upgrade.host
host
Definition: generate_iadmin_commands_for_41_to_42_upgrade.py:23
sTable
int sTable(const char *tableName, const char *tableAlias, int cycler)
Definition: general_query.cpp:202
chlAddSpecificQuery
int chlAddSpecificQuery(rsComm_t *rsComm, const char *alias, const char *sql)
Definition: icatHighLevelRoutines.cpp:4076
phyBundleColl.h
chlUnregDataObj
int chlUnregDataObj(rsComm_t *rsComm, dataObjInfo_t *dataObjInfo, keyValPair_t *condInput)
Definition: icatHighLevelRoutines.cpp:605
chlGenQuery
int chlGenQuery(genQueryInp_t genQueryInp, genQueryOut_t *result)
Definition: icatHighLevelRoutines.cpp:4462
irods_error.hpp
chlModGroup
int chlModGroup(rsComm_t *rsComm, const char *groupName, const char *option, const char *userName, const char *userZone)
Definition: icatHighLevelRoutines.cpp:2164
mode
int mode
Definition: filesystem.cpp:104
chlGetRcs
int chlGetRcs(icatSessionStruct **)
Definition: icatHighLevelRoutines.cpp:222
KeyValPair
Definition: objInfo.h:120
chlAddAVUMetadataWild
int chlAddAVUMetadataWild(rsComm_t *rsComm, int adminMode, const char *type, const char *name, const char *attribute, const char *value, const char *units)
Definition: icatHighLevelRoutines.cpp:2510
chlUpdateIrodsPamPassword
int chlUpdateIrodsPamPassword(rsComm_t *rsComm, const char *userName, int timeToLive, const char *testTime, char **irodsPassword)
Definition: icatHighLevelRoutines.cpp:2046
chlRegCollByAdmin
int chlRegCollByAdmin(rsComm_t *rsComm, collInfo_t *collInfo)
Definition: icatHighLevelRoutines.cpp:1190
manual_cleanup.out
out
Definition: manual_cleanup.py:29
type
int type
Definition: filesystem.cpp:103
DataObjInfo
Definition: objInfo.h:129
icatSessionStruct
Definition: icatStructs.hpp:26
chlGetHierarchyForResc
int chlGetHierarchyForResc(const std::string &resc_name, const std::string &zone_name, std::string &hierarchy)
Definition: icatHighLevelRoutines.cpp:4347
chlModUser
int chlModUser(rsComm_t *rsComm, const char *userName, const char *option, const char *newValue)
Definition: icatHighLevelRoutines.cpp:2106
chlModColl
int chlModColl(rsComm_t *rsComm, collInfo_t *collInfo)
Definition: icatHighLevelRoutines.cpp:1302
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: icatHighLevelRoutines.cpp:1699
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32
chlInsDvmTable
int chlInsDvmTable(rsComm_t *rsComm, const char *baseName, const char *varName, const char *action, const char *var2CMap, const char *myTime)
Definition: icatHighLevelRoutines.cpp:3709
chlMoveObject
int chlMoveObject(rsComm_t *rsComm, rodsLong_t objId, rodsLong_t targetCollId)
Definition: icatHighLevelRoutines.cpp:3016
chlAddChildResc
int chlAddChildResc(rsComm_t *rsComm, std::map< std::string, std::string > &_resc_input)
Definition: icatHighLevelRoutines.cpp:819