summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-01-03 20:45:18 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-01-03 20:45:18 (GMT)
commit6f820c0a247ee97a35c597d2510320407f10fc7b (patch)
tree7438729ca1527ae38e07bdf2db30bd8498362a3e /tools/h5repack/h5repack.h
parent0402a2a030109eb3dea6e34e32e49ecd04bad704 (diff)
downloadhdf5-6f820c0a247ee97a35c597d2510320407f10fc7b.zip
hdf5-6f820c0a247ee97a35c597d2510320407f10fc7b.tar.gz
hdf5-6f820c0a247ee97a35c597d2510320407f10fc7b.tar.bz2
[svn-r14368] clean code and reshufle functions between modules, remove unused functions
tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r--tools/h5repack/h5repack.h46
1 files changed, 16 insertions, 30 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h
index 95a6584..baa888e 100644
--- a/tools/h5repack/h5repack.h
+++ b/tools/h5repack/h5repack.h
@@ -147,52 +147,38 @@ int h5repack_cmpdcpl (const char *fname1,
*/
-int copy_objects(const char* fnamein,
- const char* fnameout,
- pack_opt_t *options);
+/*-------------------------------------------------------------------------
+ * copy module
+ *-------------------------------------------------------------------------
+ */
+
+int copy_objects (const char* fnamein,
+ const char* fnameout,
+ pack_opt_t *options);
int do_copy_refobjs(hid_t fidin,
hid_t fidout,
trav_table_t *travt,
- pack_opt_t *options); /* repack options */
-
+ pack_opt_t *options);
-void read_info(const char *filename,pack_opt_t *options);
+/*-------------------------------------------------------------------------
+ * filters and verify module
+ *-------------------------------------------------------------------------
+ */
void init_packobject(pack_info_t *obj);
-int print_filters(hid_t dcpl_id);
-
/*-------------------------------------------------------------------------
- * filters
+ * filters and copy module
*-------------------------------------------------------------------------
*/
int apply_filters(const char* name, /* object name from traverse list */
int rank, /* rank of dataset */
hsize_t *dims, /* dimensions of dataset */
- hid_t dcpl_id, /* (IN,OUT) dataset creation property list */
+ hid_t dcpl_id, /* dataset creation property list */
pack_opt_t *options, /* repack options */
- int *has_filter); /* (OUT) object NAME has a filter */
-
-int can_read(const char* name, /* object name from traverse list */
- hid_t dcpl_id, /* dataset creation property list */
- pack_opt_t *options); /* repack options */
-
-
-/*-------------------------------------------------------------------------
- * layout functions
- *-------------------------------------------------------------------------
- */
-
-
-int layout_this(hid_t dcpl_id, /* DCPL from input object */
- const char* name, /* object name from traverse list */
- pack_opt_t *options, /* repack options */
- pack_info_t *pack /*OUT*/) /* object to apply layout */;
-
-int apply_layout(hid_t dcpl_id,
- pack_info_t *pack); /* info about object */
+ int *has_filter); /* (OUT) object NAME has a filter */
/*-------------------------------------------------------------------------