H5Iregister_type

fnH5I_type_t H5Iregister_type(size_t hash_size, uint reserved, H5I_free_t free_func)

Allocates a new identifier type.

Creates a new identifier type that can be used to register custom objects with the HDF5 library's identifier management system.

Parameters

hash_sizeSize of the hash table for this type (use 0 for default)
reservedNumber of IDs to reserve (typically 0)
free_funcOptional callback to free objects when type is cleared

Returns

A new identifier type on success, or H5I_BADID on failure.