If NULL then no hyperdocs are returned. This is useful for calculating statistics, sorting the parent anchors etc. Return an array that must be freed by the caller or NULL if no anchors. Any anchor object can have zero, one, or many links but the normal case is one. Therefore we treat this is a special way.
Any outgoing link can at any time be the main destination.
This is why I like to call it a view instead of a fragment. The URI that was passed when the anchor was crated and the physical address that's used when the URI is going to be requested. Logical Address Returns the full URI of the anchor, child or parent as a malloc'd string to be freed by the caller as when the anchor was created. This data object does can for example be a parsed version of a HTML that knows how to present itself to the user, or it can be an unparsed data object. It's completely free for the application to use this possibility, but a typical usage would to manage the data object as part of a memory cache.