diff options
Diffstat (limited to 'src/H5Gprivate.h')
-rw-r--r-- | src/H5Gprivate.h | 73 |
1 files changed, 40 insertions, 33 deletions
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h index 82d4124..c805f7a 100644 --- a/src/H5Gprivate.h +++ b/src/H5Gprivate.h @@ -111,52 +111,59 @@ typedef struct H5G_typeinfo_t { * call. */ __DLL__ herr_t H5G_register_type(intn type, htri_t(*isa)(H5G_entry_t*), - const char *desc); -__DLL__ H5G_entry_t *H5G_loc (hid_t loc_id); -__DLL__ herr_t H5G_mkroot (H5F_t *f, H5G_entry_t *root_entry); -__DLL__ H5G_entry_t *H5G_entof (H5G_t *grp); -__DLL__ H5F_t *H5G_fileof (H5G_t *grp); -__DLL__ H5G_t *H5G_create (H5G_entry_t *loc, const char *name, size_t size_hint); -__DLL__ H5G_t *H5G_open (H5G_entry_t *loc, const char *name); -__DLL__ H5G_t *H5G_reopen (H5G_t *grp); -__DLL__ herr_t H5G_close (H5G_t *grp); + const char *desc); +__DLL__ H5G_entry_t *H5G_loc(hid_t loc_id); +__DLL__ herr_t H5G_mkroot(H5F_t *f, H5G_entry_t *root_entry); +__DLL__ H5G_entry_t *H5G_entof(H5G_t *grp); +__DLL__ H5F_t *H5G_fileof(H5G_t *grp); +__DLL__ H5G_t *H5G_create(H5G_entry_t *loc, const char *name, + size_t size_hint); +__DLL__ H5G_t *H5G_open(H5G_entry_t *loc, const char *name); +__DLL__ H5G_t *H5G_reopen(H5G_t *grp); +__DLL__ herr_t H5G_close(H5G_t *grp); __DLL__ H5G_t *H5G_rootof(H5F_t *f); __DLL__ htri_t H5G_isa(H5G_entry_t *ent); -__DLL__ herr_t H5G_link (H5G_entry_t *loc, H5G_link_t type, const char *cur_name, - const char *new_name, uintn namei_flags); +__DLL__ herr_t H5G_link(H5G_entry_t *loc, H5G_link_t type, + const char *cur_name, const char *new_name, + uintn namei_flags); __DLL__ intn H5G_get_type(H5G_entry_t *ent); -__DLL__ herr_t H5G_get_objinfo (H5G_entry_t *loc, const char *name, - hbool_t follow_link, H5G_stat_t *statbuf/*out*/); -__DLL__ herr_t H5G_linkval (H5G_entry_t *loc, const char *name, size_t size, - char *buf/*out*/); -__DLL__ herr_t H5G_set_comment(H5G_entry_t *loc, const char *name, const char *buf); -__DLL__ intn H5G_get_comment(H5G_entry_t *loc, const char *name, size_t bufsize, - char *buf); -__DLL__ herr_t H5G_insert (H5G_entry_t *loc, const char *name, H5G_entry_t *ent); -__DLL__ herr_t H5G_move(H5G_entry_t *loc, const char *src_name, const char *dst_name); +__DLL__ herr_t H5G_get_objinfo(H5G_entry_t *loc, const char *name, + hbool_t follow_link, + H5G_stat_t *statbuf/*out*/); +__DLL__ herr_t H5G_linkval(H5G_entry_t *loc, const char *name, size_t size, + char *buf/*out*/); +__DLL__ herr_t H5G_set_comment(H5G_entry_t *loc, const char *name, + const char *buf); +__DLL__ intn H5G_get_comment(H5G_entry_t *loc, const char *name, + size_t bufsize, char *buf); +__DLL__ herr_t H5G_insert(H5G_entry_t *loc, const char *name, + H5G_entry_t *ent); +__DLL__ herr_t H5G_move(H5G_entry_t *loc, const char *src_name, + const char *dst_name); __DLL__ herr_t H5G_unlink(H5G_entry_t *loc, const char *name); -__DLL__ herr_t H5G_find (H5G_entry_t *loc, const char *name, - H5G_entry_t *grp_ent/*out*/, H5G_entry_t *ent/*out*/); +__DLL__ herr_t H5G_find(H5G_entry_t *loc, const char *name, + H5G_entry_t *grp_ent/*out*/, H5G_entry_t *ent/*out*/); __DLL__ H5F_t *H5G_insertion_file(H5G_entry_t *loc, const char *name); -__DLL__ herr_t H5G_traverse_slink (H5G_entry_t *grp_ent/*in,out*/, - H5G_entry_t *obj_ent/*in,out*/, - intn *nlinks/*in,out*/); -__DLL__ herr_t H5G_ent_encode (H5F_t *f, uint8_t **pp, const H5G_entry_t *ent); -__DLL__ herr_t H5G_ent_decode (H5F_t *f, const uint8_t **pp, H5G_entry_t *ent/*out*/); +__DLL__ herr_t H5G_traverse_slink(H5G_entry_t *grp_ent/*in,out*/, + H5G_entry_t *obj_ent/*in,out*/, + intn *nlinks/*in,out*/); +__DLL__ herr_t H5G_ent_encode(H5F_t *f, uint8_t **pp, const H5G_entry_t *ent); +__DLL__ herr_t H5G_ent_decode(H5F_t *f, const uint8_t **pp, + H5G_entry_t *ent/*out*/); /* * These functions operate on symbol table nodes. */ -__DLL__ herr_t H5G_node_debug (H5F_t *f, const haddr_t *addr, FILE * stream, - intn indent, intn fwidth, const haddr_t *heap); +__DLL__ herr_t H5G_node_debug(H5F_t *f, const haddr_t *addr, FILE * stream, + intn indent, intn fwidth, const haddr_t *heap); /* * These functions operate on symbol table entries. They're used primarily * in the H5O package where header messages are cached in symbol table * entries. The subclasses of H5O probably don't need them though. */ -__DLL__ H5G_cache_t *H5G_ent_cache (H5G_entry_t *ent, H5G_type_t *cache_type); -__DLL__ herr_t H5G_ent_modified (H5G_entry_t *ent, H5G_type_t cache_type); -__DLL__ herr_t H5G_ent_debug (H5F_t *f, const H5G_entry_t *ent, FILE * stream, - intn indent, intn fwidth, const haddr_t *heap); +__DLL__ H5G_cache_t *H5G_ent_cache(H5G_entry_t *ent, H5G_type_t *cache_type); +__DLL__ herr_t H5G_ent_modified(H5G_entry_t *ent, H5G_type_t cache_type); +__DLL__ herr_t H5G_ent_debug(H5F_t *f, const H5G_entry_t *ent, FILE * stream, + intn indent, intn fwidth, const haddr_t *heap); #endif |