diff options
Diffstat (limited to 'ssh/nosharing.c')
-rw-r--r-- | ssh/nosharing.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ssh/nosharing.c b/ssh/nosharing.c new file mode 100644 index 00000000..c45634c5 --- /dev/null +++ b/ssh/nosharing.c @@ -0,0 +1,25 @@ +/* + * Stub implementation of SSH connection-sharing IPC, for any + * platform which can't support it at all. + */ + +#include <stdio.h> +#include <assert.h> +#include <errno.h> + +#include "tree234.h" +#include "putty.h" +#include "ssh.h" +#include "network.h" + +int platform_ssh_share(const char *name, Conf *conf, + Plug *downplug, Plug *upplug, Socket **sock, + char **logtext, char **ds_err, char **us_err, + bool can_upstream, bool can_downstream) +{ + return SHARE_NONE; +} + +void platform_ssh_share_cleanup(const char *name) +{ +} |