summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authormyang6 <myang6@hdfgroup.org>2021-11-02 20:41:28 (GMT)
committermyang6 <myang6@hdfgroup.org>2021-11-02 20:41:28 (GMT)
commit0e3dc9ffedd3ab68f561803dbfb2d7c23210bb91 (patch)
treebc7d42bebcba75ef9e0c430a5e54227c483879aa /src/H5Fpkg.h
parent43c2c955b876b5eef2446bac2159c8e03fe60b47 (diff)
downloadhdf5-0e3dc9ffedd3ab68f561803dbfb2d7c23210bb91.zip
hdf5-0e3dc9ffedd3ab68f561803dbfb2d7c23210bb91.tar.gz
hdf5-0e3dc9ffedd3ab68f561803dbfb2d7c23210bb91.tar.bz2
Make entry log code as a #define macro as John suggests.
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 6dd896e..f8909b3 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -666,4 +666,13 @@ H5_DLL void H5F_post_vfd_swmr_log_entry(H5F_t *f, int entry_type_code, char *log
#define H5F_POST_VFD_SWMR_LOG_ENTRY(f, c, m) H5F_POST_VFD_SWMR_LOG_ENTRY_PRODUCTION(f, c, 1, m)
#endif
+/* Macros for VFD SWMR log entry code
+ * Note: this should be consistent with const char *H5Fvfd_swmr_log_tags[] declared at
+ * H5Fvfd_swmr.c .
+ */
+#define EOT_PROCESSING_TIME 0
+#define FILE_OPEN 1
+#define FILE_CLOSE 2
+#define EOT_TRIGGER_TIME 3
+#define EOT_META_FILE_INDEX 4
#endif /* H5Fpkg_H */