summaryrefslogtreecommitdiffstats
path: root/src/H5Fproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fproto.h')
-rw-r--r--src/H5Fproto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5Fproto.h b/src/H5Fproto.h
index 7236bdd..8872d8d 100644
--- a/src/H5Fproto.h
+++ b/src/H5Fproto.h
@@ -23,6 +23,15 @@
#define H5ACC_WRITE 0x0001 /* User in H5Fopen to open a file with write access */
#define H5ACC_OVERWRITE 0x0002 /* User in H5Fcreate truncate an existing file */
+/* Type of root rymbol-table entry */
+typedef enum {
+ H5F_ROOT_NONE=0, /* Root-symbol table is empty, neither a dataset nor a directory is the root object */
+ H5F_ROOT_UNKNOWN, /* Don't know if the root object is a dataset or a directory */
+ H5F_ROOT_DATASET, /* Root object is a dataset */
+ H5F_ROOT_DIRECTORY, /* Root object is a directory */
+ H5F_ROOT_ERROR /* Error value */
+ } H5F_root_symtype_t;
+
/*
* If we're using POSIXUNBUFIO and lseek64() is available, then use
* 64-bit file offsets. Otherwise use whatever `off_t' is.