Function regorust::regoBundleQuery
source ยท pub unsafe extern "C" fn regoBundleQuery(
rego: *mut regoInterpreter,
bundle: *mut regoBundle,
) -> *mut regoOutputExpand description
@brief Performs a query against the specified bundle. @details The output of the query will be returned as a regoOutput object. The query executed will be the one set with ::regoSetQuery when the bundle was built. If no query was set, the output will be an error sequence. @note The caller is responsible for freeing the output object with ::regoFreeOutput. @param rego The interpreter. @param bundle The bundle to query. @return The output of the query.