17 lines
440 B
C
Executable File
17 lines
440 B
C
Executable File
#ifndef _TRACE_API_H
|
|
#define _TRACE_API_H
|
|
|
|
#include "trace_def.h"
|
|
|
|
typedef void (*async_cb)(trace_ret_t ret, void *arg);
|
|
|
|
trace_ret_t policy_client_init();
|
|
trace_ret_t policy_client_exit();
|
|
trace_ret_t policy_async_exec(const trace_policy_t *in,
|
|
async_cb cb, void *arg);
|
|
trace_ret_t policy_sync_exec(const trace_policy_t *in);
|
|
trace_ret_t policy_exec_no_reply(const trace_policy_t *in);
|
|
|
|
|
|
#endif
|