summaryrefslogtreecommitdiffstats
path: root/src/H5Zprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-31 20:01:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-31 20:01:29 (GMT)
commitb4ac48552d74bcd4ad465d61d2fa294420f2525d (patch)
tree7925b715974b10b69bc2662c2045eb8281f1b726 /src/H5Zprivate.h
parentfbe777b67a3b859d6688111a43f24444cff7d335 (diff)
downloadhdf5-b4ac48552d74bcd4ad465d61d2fa294420f2525d.zip
hdf5-b4ac48552d74bcd4ad465d61d2fa294420f2525d.tar.gz
hdf5-b4ac48552d74bcd4ad465d61d2fa294420f2525d.tar.bz2
[svn-r8601] Purpose:
Code optimization & cleanup Description: Don't recompute the internal index value for looking up the chunk in the hash table, just use the value already computed from iterating through the chunks. Also, back-port some of the various cleanups to the source code from the development branch, to make diffing the code easier. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
Diffstat (limited to 'src/H5Zprivate.h')
-rw-r--r--src/H5Zprivate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5Zprivate.h b/src/H5Zprivate.h
index 4ca0662..5ee02ec 100644
--- a/src/H5Zprivate.h
+++ b/src/H5Zprivate.h
@@ -19,6 +19,7 @@
#ifndef _H5Zprivate_H
#define _H5Zprivate_H
+/* Include package's public header */
#include "H5Zpublic.h"
/* Structure to store information about each filter's parameters */
@@ -45,7 +46,7 @@ H5_DLL herr_t H5Z_register(const H5Z_class_t *cls);
H5_DLL herr_t H5Z_unregister(H5Z_filter_t id);
H5_DLL herr_t H5Z_append(struct H5O_pline_t *pline, H5Z_filter_t filter,
unsigned flags, size_t cd_nelmts, const unsigned int cd_values[]);
-H5_DLL herr_t H5Z_modify(struct H5O_pline_t *pline, H5Z_filter_t filter,
+H5_DLL herr_t H5Z_modify(const struct H5O_pline_t *pline, H5Z_filter_t filter,
unsigned flags, size_t cd_nelmts, const unsigned int cd_values[]);
H5_DLL herr_t H5Z_pipeline(const struct H5O_pline_t *pline,
unsigned flags, unsigned *filter_mask/*in,out*/,
@@ -55,9 +56,9 @@ H5_DLL herr_t H5Z_pipeline(const struct H5O_pline_t *pline,
H5_DLL H5Z_class_t *H5Z_find(H5Z_filter_t id);
H5_DLL herr_t H5Z_can_apply(hid_t dcpl_id, hid_t type_id);
H5_DLL herr_t H5Z_set_local(hid_t dcpl_id, hid_t type_id);
-H5_DLL H5Z_filter_info_t *H5Z_filter_info(struct H5O_pline_t *pline,
+H5_DLL H5Z_filter_info_t *H5Z_filter_info(const struct H5O_pline_t *pline,
H5Z_filter_t filter);
-H5_DLL htri_t H5Z_all_filters_avail(struct H5O_pline_t *pline);
+H5_DLL htri_t H5Z_all_filters_avail(const struct H5O_pline_t *pline);
H5_DLL herr_t H5Z_delete(struct H5O_pline_t *pline, H5Z_filter_t filter);
#endif