From 9653d78388348ebd47b820a0d9d95bbd885973a0 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sun, 6 May 2018 14:40:52 +0200 Subject: POTD skeleton #42. Signed-off-by: Toni Uhlig --- src/forward.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/forward.h') diff --git a/src/forward.h b/src/forward.h index 386dc94..60c7500 100644 --- a/src/forward.h +++ b/src/forward.h @@ -30,6 +30,8 @@ int fwd_setup(forward_ctx *ctx, const char *host, const char *port); int fwd_validate_ctx(const forward_ctx *ctx); -int fwd_connect(forward_ctx *ctx, psocket *fwd_client); +int fwd_connect_sock(forward_ctx *ctx, psocket *fwd_client); + +int fwd_listen_fd(forward_ctx *ctx, int fwd_fd); #endif -- cgit v1.2.3