C++ and Fortran API functions. This is for bug #1245. Tested on kagiso - I've tested the same change using h5committest.