HawkTracer  0.8.0
file_dump_listener.h File Reference
#include <hawktracer/base_types.h>
#include <stdio.h>

Go to the source code of this file.

Typedefs

typedef typedefHT_DECLS_BEGIN struct _HT_FileDumpListener HT_FileDumpListener
 

Functions

HT_API HT_FileDumpListenerht_file_dump_listener_create (const char *filename, size_t buffer_size, HT_ErrorCode *out_err)
 
HT_API void ht_file_dump_listener_destroy (HT_FileDumpListener *listener)
 
HT_API void ht_file_dump_listener_callback (TEventPtr events, size_t size, HT_Boolean serialized, void *user_data)
 

Typedef Documentation

◆ HT_FileDumpListener

typedef typedefHT_DECLS_BEGIN struct _HT_FileDumpListener HT_FileDumpListener

Function Documentation

◆ ht_file_dump_listener_callback()

HT_API void ht_file_dump_listener_callback ( TEventPtr  events,
size_t  size,
HT_Boolean  serialized,
void *  user_data 
)

◆ ht_file_dump_listener_create()

HT_API HT_FileDumpListener* ht_file_dump_listener_create ( const char *  filename,
size_t  buffer_size,
HT_ErrorCode out_err 
)

◆ ht_file_dump_listener_destroy()

HT_API void ht_file_dump_listener_destroy ( HT_FileDumpListener listener)