summaryrefslogtreecommitdiffstats
path: root/src/H5FDlog.c
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/H5FDlog.c
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/H5FDlog.c')
-rw-r--r--src/H5FDlog.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c
index 76053ec..da19e46 100644
--- a/src/H5FDlog.c
+++ b/src/H5FDlog.c
@@ -30,15 +30,15 @@
#define H5_INTERFACE_INIT_FUNC H5FD_log_init_interface
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5Fprivate.h" /* File access */
-#include "H5FDprivate.h" /* File drivers */
-#include "H5FDlog.h" /* Logging file driver */
-#include "H5FLprivate.h" /* Free Lists */
-#include "H5Iprivate.h" /* IDs */
-#include "H5MMprivate.h" /* Memory management */
-#include "H5Pprivate.h" /* Property lists */
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5Fprivate.h" /* File access */
+#include "H5FDprivate.h" /* File drivers */
+#include "H5FDlog.h" /* Logging file driver */
+#include "H5FLprivate.h" /* Free Lists */
+#include "H5Iprivate.h" /* IDs */
+#include "H5MMprivate.h" /* Memory management */
+#include "H5Pprivate.h" /* Property lists */
/* The driver identification number, initialized at runtime */
static hid_t H5FD_LOG_g = 0;
@@ -50,8 +50,12 @@ typedef struct H5FD_log_fapl_t {
size_t buf_size; /* Size of buffers for track flavor and number of times each byte is accessed */
} H5FD_log_fapl_t;
-/* Define strings for the different file memory types */
-static const char *flavors[]={ /* These are defined in H5FDpublic.h */
+/* Define strings for the different file memory types
+ * These are defined in the H5F_mem_t enum from H5Fpublic.h
+ * Note that H5FD_MEM_NOLIST is not listed here since it has
+ * a negative value.
+ */
+static const char *flavors[]={
"H5FD_MEM_DEFAULT",
"H5FD_MEM_SUPER",
"H5FD_MEM_BTREE",