diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 17:33:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-12-05 17:33:31 (GMT) |
commit | b46e9055944a06b642b1ff1a200aea84cdfb34a6 (patch) | |
tree | 189ce595bbc6c0ce4ae49f47b635fd1e0b2ee325 /src/H5FDlog.h | |
parent | e3c98c2899039b0a3e49205bad3a84ebbfacdff4 (diff) | |
download | hdf5-b46e9055944a06b642b1ff1a200aea84cdfb34a6.zip hdf5-b46e9055944a06b642b1ff1a200aea84cdfb34a6.tar.gz hdf5-b46e9055944a06b642b1ff1a200aea84cdfb34a6.tar.bz2 |
[svn-r4673] Purpose:
Backward Compatibility Fix
Description:
H5Pset_fapl_log's parameters have changed from a simple "verbosity" level
to bit-masked flags to enable various behaviors.
Solution:
Added in v1.4 compat stuff, on the unlikely chance that others are actually
using this code in some production way.
There are no C++ or FORTRAN wrappers for this call.
Platforms tested:
FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5FDlog.h')
-rw-r--r-- | src/H5FDlog.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5FDlog.h b/src/H5FDlog.h index 9319999..07f43ae 100644 --- a/src/H5FDlog.h +++ b/src/H5FDlog.h @@ -47,7 +47,11 @@ extern "C" { #endif __DLL__ hid_t H5FD_log_init(void); +#ifdef H5_WANT_H5_V1_4_COMPAT +__DLL__ herr_t H5Pset_fapl_log(hid_t fapl_id, char *logfile, int verbosity); +#else /* H5_WANT_H5_V1_4_COMPAT */ __DLL__ herr_t H5Pset_fapl_log(hid_t fapl_id, char *logfile, unsigned flags, size_t buf_size); +#endif /* H5_WANT_H5_V1_4_COMPAT */ #ifdef __cplusplus } |