summaryrefslogtreecommitdiffstats
path: root/src/H5SMprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-21 19:58:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-21 19:58:48 (GMT)
commit1e07756ac265fad1171cd18efcdb2b0ba9bb903d (patch)
tree92f09eaab8d0ad899a15ef089cc1b7c5f4e07440 /src/H5SMprivate.h
parent9deb5961eeb5265c54df1a8a9daf0cea6c3cded6 (diff)
downloadhdf5-1e07756ac265fad1171cd18efcdb2b0ba9bb903d.zip
hdf5-1e07756ac265fad1171cd18efcdb2b0ba9bb903d.tar.gz
hdf5-1e07756ac265fad1171cd18efcdb2b0ba9bb903d.tar.bz2
[svn-r13367] Description:
Allow "big" attributes to push attribute storage into "dense" form immediately, to accomodate storing the attribute. (This is only allowed in the "latest" version of the format). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5SMprivate.h')
-rwxr-xr-xsrc/H5SMprivate.h25
1 files changed, 17 insertions, 8 deletions
diff --git a/src/H5SMprivate.h b/src/H5SMprivate.h
index 63c953c..49d0916 100755
--- a/src/H5SMprivate.h
+++ b/src/H5SMprivate.h
@@ -23,22 +23,30 @@
#ifndef _H5SMprivate_H
#define _H5SMprivate_H
-#include "H5Oprivate.h"
-#include "H5Pprivate.h"
+#include "H5Oprivate.h" /* Object headers */
+#include "H5Pprivate.h" /* Property lists */
/****************************/
/* Library Private Typedefs */
/****************************/
+/* Forward references of package typedefs */
+typedef struct H5SM_master_table_t H5SM_master_table_t;
+
+
/******************************/
/* Library Private Prototypes */
/******************************/
+
+/* Generally useful shared message routines */
H5_DLL herr_t H5SM_init(H5F_t *f, H5P_genplist_t *fc_plist, hid_t dxpl_id);
+H5_DLL htri_t H5SM_can_share(H5F_t *f, hid_t dxpl_id, H5SM_master_table_t *table,
+ ssize_t *sohm_index_num, unsigned type_id, const void *mesg);
H5_DLL htri_t H5SM_try_share(H5F_t *f, hid_t dxpl_id, unsigned type_id,
- void *mesg);
+ void *mesg);
H5_DLL herr_t H5SM_try_delete(H5F_t *f, hid_t dxpl_id, unsigned type_id, const H5O_shared_t *mesg);
H5_DLL herr_t H5SM_get_info(H5F_t *f, unsigned *index_flags, unsigned *minsizes,
- unsigned *list_max, unsigned *btree_min, hid_t dxpl_id);
+ unsigned *list_max, unsigned *btree_min, hid_t dxpl_id);
H5_DLL htri_t H5SM_type_shared(H5F_t *f, unsigned type_id, hid_t dxpl_id);
H5_DLL herr_t H5SM_get_fheap_addr(H5F_t *f, hid_t dxpl_id, unsigned type_id,
haddr_t *fheap_addr);
@@ -46,11 +54,12 @@ H5_DLL herr_t H5SM_reconstitute(H5O_shared_t *sh_mesg, H5O_fheap_id_t heap_id);
H5_DLL herr_t H5SM_get_refcount(H5F_t *f, hid_t dxpl_id, unsigned type_id,
const H5O_shared_t *sh_mesg, hsize_t *ref_count);
+/* Debugging routines */
H5_DLL herr_t H5SM_table_debug(H5F_t *f, hid_t dxpl_id, haddr_t table_addr,
- FILE *stream, int indent, int fwidth,
- unsigned table_vers, unsigned num_indexes);
+ FILE *stream, int indent, int fwidth, unsigned table_vers,
+ unsigned num_indexes);
H5_DLL herr_t H5SM_list_debug(H5F_t *f, hid_t dxpl_id, haddr_t list_addr,
- FILE *stream, int indent, int fwidth,
- unsigned list_vers, size_t num_messages);
+ FILE *stream, int indent, int fwidth, unsigned list_vers, size_t num_messages);
+
#endif /*_H5SMprivate_H*/