]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - src/tlsproxy.h
src/: Improve debug output/logging.
[tlsproxy/tlsproxy.git] / src / tlsproxy.h
index 4ed5541ad268ac8ba582093e27b7a68ff8488441..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 *global_proxy_host;
 char *global_proxy_port;
 
+/* Log level, command line option. */
+int global_log_level;
+
 #endif