2019-06-13 02:53:14 +00:00
|
|
|
#ifndef _TRACE_API_H
|
|
|
|
#define _TRACE_API_H
|
|
|
|
|
2019-06-14 09:42:25 +00:00
|
|
|
#include "trace_def.h"
|
2019-06-13 02:53:14 +00:00
|
|
|
|
|
|
|
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);
|
2019-06-14 10:14:32 +00:00
|
|
|
trace_ret_t policy_exec_no_reply(const trace_policy_t *in);
|
2019-06-13 02:53:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|