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)  

objStat.h
Go to the documentation of this file.
1 #ifndef OBJ_STAT_H__
2 #define OBJ_STAT_H__
3 
4 #include "rcConnect.h"
5 #include "rodsType.h"
6 
7 // rodsObjStat_t - this is similar to rodsStat_t but has minimum set of parameter that are more irods specific
8 typedef struct rodsObjStat {
9  rodsLong_t objSize; // file size
10  objType_t objType; // DATA_OBJ_T or COLL_OBJ_T
11  uint dataMode;
21 
22 
23 /* prototype for the client call */
24 /* rcObjStat - get the stat of an object specified by dataObjInp->objPath.
25  * input: dataObjInp
26  *
27  * output: rodsObjStatOut
28  * The objType can be COLL_OBJ_T (collection), DATA_OBJ_T (data object)
29  * or UNKNOWN_OBJ_T (object does not exist).
30  * If "specColl" is not NULL, the input objPath is a Special Collection or
31  * in a Special Collection. If objType is UNKNOWN_OBJ_T and "specColl"
32  * is not NULL, the object does not exist but the objPath is in a
33  * Special Collection.
34  * Important items in the specColl_t are:
35  * collClass - can be STRUCT_FILE_COLL (mounted structured file),
36  * MOUNTED_COLL (mounted collection) or LINKED_COLL (linked collection).
37  * objPath - If collClass is LINKED_COLL, this is the translated path
38  * for the input objPath. The client should use this path instead of
39  * the input "objPath" for further metadata query.
40  */
41 #ifdef __cplusplus
42 extern "C"
43 #endif
44 int rcObjStat( rcComm_t *conn, dataObjInp_t *dataObjInp, rodsObjStat_t **rodsObjStatOut );
45 
46 #endif
rcComm_t
Definition: rcConnect.h:95
rodsObjStat::dataId
char dataId[64]
Definition: objStat.h:12
rcObjStat
int rcObjStat(rcComm_t *conn, dataObjInp_t *dataObjInp, rodsObjStat_t **rodsObjStatOut)
Definition: rcObjStat.cpp:65
rodsObjStat::rescHier
char rescHier[(1024+64)]
Definition: objStat.h:19
rcConnect.h
rodsObjStat::ownerName
char ownerName[64]
Definition: objStat.h:14
SpecColl
Definition: objInfo.h:76
rodsObjStat::modifyTime
char modifyTime[32]
Definition: objStat.h:17
rodsType.h
TIME_LEN
#define TIME_LEN
Definition: rodsDef.h:54
DataObjInp
Definition: dataObjInpOut.h:65
rodsObjStat::objSize
rodsLong_t objSize
Definition: objStat.h:9
MAX_NAME_LEN
#define MAX_NAME_LEN
Definition: rodsDef.h:61
rodsObjStat::objType
objType_t objType
Definition: objStat.h:10
rodsObjStat::ownerZone
char ownerZone[64]
Definition: objStat.h:15
rodsObjStat::dataMode
uint dataMode
Definition: objStat.h:11
rodsObjStat::chksum
char chksum[64]
Definition: objStat.h:13
rodsObjStat_t
struct rodsObjStat rodsObjStat_t
rodsObjStat
Definition: objStat.h:8
rodsObjStat::createTime
char createTime[32]
Definition: objStat.h:16
rodsObjStat::specColl
specColl_t * specColl
Definition: objStat.h:18
NAME_LEN
#define NAME_LEN
Definition: rodsDef.h:55
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32
objType_t
objType_t
Definition: rodsType.h:36