summaryrefslogtreecommitdiffstats
path: root/src/H5Fpublic.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2011-05-02 20:48:49 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2011-05-02 20:48:49 (GMT)
commit3ebfb3690ac76c44807b23f1c3eecbfe6c7bb27d (patch)
tree8804d373f26a6b949f088839c1aa349963844729 /src/H5Fpublic.h
parent3e755a079bb0bce16f80723ef8b4daf57d2ed979 (diff)
downloadhdf5-3ebfb3690ac76c44807b23f1c3eecbfe6c7bb27d.zip
hdf5-3ebfb3690ac76c44807b23f1c3eecbfe6c7bb27d.tar.gz
hdf5-3ebfb3690ac76c44807b23f1c3eecbfe6c7bb27d.tar.bz2
[svn-r20708] Pushed change 20707 to the 1.8 branch.
This was a comment-only change that better documents the VFD data "flavors".
Diffstat (limited to 'src/H5Fpublic.h')
-rw-r--r--src/H5Fpublic.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h
index f89db0a..054a296 100644
--- a/src/H5Fpublic.h
+++ b/src/H5Fpublic.h
@@ -113,18 +113,27 @@ typedef struct H5F_info_t {
* Types of allocation requests. The values larger than H5FD_MEM_DEFAULT
* should not change other than adding new types to the end. These numbers
* might appear in files.
+ *
+ * Note: please change the log VFD flavors array if you change this
+ * enumeration.
*/
typedef enum H5F_mem_t {
- H5FD_MEM_NOLIST = -1, /*must be negative*/
- H5FD_MEM_DEFAULT = 0, /*must be zero*/
- H5FD_MEM_SUPER = 1,
- H5FD_MEM_BTREE = 2,
- H5FD_MEM_DRAW = 3,
- H5FD_MEM_GHEAP = 4,
- H5FD_MEM_LHEAP = 5,
- H5FD_MEM_OHDR = 6,
-
- H5FD_MEM_NTYPES /*must be last*/
+ H5FD_MEM_NOLIST = -1, /* Data should not appear in the free list.
+ * Must be negative.
+ */
+ H5FD_MEM_DEFAULT = 0, /* Value not yet set. Can also be the
+ * datatype set in a larger allocation
+ * that will be suballocated by the library.
+ * Must be zero.
+ */
+ H5FD_MEM_SUPER = 1, /* Superblock data */
+ H5FD_MEM_BTREE = 2, /* B-tree data */
+ H5FD_MEM_DRAW = 3, /* Raw data (content of datasets, etc.) */
+ H5FD_MEM_GHEAP = 4, /* Global heap data */
+ H5FD_MEM_LHEAP = 5, /* Local heap data */
+ H5FD_MEM_OHDR = 6, /* Object header data */
+
+ H5FD_MEM_NTYPES /* Sentinel value - must be last */
} H5F_mem_t;
/* Library's file format versions */