Function regorust::regoOutputJSON

source ยท
pub unsafe extern "C" fn regoOutputJSON(
    output: *mut regoOutput,
    buffer: *mut c_char,
    size: regoSize,
) -> regoEnum
Expand description

@brief Populate a buffer with the output represented as a human-readable string. @details The buffer must be large enough to hold the value. The size of the buffer can be determined by calling ::regoOutputJSONSize. @param output The output. @param buffer The buffer to populate. @param size The size of the buffer. @return REGO_OK if successful, REGO_ERROR_BUFFER_TOO_SMALL otherwise.