c84264bb398c51438bb5230fc6b4a2a75a5bd923
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

libuptev/src/event.h   1) #ifndef UPTEV_EVENT_H
libuptev/src/event.h   2) #define UPTEV_EVENT_H
Stefan Schuermans split event and proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/event.h  3) 
liblwpttr/src/event.h  4) #include "cleaner.h"
liblwpttr/src/event.h  5) 
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

libuptev/src/event.h   6) #include <uproctrace.pb-c.h>
Stefan Schuermans split event and proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/event.h  7) 
liblwpttr/src/event.h  8) #include <stdlib.h>
liblwpttr/src/event.h  9) 
liblwpttr/src/event.h 10) /**
liblwpttr/src/event.h 11)  * @brief pack event to a buffer
liblwpttr/src/event.h 12)  * @param[in] event the event to pack to a buffer
liblwpttr/src/event.h 13)  * @param[out] *data pointer to event data (malloc-ed)
liblwpttr/src/event.h 14)  * @param[out] *size size of data
liblwpttr/src/event.h 15)  * @param[in] cleaner cleaned up after building data buffer (also on error)
liblwpttr/src/event.h 16)  * @return 0 on success (*data, *size set),
liblwpttr/src/event.h 17)  *         -1 on error (*data = NULL, *size = 0)
liblwpttr/src/event.h 18)  */
Stefan Schuermans formatting

Stefan Schuermans authored 4 years ago

libuptev/src/event.h  19) int uptev_event_pack(struct _Uproctrace__Event *event, void **data,
libuptev/src/event.h  20)                      size_t *size, uptev_cleaner_t *cleaner);
Stefan Schuermans split event and proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/event.h 21)