Defined in OmniClient.h

struct OmniClientContent omniClientMoveContent(struct OmniClientContent *content)

Attempt to take ownership of a content buffer.

When you receive a buffer through a callback, such as OmniClientReadFileCallback, you can take ownership of the buffer by calling this function. The library will not free the buffer, so you are required to call omniClientFreeContent when you are finished with it.

If it’s not posible to take ownership of the buffer (because it was referenced rather than allocated) then this will fall back to calling omniClientCopyContent