Function regorust::regoSetInputTerm
source · pub unsafe extern "C" fn regoSetInputTerm(
rego: *mut regoInterpreter,
contents: *const c_char,
) -> regoEnumExpand description
@brief Sets the current input document from the specified string. @details The string should contain a single Rego data term. The value will be parsed and set as the interpreter’s input document. @par If an error code is returned, more error information can be obtained by calling ::regoError. @param rego The interpreter. @param contents The contents of the Rego data term. @return REGO_OK if successful, REGO_ERROR otherwise.