Check if Hard/Soft/External link is broken



Sometimes I get exception when trying to get broken Soft/External links. This usually happens after I move them or move links that these Soft/External links point to.

To prevent accesing broken links I think I should somehow get informatiom if the link is valid.
I know I can use H5Lexists that helps me to undestand whether the link exist or not in the give group. But how to check is the link is broken?


Not a perfect match, but H5Oexists_by_name might do the trick. OK? G.


Thank, this should work