Mercurial > dropbear
comparison 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 |
comparison
equal
deleted
inserted
replaced
100:c72f5c10125d | 101:72dc22f56858 |
---|---|
50 | 50 |
51 int forkbg; | 51 int forkbg; |
52 int usingsyslog; | 52 int usingsyslog; |
53 | 53 |
54 /* ports is an array of the portcount listening ports */ | 54 /* ports is an array of the portcount listening ports */ |
55 uint16_t *ports; | 55 char *ports[DROPBEAR_MAX_PORTS]; |
56 unsigned int portcount; | 56 unsigned int portcount; |
57 | 57 |
58 int inetdmode; | 58 int inetdmode; |
59 | 59 |
60 /* Flags indicating whether to use ipv4 and ipv6 */ | 60 /* Flags indicating whether to use ipv4 and ipv6 */ |
79 } svr_runopts; | 79 } svr_runopts; |
80 | 80 |
81 extern svr_runopts svr_opts; | 81 extern svr_runopts svr_opts; |
82 | 82 |
83 void svr_getopts(int argc, char ** argv); | 83 void svr_getopts(int argc, char ** argv); |
84 void loadhostkeys(); | |
84 | 85 |
85 /* Uncompleted XXX matt */ | 86 /* Uncompleted XXX matt */ |
86 typedef struct cli_runopts { | 87 typedef struct cli_runopts { |
87 | 88 |
88 char *progname; | 89 char *progname; |