diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-21 01:18:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-11-21 01:18:55 (GMT) |
commit | f6deaca1d4cca061273cd6daef0357200d4c6ea4 (patch) | |
tree | c3c79ba33c986d048bdfbf21c493a8b2206c6818 /src/H5Opublic.h | |
parent | 51da322882c72fa1c9e5c173b6e60ec283f7b4a1 (diff) | |
download | hdf5-f6deaca1d4cca061273cd6daef0357200d4c6ea4.zip hdf5-f6deaca1d4cca061273cd6daef0357200d4c6ea4.tar.gz hdf5-f6deaca1d4cca061273cd6daef0357200d4c6ea4.tar.bz2 |
[svn-r12954] Description:
Initial refactoring to prepare for H5Oopen_by_idx() API support.
Tested on:
Linux/32 2.4 (chicago)
Linux/64 2.4 (chicago2)
Diffstat (limited to 'src/H5Opublic.h')
-rw-r--r-- | src/H5Opublic.h | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/src/H5Opublic.h b/src/H5Opublic.h index 9576ff1..258f701 100644 --- a/src/H5Opublic.h +++ b/src/H5Opublic.h @@ -29,8 +29,13 @@ #define _H5Opublic_H /* Public headers needed by this file */ -#include "H5public.h" -#include "H5Ipublic.h" +#include "H5public.h" /* Generic Functions */ +#include "H5Ipublic.h" /* IDs */ +#include "H5Lpublic.h" /* Links */ + +/*****************/ +/* Public Macros */ +/*****************/ /* Flags for object copy (H5Ocopy) */ #define H5O_COPY_SHALLOW_HIERARCHY_FLAG (0x0001u) /* Copy only immediate members */ @@ -57,6 +62,10 @@ #define H5O_MESG_ALL_FLAG (H5O_MESG_SDSPACE_FLAG | H5O_MESG_DTYPE_FLAG | H5O_MESG_FILL_FLAG | H5O_MESG_PLINE_FLAG | H5O_MESG_ATTR_FLAG) +/*******************/ +/* Public Typedefs */ +/*******************/ + typedef struct H5O_stat_t { hsize_t size; /* Total size of object header in file */ hsize_t free; /* Free space within object header */ @@ -64,12 +73,23 @@ typedef struct H5O_stat_t { unsigned nchunks; /* Number of object header chunks */ } H5O_stat_t; + +/********************/ +/* Public Variables */ +/********************/ + + #ifdef __cplusplus extern "C" { #endif +/*********************/ +/* Public Prototypes */ +/*********************/ H5_DLL hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id); H5_DLL hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr); +H5_DLL hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, + H5L_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id); H5_DLL herr_t H5Oincr_refcount(hid_t object_id); H5_DLL herr_t H5Odecr_refcount(hid_t object_id); H5_DLL herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, @@ -79,4 +99,5 @@ H5_DLL herr_t H5Oclose(hid_t object_id); #ifdef __cplusplus } #endif -#endif +#endif /* _H5Opublic_H */ + |