aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-05-14 02:54:50 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-05-14 02:54:50 +0200
commitee9f7bafbb2a8dd2ecd794b2d78e90022ef139fe (patch)
tree0618aae7dbc5bf1d6ffb1115b71c1d20c1811b91 /src/protocol.h
parent3e854ba53063062a4824966ae1b6c93e6100cea4 (diff)
POTD skeleton #50.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol.h b/src/protocol.h
index 88ffcf8..4024aec 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -8,8 +8,7 @@
struct protocol_ctx;
typedef int (*proto_init_cb) (struct protocol_ctx *ctx);
-typedef int (*proto_listen_cb) (struct protocol_ctx *ctx, const char *host,
- const char *port);
+typedef int (*proto_listen_cb) (struct protocol_ctx *ctx);
typedef int (*proto_shutdown_cb) (struct protocol_ctx *ctx);
typedef struct protocol_cbs {