2016-08-22 22:53:26 +00:00
|
|
|
#ifndef TMPLIBRARY_H
|
|
|
|
#define TMPLIBRARY_H
|
|
|
|
|
2016-08-24 06:49:14 +00:00
|
|
|
#include <sys/types.h>
|
2016-08-23 16:48:10 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2016-08-24 17:18:48 +00:00
|
|
|
void *memdlopen(const char *soname, const char *buffer, size_t size);
|
2017-03-06 05:43:24 +00:00
|
|
|
int drop_library(char *path, size_t path_size, const char *buffer, size_t size);
|
2017-04-03 16:40:20 +00:00
|
|
|
pid_t memexec(const char *buffer, size_t size, const char *const* argv, int stdior[3],
|
2017-03-07 17:36:55 +00:00
|
|
|
bool redirected_stdio, bool detach);
|
2016-08-22 22:53:26 +00:00
|
|
|
|
|
|
|
#endif /* TMPLIBRARY_H */
|