diff runopts.h @ 101:72dc22f56858

Change the way we load keys/ports so we don't print error messages into our socket.
author Matt Johnston <matt@ucc.asn.au>
date Mon, 23 Aug 2004 05:27:34 +0000
parents ac96bc733e71
children aad4b3f58556
line wrap: on
line diff
--- a/runopts.h	Mon Aug 23 02:46:24 2004 +0000
+++ b/runopts.h	Mon Aug 23 05:27:34 2004 +0000
@@ -52,7 +52,7 @@
 	int usingsyslog;
 
 	/* ports is an array of the portcount listening ports */
-	uint16_t *ports;
+	char *ports[DROPBEAR_MAX_PORTS];
 	unsigned int portcount;
 
 	int inetdmode;
@@ -81,6 +81,7 @@
 extern svr_runopts svr_opts;
 
 void svr_getopts(int argc, char ** argv);
+void loadhostkeys();
 
 /* Uncompleted XXX matt */
 typedef struct cli_runopts {