diff options
Diffstat (limited to 'src/jail.h')
-rw-r--r-- | src/jail.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,6 +6,7 @@ #include "socket.h" +#define MIN_STACKSIZE 2048 #define MAX_STACKSIZE BUFSIZ typedef struct jail_ctx { @@ -25,8 +26,8 @@ int jail_setup(jail_ctx *ctx, int jail_validate_ctx(const jail_ctx *ctx); -void jail_free(jail_ctx **ctx); +int jail_setup_epoll(jail_ctx *ctx[], size_t siz); -int jail_daemonize(jail_ctx *ctx); +int jail_daemonize_epoll(int epoll_fd, jail_ctx *ctx[], size_t siz); #endif |