24#ifndef __M_IO_TRACE_H__
25#define __M_IO_TRACE_H__
27#include <mstdlib/base/m_defs.h>
28#include <mstdlib/base/m_types.h>
29#include <mstdlib/io/m_io.h>
30#include <mstdlib/io/m_event.h>
76typedef void *(*M_io_trace_cb_dup_t)(
void *cb_arg);
enum M_event_type M_event_type_t
Definition: m_event.h:189
void * M_io_trace_get_callback_arg(M_io_t *io, size_t layer_id)
M_io_error_t M_io_add_trace(M_io_t *io, size_t *layer_id, M_io_trace_cb_t callback, void *cb_arg, M_io_trace_cb_dup_t cb_dup, M_io_trace_cb_free_t cb_free)
void *(* M_io_trace_cb_dup_t)(void *cb_arg)
Definition: m_io_trace.h:76
void(* M_io_trace_cb_free_t)(void *cb_arg)
Definition: m_io_trace.h:82
M_io_trace_type
Definition: m_io_trace.h:49
enum M_io_trace_type M_io_trace_type_t
Definition: m_io_trace.h:54
M_bool M_io_trace_set_callback_arg(M_io_t *io, size_t layer_id, void *cb_arg)
void(* M_io_trace_cb_t)(void *cb_arg, M_io_trace_type_t type, M_event_type_t event_type, const unsigned char *data, size_t data_len)
Definition: m_io_trace.h:66
@ M_IO_TRACE_TYPE_READ
Definition: m_io_trace.h:50
@ M_IO_TRACE_TYPE_WRITE
Definition: m_io_trace.h:51
@ M_IO_TRACE_TYPE_EVENT
Definition: m_io_trace.h:52
enum M_io_error M_io_error_t
Definition: m_io.h:93
struct M_io M_io_t
Definition: m_io.h:59