Mercurial > dropbear
comparison runopts.h @ 839:33207ed1174b
Merge in ECC
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 21 Oct 2013 22:57:21 +0800 |
parents | 7dcb46da72d9 |
children | d4ce5269a439 |
comparison
equal
deleted
inserted
replaced
834:e378da7eae5d | 839:33207ed1174b |
---|---|
55 } runopts; | 55 } runopts; |
56 | 56 |
57 extern runopts opts; | 57 extern runopts opts; |
58 | 58 |
59 int readhostkey(const char * filename, sign_key * hostkey, int *type); | 59 int readhostkey(const char * filename, sign_key * hostkey, int *type); |
60 void load_all_hostkeys(); | |
60 | 61 |
61 typedef struct svr_runopts { | 62 typedef struct svr_runopts { |
62 | 63 |
63 char * rsakeyfile; | |
64 char * dsskeyfile; | |
65 char * bannerfile; | 64 char * bannerfile; |
66 | 65 |
67 int forkbg; | 66 int forkbg; |
68 int usingsyslog; | 67 int usingsyslog; |
69 | 68 |
97 #ifdef ENABLE_SVR_LOCALTCPFWD | 96 #ifdef ENABLE_SVR_LOCALTCPFWD |
98 int nolocaltcp; | 97 int nolocaltcp; |
99 #endif | 98 #endif |
100 | 99 |
101 sign_key *hostkey; | 100 sign_key *hostkey; |
101 | |
102 char *hostkey_files[MAX_HOSTKEYS]; | |
103 int num_hostkey_files; | |
104 | |
102 buffer * banner; | 105 buffer * banner; |
103 char * pidfile; | 106 char * pidfile; |
104 | 107 |
105 } svr_runopts; | 108 } svr_runopts; |
106 | 109 |