]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/tlsproxy.h
src/: Improve debug output/logging.
[tlsproxy/tlsproxy.git] / src / tlsproxy.h
index a0db68fd0726f9674014c1d3f2fd5106e553c445..8b6f4fc5d5e71ac4c1d0967dd8a08bdace086c4f 100644 (file)
 #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