/*
* Global variables/defines.
*
- * Copyright (C) 2011 Simon Ruderich
+ * Copyright (C) 2011-2013 Simon Ruderich
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <config.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
-/* GnuTLS */
#include <gnutls/gnutls.h>
#include "log.h"
+/* Length for path arrays. */
+#define TLSPROXY_MAX_PATH_LENGTH 1024
/* Paths to necessary TLS files: the CA and the server key. */
#define PROXY_CA_FILE "proxy-ca.pem"
int global_passthrough_unknown;
/* "Global" GnuTLS data used by all threads, read only. */
-gnutls_priority_t tls_priority_cache;
-gnutls_dh_params_t tls_dh_params;
+gnutls_priority_t global_tls_priority_cache;
+gnutls_dh_params_t global_tls_dh_params;
#endif