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)  

objMetaOpr.hpp
Go to the documentation of this file.
1 
4 /* objMetaOpr.h - header file for objMetaOpr.c
5  */
6 
7 
8 
9 #ifndef OBJ_META_OPR_HPP
10 #define OBJ_META_OPR_HPP
11 
12 #include "rods.h"
13 #include "objInfo.h"
14 #include "dataObjInpOut.h"
15 #include "rcGlobalExtern.h"
16 #include "rsGlobalExtern.hpp"
17 
18 extern "C" {
19 
20  int
21  svrCloseQueryOut( rsComm_t *rsComm, genQueryOut_t *genQueryOut );
22  int
23  isData( rsComm_t *rsComm, char *objName, rodsLong_t *dataId );
24  int
25  isColl( rsComm_t *rsComm, char *objName, rodsLong_t *collId );
26  int
27  isCollAllKinds( rsComm_t *rsComm, char *objName, rodsLong_t *collId );
28  int
29  isUser( rsComm_t *rsComm, char *objName );
30  int
31  isResc( rsComm_t *rsComm, char *objName );
32  int
33  isMeta( rsComm_t *rsComm, char *objName );
34  int
35  isToken( rsComm_t *rsComm, char *objName );
36  int
37  getObjType( rsComm_t *rsComm, char *objName, char * objType );
38  int
39  addAVUMetadataFromKVPairs( rsComm_t *rsComm, char *objName, char *inObjType,
40  keyValPair_t *kVP );
41  int
42  setAVUMetadataFromKVPairs( rsComm_t *rsComm, char *objName, char *inObjType, // JMC - backport 4836
43  keyValPair_t *kVP );
44  int
45  removeAVUMetadataFromKVPairs( rsComm_t *rsComm, char *objName, char *inObjType,
46  keyValPair_t *kVP );
47  int
48  getStructFileType( specColl_t *specColl );
49 
50  extern int
51  checkPermissionByObjType( rsComm_t *rsComm, char *objName, char *objType, char *user, char *zone, char *oper );
52  int
53  checkDupReplica( rsComm_t *rsComm, rodsLong_t dataId, char *rescName, char *filePath ); // JMC - backport 4497
54  int
55  getNumSubfilesInBunfileObj( rsComm_t *rsComm, char *objPath ); // JMC - backport 4552
56  int
57  getPhyPath( rsComm_t *rsComm, char *objName, char *resource, char *phyPath, char* rescHier ); // JMC - backport 4680
58 }
59 
60 #endif /* OBJ_META_OPR_H */
rsComm_t
Definition: rcConnect.h:145
getPhyPath
int getPhyPath(rsComm_t *rsComm, char *objName, char *resource, char *phyPath, char *rescHier)
Definition: objMetaOpr.cpp:86
svrCloseQueryOut
int svrCloseQueryOut(rsComm_t *rsComm, genQueryOut_t *genQueryOut)
Definition: objMetaOpr.cpp:26
checkPermissionByObjType
int checkPermissionByObjType(rsComm_t *rsComm, char *objName, char *objType, char *user, char *zone, char *oper)
Definition: objMetaOpr.cpp:602
isColl
int isColl(rsComm_t *rsComm, char *objName, rodsLong_t *collId)
Definition: objMetaOpr.cpp:204
isMeta
int isMeta(rsComm_t *rsComm, char *objName)
Definition: objMetaOpr.cpp:273
removeAVUMetadataFromKVPairs
int removeAVUMetadataFromKVPairs(rsComm_t *rsComm, char *objName, char *inObjType, keyValPair_t *kVP)
Definition: objMetaOpr.cpp:400
isData
int isData(rsComm_t *rsComm, char *objName, rodsLong_t *dataId)
Definition: objMetaOpr.cpp:47
getStructFileType
int getStructFileType(specColl_t *specColl)
Definition: objMetaOpr.cpp:386
SpecColl
Definition: objInfo.h:76
rcGlobalExtern.h
getNumSubfilesInBunfileObj
int getNumSubfilesInBunfileObj(rsComm_t *rsComm, char *objPath)
Definition: objMetaOpr.cpp:766
dataObjInpOut.h
rsGlobalExtern.hpp
setAVUMetadataFromKVPairs
int setAVUMetadataFromKVPairs(rsComm_t *rsComm, char *objName, char *inObjType, keyValPair_t *kVP)
Definition: objMetaOpr.cpp:351
isUser
int isUser(rsComm_t *rsComm, char *objName)
Definition: objMetaOpr.cpp:237
addAVUMetadataFromKVPairs
int addAVUMetadataFromKVPairs(rsComm_t *rsComm, char *objName, char *inObjType, keyValPair_t *kVP)
Definition: objMetaOpr.cpp:311
isToken
int isToken(rsComm_t *rsComm, char *objName)
Definition: objMetaOpr.cpp:279
GenQueryOut
Definition: rodsGenQuery.h:67
getObjType
int getObjType(rsComm_t *rsComm, char *objName, char *objType)
Definition: objMetaOpr.cpp:285
isResc
int isResc(rsComm_t *rsComm, char *objName)
Definition: objMetaOpr.cpp:255
objInfo.h
checkDupReplica
int checkDupReplica(rsComm_t *rsComm, rodsLong_t dataId, char *rescName, char *filePath)
Definition: objMetaOpr.cpp:711
KeyValPair
Definition: objInfo.h:120
rods.h
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32
isCollAllKinds
int isCollAllKinds(rsComm_t *rsComm, char *objName, rodsLong_t *collId)
Definition: objMetaOpr.cpp:186