HawkTracer  0.8.0
timeline_listener.h
Go to the documentation of this file.
1 #ifndef HAWKTRACER_TIMELINE_LISTENER_H
2 #define HAWKTRACER_TIMELINE_LISTENER_H
3 
5 
6 #include <stddef.h>
7 
9 
21  TEventPtr events, size_t buffer_size, HT_Boolean serialized, void* user_data);
22 
31 HT_API size_t ht_timeline_listener_push_metadata(HT_TimelineListenerCallback callback, void* listener, HT_Boolean serialize);
32 
34 
35 #endif /* HAWKTRACER_TIMELINE_LISTENER_H */
#define HT_API
Defines a directive for exporting/importing symbols from DLL.
Definition: macros.h:76
#define HT_DECLS_END
Defines an end of C linkage block.
Definition: macros.h:17
int HT_Boolean
A standard boolean type, possible values: HT_TRUE, HT_FALSE.
Definition: base_types.h:20
HT_DECLS_BEGIN typedef void(* HT_TimelineListenerCallback)(TEventPtr events, size_t buffer_size, HT_Boolean serialized, void *user_data)
A callback for the timeline listener.
Definition: timeline_listener.h:20
HT_API size_t ht_timeline_listener_push_metadata(HT_TimelineListenerCallback callback, void *listener, HT_Boolean serialize)
Pushes all metadata events (registry klasses, system information) to a listener.
#define HT_DECLS_BEGIN
Defines a beginning of C linkage block.
Definition: macros.h:16
uint8_t * TEventPtr
A pointer to a list of HT_Event (or derived) objects.
Definition: base_types.h:22