diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-05-06 22:22:47 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-05-06 22:22:47 +0200 |
commit | 14d2b4d0134ac00a6262d5c8229ffe0d3b5ecd48 (patch) | |
tree | 1803619405ed6733390198db2f322746eb31accd /src/jail.h | |
parent | 9653d78388348ebd47b820a0d9d95bbd885973a0 (diff) |
POTD skeleton #43.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/jail.h')
-rw-r--r-- | src/jail.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,13 +4,13 @@ #include <sys/types.h> #include <unistd.h> -#include "socket.h" +#include "forward.h" #define MIN_STACKSIZE 2048 #define MAX_STACKSIZE BUFSIZ typedef struct jail_ctx { - psocket sock; + forward_ctx fwd_ctx; char host_buf[NI_MAXHOST], service_buf[NI_MAXSERV]; size_t stacksize; void *stack_ptr; |