diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-05-06 14:40:52 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-05-06 14:40:52 +0200 |
commit | 9653d78388348ebd47b820a0d9d95bbd885973a0 (patch) | |
tree | df3d51baa08075f44b6c18596730ac21714e5139 /src/forward.h | |
parent | 4f66937b2bfadfa54aa099ea9bbb9f2f0dc2416f (diff) |
POTD skeleton #42.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/forward.h')
-rw-r--r-- | src/forward.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |