[][src]Function dqcsim::bindings::dqcs_pcfg_script

#[no_mangle]pub extern "C" fn dqcs_pcfg_script(pcfg: dqcs_handle_t) -> *mut c_char

Returns the configured script path for the given plugin process.

On success, this returns a newly allocated string containing the script path. Free it with free() when you're done with it to avoid memory leaks. On failure (i.e., the handle is invalid) this returns NULL. An empty string will be returned if no script is configured to distinguish it from failure.