diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2011-02-05 23:37:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2011-02-05 23:37:02 (GMT) |
commit | fceb72c657ee623aa5574208834dc38515170a72 (patch) | |
tree | 22f7779930a70d19c8a80d8ef651ecc24f098476 /src/H5FDprivate.h | |
parent | fe7e78f2d90bb6bcd4302f6171f0df076bfc82e8 (diff) | |
download | hdf5-fceb72c657ee623aa5574208834dc38515170a72.zip hdf5-fceb72c657ee623aa5574208834dc38515170a72.tar.gz hdf5-fceb72c657ee623aa5574208834dc38515170a72.tar.bz2 |
[svn-r20051] Description:
Bring r20050 from trunk to 1.8 branch:
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
(h5committested on trunk)
Diffstat (limited to 'src/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 31 |
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); |