Support for Windows PuTTY connecting straight to a local serial port
[u/mdw/putty] / be_nos_s.c
diff --git a/be_nos_s.c b/be_nos_s.c
new file mode 100644 (file)
index 0000000..ea8cf14
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * Linking module for PuTTYtel: list the available backends not
+ * including ssh.
+ */
+
+#include <stdio.h>
+#include "putty.h"
+
+const int be_default_protocol = PROT_TELNET;
+
+const char *const appname = "PuTTYtel";
+
+struct backend_list backends[] = {
+    {PROT_TELNET, "telnet", &telnet_backend},
+    {PROT_RLOGIN, "rlogin", &rlogin_backend},
+    {PROT_RAW, "raw", &raw_backend},
+    {PROT_SERIAL, "serial", &serial_backend},
+    {0, NULL}
+};
+
+/*
+ * Stub implementations of functions not used in non-ssh versions.
+ */
+void random_save_seed(void)
+{
+}
+
+void random_destroy_seed(void)
+{
+}
+
+void noise_ultralight(unsigned long data)
+{
+}