nosharing.c 586 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Stub implementation of SSH connection-sharing IPC, for any
  3. * platform which can't support it at all.
  4. */
  5. #include <stdio.h>
  6. #include <assert.h>
  7. #include <errno.h>
  8. #include "tree234.h"
  9. #include "putty.h"
  10. #include "ssh.h"
  11. #include "network.h"
  12. int platform_ssh_share(const char *name, Conf *conf,
  13. Plug *downplug, Plug *upplug, Socket **sock,
  14. char **logtext, char **ds_err, char **us_err,
  15. bool can_upstream, bool can_downstream)
  16. {
  17. return SHARE_NONE;
  18. }
  19. void platform_ssh_share_cleanup(const char *name)
  20. {
  21. }