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)  

rodsType.h
Go to the documentation of this file.
1 
4 /* rodsType.h - rods data type header files
5  */
6 
7 
8 
9 #ifndef RODS_TYPE_H__
10 #define RODS_TYPE_H__
11 
12 #include <sys/types.h>
13 #if defined(solaris_platform) || defined(aix_platform)
14 #include <strings.h>
15 #endif
16 #include "rodsDef.h"
17 
18 #if defined(osx_platform)
19 typedef int64_t rodsLong_t;
20 typedef u_int64_t rodsULong_t;
21 #elif defined(sgi_platform)
22 typedef __int64_t rodsLong_t;
23 typedef int64_t u_longlong_t;
24 #elif defined(linux_platform) || defined(alpha_platform)
25 typedef long long rodsLong_t;
26 typedef unsigned long long rodsULong_t;
27 #elif defined(windows_platform)
28 typedef unsigned int uint;
29 typedef __int64 rodsLong_t;
30 typedef unsigned __int64 rodsULong_t;
31 #else /* windows_platform */
32 typedef long long rodsLong_t;
33 typedef unsigned long long rodsULong_t;
34 #endif /* windows_platform */
35 
36 typedef enum { /* object type */
45 
46 typedef enum { /* object status */
49  EXIST_ST
51 
52 typedef struct rodsStat {
53  rodsLong_t st_size; /* file size */
54  unsigned int st_dev;
55  unsigned int st_ino;
56  unsigned int st_mode;
57  unsigned int st_nlink;
58  unsigned int st_uid;
59  unsigned int st_gid;
60  unsigned int st_rdev;
61  unsigned int st_atim; /* time of last access */
62  unsigned int st_mtim; /* time of last mod */
63  unsigned int st_ctim; /* time of last status change */
64  unsigned int st_blksize; /* Optimal blocksize of FS */
65  unsigned int st_blocks; /* number of blocks */
67 
68 #define DIR_LEN 256
69 
70 typedef struct rodsDirent {
71  unsigned int d_offset; /* offset after this entry */
72  unsigned int d_ino; /* inode number */
73  unsigned int d_reclen; /* length of this record */
74  unsigned int d_namlen; /* length of d_name */
75  char d_name[DIR_LEN];
77 
78 #endif /* RODS_TYPE_H__ */
rodsStat::st_mode
unsigned int st_mode
Definition: rodsType.h:56
rodsDirent::d_namlen
unsigned int d_namlen
Definition: rodsType.h:74
rodsStat::st_ctim
unsigned int st_ctim
Definition: rodsType.h:63
UNKNOWN_ST
@ UNKNOWN_ST
Definition: rodsType.h:47
rodsULong_t
unsigned long long rodsULong_t
Definition: rodsType.h:33
UNKNOWN_OBJ_T
@ UNKNOWN_OBJ_T
Definition: rodsType.h:37
rodsStat::st_uid
unsigned int st_uid
Definition: rodsType.h:58
UNKNOWN_FILE_T
@ UNKNOWN_FILE_T
Definition: rodsType.h:40
rodsDirent::d_name
char d_name[256]
Definition: rodsType.h:75
rodsStat::st_dev
unsigned int st_dev
Definition: rodsType.h:54
rodsStat::st_rdev
unsigned int st_rdev
Definition: rodsType.h:60
rodsStat::st_mtim
unsigned int st_mtim
Definition: rodsType.h:62
NO_INPUT_T
@ NO_INPUT_T
Definition: rodsType.h:43
rodsDirent::d_reclen
unsigned int d_reclen
Definition: rodsType.h:73
rodsDirent::d_ino
unsigned int d_ino
Definition: rodsType.h:72
DIR_LEN
#define DIR_LEN
Definition: rodsType.h:68
rodsStat::st_size
rodsLong_t st_size
Definition: rodsType.h:53
COLL_OBJ_T
@ COLL_OBJ_T
Definition: rodsType.h:39
rodsStat::st_atim
unsigned int st_atim
Definition: rodsType.h:61
rodsStat
Definition: rodsType.h:52
objStat_t
objStat_t
Definition: rodsType.h:46
rodsDef.h
rodsStat::st_nlink
unsigned int st_nlink
Definition: rodsType.h:57
rodsStat::st_blksize
unsigned int st_blksize
Definition: rodsType.h:64
rodsDirent
Definition: rodsType.h:70
DATA_OBJ_T
@ DATA_OBJ_T
Definition: rodsType.h:38
rodsStat::st_blocks
unsigned int st_blocks
Definition: rodsType.h:65
LOCAL_DIR_T
@ LOCAL_DIR_T
Definition: rodsType.h:42
rodsDirent_t
struct rodsDirent rodsDirent_t
EXIST_ST
@ EXIST_ST
Definition: rodsType.h:49
rodsStat_t
struct rodsStat rodsStat_t
rodsDirent::d_offset
unsigned int d_offset
Definition: rodsType.h:71
LOCAL_FILE_T
@ LOCAL_FILE_T
Definition: rodsType.h:41
NOT_EXIST_ST
@ NOT_EXIST_ST
Definition: rodsType.h:48
rodsStat::st_gid
unsigned int st_gid
Definition: rodsType.h:59
rodsStat::st_ino
unsigned int st_ino
Definition: rodsType.h:55
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32
objType_t
objType_t
Definition: rodsType.h:36