aboutsummaryrefslogtreecommitdiff
path: root/src/server_ssh.h
blob: 291478bbcb13443aedaeea3fb0c2bdf4e114e755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef POTD_SERVER_SSH_H
#define POTD_SERVER_SSH_H 1

#include <libssh/server.h>

#include "forward.h"

int ssh_init_cb(struct forward_ctx *ctx);

int ssh_on_listen(struct forward_ctx *ctx, const char *host,
                  const char *port);

int ssh_on_shutdown(struct forward_ctx *ctx);

#endif