diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-02-27 14:52:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-02-27 14:52:21 (GMT) |
commit | 658bf4a8fb16cd3334b3fbfa2628226ffc20931f (patch) | |
tree | fea930220af70816b8ee849a24bb0c0e47c3acb9 /src/H5HFprivate.h | |
parent | 3713db1174ff83154ff63f93b4ba512eebed9748 (diff) | |
download | hdf5-658bf4a8fb16cd3334b3fbfa2628226ffc20931f.zip hdf5-658bf4a8fb16cd3334b3fbfa2628226ffc20931f.tar.gz hdf5-658bf4a8fb16cd3334b3fbfa2628226ffc20931f.tar.bz2 |
[svn-r11968] Purpose:
Incrementtal checkin
Description:
Revise & update v2 B-tree code to separate the internal package-specific
routines from the library-callable "private" routines.
Similar updates for the fractal heap code.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Mac OSX (amazon)
Diffstat (limited to 'src/H5HFprivate.h')
-rw-r--r-- | src/H5HFprivate.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/H5HFprivate.h b/src/H5HFprivate.h index 49c11c9..62334fa 100644 --- a/src/H5HFprivate.h +++ b/src/H5HFprivate.h @@ -45,7 +45,16 @@ typedef enum { H5HF_ABSOLUTE, /* The heap uses absolute internal addressing */ H5HF_MAPPED /* The heap maps internal addresses to allow compaction */ -} H5HF_type_t; +} H5HF_addrmap_t; + +/* Fractal heap creation parameters */ +typedef struct H5HF_create_t { + H5HF_addrmap_t addrmap; /* Type of address mapping for objects in heap */ + uint32_t standalone_size; /* Size of object to store standalone */ + /* (i.e. max. size of object to manage) */ + uint32_t fixed_len_size; /* Size of objects (0 means variable-sized objects) */ + /* (only for heaps w/fixed-length objects) */ +} H5HF_create_t; /*****************************/ @@ -55,7 +64,7 @@ typedef enum { /***************************************/ /* Library-private Function Prototypes */ /***************************************/ -H5_DLL herr_t H5HF_create(H5F_t *f, hid_t dxpl_id, H5HF_type_t type, +H5_DLL herr_t H5HF_create(H5F_t *f, hid_t dxpl_id, H5HF_create_t *cparam, haddr_t *addr_p); H5_DLL herr_t H5HF_insert(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t size, const void *obj, void *id/*out*/); |