2013-11-17 14:05:41 +00:00
|
|
|
/*
|
|
|
|
* 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,
|
Get rid of lots of implicit pointer types.
All the main backend structures - Ssh, Telnet, Pty, Serial etc - now
describe structure types themselves rather than pointers to them. The
same goes for the codebase-wide trait types Socket and Plug, and the
supporting types SockAddr and Pinger.
All those things that were typedefed as pointers are older types; the
newer ones have the explicit * at the point of use, because that's
what I now seem to be preferring. But whichever one of those is
better, inconsistently using a mixture of the two styles is worse, so
let's make everything consistent.
A few types are still implicitly pointers, such as Bignum and some of
the GSSAPI types; generally this is either because they have to be
void *, or because they're typedefed differently on different
platforms and aren't always pointers at all. Can't be helped. But I've
got rid of the main ones, at least.
2018-10-04 18:10:23 +00:00
|
|
|
Plug *downplug, Plug *upplug, Socket **sock,
|
2014-04-22 17:53:50 +00:00
|
|
|
char **logtext, char **ds_err, char **us_err,
|
|
|
|
int can_upstream, int can_downstream)
|
2013-11-17 14:05:41 +00:00
|
|
|
{
|
|
|
|
return SHARE_NONE;
|
|
|
|
}
|
|
|
|
|
|
|
|
void platform_ssh_share_cleanup(const char *name)
|
|
|
|
{
|
|
|
|
}
|