phytrace_agent_create_from_file

Function phytrace_agent_create_from_file 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn phytrace_agent_create_from_file( path: *const c_char, ) -> *mut PhyTraceAgentHandle
Expand description

Create a PhyTrace agent from a YAML configuration file path.

Returns a heap-allocated agent handle on success, or null on failure. On failure, call phytrace_last_error() for details.

The returned handle must be freed with phytrace_agent_destroy().