enum {
VOL_CAP_FMT_CASE_SENSITIVE =1,
VOL_CAP_FMT_CASE_PRESERVING=2,
VOL_CAP_FMT_FAST_STATFS=3,
VOL_CAP_FMT_2TB_FILESIZE=4,
VOL_CAP_FMT_PERSISTENTOBJECTIDS=5,
VOL_CAP_FMT_SYMBOLICLINKS=6,
VOL_CAP_FMT_HARDLINKS=7,
VOL_CAP_FMT_JOURNAL=8,
VOL_CAP_FMT_JOURNAL_ACTIVE=9,
VOL_CAP_FMT_SPARSE_FILES=10,
VOL_CAP_FMT_ZERO_RUNS=11,
VOL_CAP_FMT_NO_ROOT_TIMES=12
};

enum {
VOL_CAP_INT_USERACCESS=1,
VOL_CAP_INT_ADVLOCK=2,
VOL_CAP_INT_ATTRLIST=3,
VOL_CAP_INT_SEARCHFS=4,
VOL_CAP_INT_NFSEXPORT=5,
VOL_CAP_INT_READDIRATTR=6,
VOL_CAP_INT_EXCHANGEDATA=7,
VOL_CAP_INT_COPYFILE=8,
VOL_CAP_INT_ALLOCATE=9,
VOL_CAP_INT_VOL_RENAME=10,
VOL_CAP_INT_FLOCK=11,
VOL_CAP_INT_EXTENDED_SECURITY=12

};

enum {
ATTR_FILE_DATALENGTH=1,
ATTR_FILE_TOTALSIZE=2,
ATTR_FILE_IOBLOCKSIZE=3,
ATTR_FILE_DATAALLOCSIZE=4,
ATTR_FILE_RSRCALLOCSIZE=5,
ATTR_FILE_RSRCEXTENTS=6,
ATTR_FILE_FORKCOUNT=7,
ATTR_FILE_DEVTYPE=8,
ATTR_FILE_CLUMPSIZE=9,
ATTR_FILE_LINKCOUNT=10,
ATTR_FILE_DATAEXTENTS=11,
ATTR_FILE_RSRCLENGTH=12,
ATTR_FILE_FORKLIST=13,
ATTR_FILE_ALLOCSIZE=14,
ATTR_FILE_FILETYPE=15
};

enum {
ATTR_CMN_NAME=1,
ATTR_CMN_DEVID=2,
ATTR_CMN_FSID=3,
ATTR_CMN_OBJTYPE=4,
ATTR_CMN_OBJID=5,
ATTR_CMN_PAROBJID=6,
ATTR_CMN_CRTIME=7,
ATTR_CMN_OWNERID=8,
ATTR_CMN_GRPID=9,
ATTR_CMN_ACCESSMASK=10,
ATTR_CMN_FLAGS=11,
ATTR_CMN_OBJTAG=12,
ATTR_CMN_SCRIPT=13,
ATTR_CMN_OBJPERMANENTID=14,
ATTR_CMN_MODTIME=15,
ATTR_CMN_ACCTIME=16,
ATTR_CMN_CHGTIME=17,
ATTR_CMN_NAMEDATTRLIST=18,
ATTR_CMN_USERACCESS=19,
ATTR_CMN_BKUPTIME=20,
ATTR_CMN_FNDRINFO=21,
ATTR_CMN_NAMEDATTRCOUNT=22
};

enum {
ATTR_VOL_FSTYPE=1,
ATTR_VOL_SIZE=2,
ATTR_VOL_SPACEFREE=3,
ATTR_VOL_SPACEAVAIL=4,
ATTR_VOL_IOBLOCKSIZE=5,
ATTR_VOL_OBJCOUNT=6,
ATTR_VOL_FILECOUNT=7,
ATTR_VOL_DIRCOUNT=8,
ATTR_VOL_MAXOBJCOUNT=9,
ATTR_VOL_MOUNTPOINT=10,
ATTR_VOL_NAME=11,
ATTR_VOL_MOUNTFLAGS=12,
ATTR_VOL_MOUNTEDDEVICE=13,
ATTR_VOL_CAPABILITIES=14,
ATTR_VOL_ATTRIBUTES=15,
ATTR_VOL_INFO=16,
ATTR_VOL_MINALLOCATION=17,
ATTR_VOL_ALLOCATIONCLUMP=18,
ATTR_VOL_SIGNATURE=19,
ATTR_VOL_ENCODINGSUSED=20
};

enum {
ATTR_FORK_TOTALSIZE=1,
ATTR_FORK_ALLOCSIZE=2
};

enum {
ATTR_DIR_LINKCOUNT=1,
ATTR_DIR_ENTRYCOUNT=2,
ATTR_DIR_MOUNTSTATUS=3
};


struct fsobj_id_t{
int id_objno;
int fid_generation;
int fid_objno;
};
typedef struct fsobj_id_t fsobj_id_t;

typedef int fsobj_type_t;
typedef int fsobj_tag_t;