BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
d56e99d
Branches
Tags
master
uproctrace
liblwptev
src
event.h
lwpttr -> lwptev (include guards)
Stefan Schuermans
commited
d56e99d
at 2020-05-17 19:02:49
event.h
Blame
History
Raw
#ifndef LWPTEV_EVENT_H #define LWPTEV_EVENT_H #include "cleaner.h" #include <lwproctrace.pb-c.h> #include <stdlib.h> /** * @brief pack event to a buffer * @param[in] event the event to pack to a buffer * @param[out] *data pointer to event data (malloc-ed) * @param[out] *size size of data * @param[in] cleaner cleaned up after building data buffer (also on error) * @return 0 on success (*data, *size set), * -1 on error (*data = NULL, *size = 0) */ int lwptev_event_pack(struct _Lwproctrace__Event *event, void **data, size_t *size, lwptev_cleaner_t *cleaner); #endif /* #ifndef LWPTEV_EVENT_H */