d56e99d9c2240675192afc4071efeb1e5f4149bd
Stefan Schuermans lwpttr -> lwptev (include g...

Stefan Schuermans authored 4 years ago

liblwptev/src/cleaner.h  1) #ifndef LWPTEV_CLEANER_H
liblwptev/src/cleaner.h  2) #define LWPTEV_CLEANER_H
Stefan Schuermans add exe and cwd to proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/cleaner.h  3) 
liblwpttr/src/cleaner.h  4) /**
liblwpttr/src/cleaner.h  5)  * @brief cleaner object
liblwpttr/src/cleaner.h  6)  *
liblwpttr/src/cleaner.h  7)  * collects pointers to be freed and frees them on request
liblwpttr/src/cleaner.h  8)  */
Stefan Schuermans lwpttr -> lwptev

Stefan Schuermans authored 4 years ago

liblwptev/src/cleaner.h  9) typedef struct lwptev_cleaner_s lwptev_cleaner_t;
Stefan Schuermans add exe and cwd to proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/cleaner.h 10) 
liblwpttr/src/cleaner.h 11) /**
liblwpttr/src/cleaner.h 12)  * @brief creater cleaner object
liblwpttr/src/cleaner.h 13)  * @return pointer to cleaner object or NULL on error
liblwpttr/src/cleaner.h 14)  */
Stefan Schuermans lwpttr -> lwptev

Stefan Schuermans authored 4 years ago

liblwptev/src/cleaner.h 15) lwptev_cleaner_t * lwptev_cleaner_new(void);
Stefan Schuermans add exe and cwd to proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/cleaner.h 16) 
liblwpttr/src/cleaner.h 17) /**
liblwpttr/src/cleaner.h 18)  * @brief add pointer to be freed to cleaner object
liblwpttr/src/cleaner.h 19)  * @param[in] cleaner cleaner object
liblwpttr/src/cleaner.h 20)  * @param[in] ptr the pointer to be freed on cleanup
liblwpttr/src/cleaner.h 21)  * @return 0 on success, -1 on error
liblwpttr/src/cleaner.h 22)  *         (on error, cleanup is done and cleaner is deallocated)
liblwpttr/src/cleaner.h 23)  */
Stefan Schuermans lwpttr -> lwptev

Stefan Schuermans authored 4 years ago

liblwptev/src/cleaner.h 24) int lwptev_cleaner_add_ptr(lwptev_cleaner_t *cleaner, void *ptr);
Stefan Schuermans add exe and cwd to proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/cleaner.h 25) 
liblwpttr/src/cleaner.h 26) /**
liblwpttr/src/cleaner.h 27)  * @brief cleanup all pointers in cleaner and free cleaner itself
liblwpttr/src/cleaner.h 28)  * @param[in] cleaner cleaner object
liblwpttr/src/cleaner.h 29)  */
Stefan Schuermans lwpttr -> lwptev

Stefan Schuermans authored 4 years ago

liblwptev/src/cleaner.h 30) void lwptev_cleaner_cleanup(lwptev_cleaner_t *cleaner);
Stefan Schuermans add exe and cwd to proc_begin

Stefan Schuermans authored 4 years ago

liblwpttr/src/cleaner.h 31)