]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/tlsproxy.h
src/connection.c: Close connections only in one place.
[tlsproxy/tlsproxy.git] / src / tlsproxy.h
index 513964cc02381c15e6b81689d5377a1081846c9b..8b6f4fc5d5e71ac4c1d0967dd8a08bdace086c4f 100644 (file)
 #ifndef TLSPROXY_H
 #define TLSPROXY_H
 
+#include <config.h>
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+
+/* Log level constants. */
+#define LOG_ERROR   0
+#define LOG_WARNING 1
+#define LOG_DEBUG   2
+
+
 /* Proxy hostname and port if specified on the command line. */
-char *use_proxy_host;
-char *use_proxy_port;
+char *global_proxy_host;
+char *global_proxy_port;
+
+/* Log level, command line option. */
+int global_log_level;
 
 #endif