comparison runopts.h @ 1210:64a50eac1030

Moved usingsyslog from svr_runopts to runopts.
author Konstantin Tokarev <ktokarev@smartlabs.tv>
date Tue, 01 Dec 2015 21:52:38 +0300
parents 81063d78fe69
children 9169e4e7cbee
comparison
equal deleted inserted replaced
1209:ab7d9c12caa7 1210:64a50eac1030
38 int listen_fwd_all; 38 int listen_fwd_all;
39 #endif 39 #endif
40 unsigned int recv_window; 40 unsigned int recv_window;
41 time_t keepalive_secs; /* Time between sending keepalives. 0 is off */ 41 time_t keepalive_secs; /* Time between sending keepalives. 0 is off */
42 time_t idle_timeout_secs; /* Exit if no traffic is sent/received in this time */ 42 time_t idle_timeout_secs; /* Exit if no traffic is sent/received in this time */
43 int usingsyslog;
43 44
44 #ifndef DISABLE_ZLIB 45 #ifndef DISABLE_ZLIB
45 /* TODO: add a commandline flag. Currently this is on by default if compression 46 /* TODO: add a commandline flag. Currently this is on by default if compression
46 * is compiled in, but disabled for a client's non-final multihop stages. (The 47 * is compiled in, but disabled for a client's non-final multihop stages. (The
47 * intermediate stages are compressed streams, so are uncompressible. */ 48 * intermediate stages are compressed streams, so are uncompressible. */
68 typedef struct svr_runopts { 69 typedef struct svr_runopts {
69 70
70 char * bannerfile; 71 char * bannerfile;
71 72
72 int forkbg; 73 int forkbg;
73 int usingsyslog;
74 74
75 /* ports and addresses are arrays of the portcount 75 /* ports and addresses are arrays of the portcount
76 listening ports. strings are malloced. */ 76 listening ports. strings are malloced. */
77 char *ports[DROPBEAR_MAX_PORTS]; 77 char *ports[DROPBEAR_MAX_PORTS];
78 unsigned int portcount; 78 unsigned int portcount;