First stab at the ability to compile puttytel.exe, an SSH-free
[u/mdw/putty] / be_nossh.c
diff --git a/be_nossh.c b/be_nossh.c
new file mode 100644 (file)
index 0000000..2f8fa45
--- /dev/null
@@ -0,0 +1,23 @@
+/*
+ * Linking module for PuTTYtel: list the available backends not
+ * including ssh.
+ */
+
+#include <windows.h>
+#include <stdio.h>
+#include "putty.h"
+
+struct backend_list backends[] = {
+    {PROT_TELNET, "telnet", &telnet_backend},
+    {PROT_RAW, "raw", &raw_backend},
+    {0, NULL}
+};
+
+/*
+ * Stub implementations of functions not used in non-ssh versions.
+ */
+void random_save_seed(void) {
+}
+
+void noise_ultralight(DWORD data) {
+}