Defined in OmniClient.h

char *omniClientMakeQueryFromBranchAndCheckpoint(char const *branch, uint64_t checkpoint, char *buffer, size_t *bufferSize)

This creates a query string from the parameters provided.

“bufferSize” is an in-out parameter; set it to the size of the buffer before calling this function and it will be set to the actual size when the function returns. If the size required is more than the size provided, this function returns null, otherwise it returns ‘buffer’.