Defined in OmniClient.h

struct OmniClientContent omniClientAllocContent(size_t size)

Allocate a content buffer with the specified size.

You can fill in the returned buffer then pass it to the various client library functions such as omniClientWriteFile and omniClientSendMessage which will then take ownership of the buffer and free it when they are finished with it.