diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-05-13 23:43:10 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-05-13 23:43:10 +0200 |
commit | 3e854ba53063062a4824966ae1b6c93e6100cea4 (patch) | |
tree | dd5de5c014018d7c4ba50dde77d886d2f1c42d10 /src/protocol_ssh.h | |
parent | d336c8771f617df35c43f28feae6c3f83512deaf (diff) |
POTD skeleton #49.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/protocol_ssh.h')
-rw-r--r-- | src/protocol_ssh.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/protocol_ssh.h b/src/protocol_ssh.h new file mode 100644 index 0000000..52b628b --- /dev/null +++ b/src/protocol_ssh.h @@ -0,0 +1,15 @@ +#ifndef POTD_SERVER_SSH_H +#define POTD_SERVER_SSH_H 1 + +#include <libssh/server.h> + +#include "protocol.h" + +int ssh_init_cb(protocol_ctx *ctx); + +int ssh_on_listen(protocol_ctx *ctx, const char *host, + const char *port); + +int ssh_on_shutdown(protocol_ctx *ctx); + +#endif |