First stab at the ability to compile puttytel.exe, an SSH-free
[u/mdw/putty] / be_all.c
diff --git a/be_all.c b/be_all.c
new file mode 100644 (file)
index 0000000..69e44b7
--- /dev/null
+++ b/be_all.c
@@ -0,0 +1,15 @@
+/*
+ * Linking module for PuTTY proper: list the available backends
+ * including ssh.
+ */
+
+#include <windows.h>
+#include <stdio.h>
+#include "putty.h"
+
+struct backend_list backends[] = {
+    {PROT_SSH, "ssh", &ssh_backend},
+    {PROT_TELNET, "telnet", &telnet_backend},
+    {PROT_RAW, "raw", &raw_backend},
+    {0, NULL}
+};