]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - noshare.c
Implement connection sharing between instances of PuTTY.
[PuTTY.git] / noshare.c
diff --git a/noshare.c b/noshare.c
new file mode 100644 (file)
index 0000000..7412f84
--- /dev/null
+++ b/noshare.c
@@ -0,0 +1,24 @@
+/*
+ * 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)
+{
+    return SHARE_NONE;
+}
+
+void platform_ssh_share_cleanup(const char *name)
+{
+}