summaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-12-02 00:28:25 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-12-02 00:28:25 +0000
commit90f403d1f554822be06564ea52498d710d2bf051 (patch)
treed7642107854c778f952bd2876578c627e744eb9e /src/options.h
parentbuffer size can now be configured (diff)
added new options for resolv types (IPv4 vs IPv6)
manpage: new parameters manpage: added short description to each parameter git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@19 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h
index c48412d..085544c 100644
--- a/src/options.h
+++ b/src/options.h
@@ -30,6 +30,7 @@
#include "string_list.h"
#include "datatypes.h"
+#include "tcp.h"
struct options_struct {
char* progname_;
@@ -40,10 +41,13 @@ struct options_struct {
char* pid_file_;
string_list_t log_targets_;
char* local_addr_;
+ resolv_type_t lresolv_type_;
char* local_port_;
char* remote_addr_;
+ resolv_type_t rresolv_type_;
char* remote_port_;
char* source_addr_;
+ resolv_type_t sresolv_type_;
char* config_file_;
int32_t buffer_size_;
int debug_;