summaryrefslogtreecommitdiffstats
path: root/src/H5FDprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-02-05 23:31:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-02-05 23:31:02 (GMT)
commit299ac26d98a27cb309c87eafeb0ff7ac53eeb94b (patch)
treebcd48f00faa2410605c9a0cfbbf4a281cafd9076 /src/H5FDprivate.h
parentc087ecdbdea8f142f1a4823db71ea47fa60a8c59 (diff)
downloadhdf5-299ac26d98a27cb309c87eafeb0ff7ac53eeb94b.zip
hdf5-299ac26d98a27cb309c87eafeb0ff7ac53eeb94b.tar.gz
hdf5-299ac26d98a27cb309c87eafeb0ff7ac53eeb94b.tar.bz2
[svn-r20050] Description:
Bring sec2 and log VFDs back into agreement. Correct several compiler warnings. Also add some additional statistics to the log VFD and promote the parameter for H5Pset_fapl_log from 'unsigned' to 'unsigned long long'. Tested on: Mac OS X/32 10.6.6 (amazon) w/debug & production FreeBSD/32 8.2 (loyalty) w/debug FreeBSD/64 8.2 (freedom) w/debug
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r--src/H5FDprivate.h31
1 files changed, 29 insertions, 2 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h
index cb40e5c..fe770d2 100644
--- a/src/H5FDprivate.h
+++ b/src/H5FDprivate.h
@@ -31,13 +31,40 @@
*/
#include "H5FDmpi.h" /* MPI-based file drivers */
-/* Macros */
+
+/**************************/
+/* Library Private Macros */
+/**************************/
+
+/* Length of filename buffer */
+#define H5FD_MAX_FILENAME_LEN 1024
+
+
+/****************************/
+/* Library Private Typedefs */
+/****************************/
+
+/* File operations */
+typedef enum {
+ OP_UNKNOWN = 0, /* Unknown last file operation */
+ OP_READ = 1, /* Last file I/O operation was a read */
+ OP_WRITE = 2 /* Last file I/O operation was a write */
+} H5FD_file_op_t;
+
+
+/*****************************/
+/* Library Private Variables */
+/*****************************/
+
+
+/******************************/
+/* Library Private Prototypes */
+/******************************/
/* Forward declarations for prototype arguments */
struct H5P_genplist_t;
struct H5F_t;
-/* Prototypes */
H5_DLL int H5FD_term_interface(void);
H5_DLL H5FD_class_t *H5FD_get_class(hid_t id);
H5_DLL hsize_t H5FD_sb_size(H5FD_t *file);