Name: H5Iregister_type
Signature:
H5I_type_t H5Iregister_type( size_t hash_size, unsigned reserved, H5I_free_t free_func )
Purpose:
Creates and returns a new ID type.
Description:
H5Iregister_type allocates space for a new ID type and returns an identifier for it.

The hash_size parameter indicates the minimum size of the hash table used to store IDs in the new type.

The reserved parameter indicates the number of IDs in this new type to be reserved. Reserved IDs are valid IDs which are not associated with any storage within the library.

The free_func parameter is a function pointer to a function which returns an herr_t and accepts a void *. The purpose of this function is to deallocate memory for a single ID. It will be called by H5Iclear_type and H5Idestroy_type on each ID. This function is NOT called by H5Iremove_verify. The void * will be the same pointer which was passed in to the H5Iregister function. The free_func function should return 0 on success and -1 on failure.

Parameters:
Returns:
Returns the type identifier on success, negative on failure.
Fortran90 Interface:
This function is not supported in FORTRAN 90.