gobj_load_trace_filter()
#
Loads a trace filter into the specified hgclass
, replacing any existing filter.
Prototype
int gobj_load_trace_filter(
hgclass gclass,
json_t *jn_trace_filter // owned
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The |
|
|
A JSON object containing the trace filter rules. This parameter is owned and will be managed internally. |
Return Value
Returns 0
on success.
Notes
This function replaces any existing trace filter in the specified hgclass
.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples