secgateway/Common/trace_api.h

17 lines
435 B
C
Raw Normal View History

#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 trace_client_init();
trace_ret_t trace_client_exit();
trace_ret_t trace_async_exec(const trace_policy_t *in,
async_cb cb, void *arg);
trace_ret_t trace_sync_exec(const trace_policy_t *in);
trace_ret_t trace_exec_no_reply(const trace_policy_t *in);
#endif