summaryrefslogtreecommitdiff
path: root/tls.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-10 01:12:30 -0400
committerTest_User <hax@andrewyu.org>2023-08-10 01:12:30 -0400
commit031d6a3d88c714cd11884e73248f0c24090d50e1 (patch)
treee7e90ba77dea37ccee34cd7f2e0838e2dec8e956 /tls.h
parentffc06e4614772a681114d4059a072f599ee378f8 (diff)
downloadcoupserv-031d6a3d88c714cd11884e73248f0c24090d50e1.tar.gz
coupserv-031d6a3d88c714cd11884e73248f0c24090d50e1.zip
Log-related stuff
Diffstat (limited to 'tls.h')
-rw-r--r--tls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tls.h b/tls.h
index 577251b..79aedd7 100644
--- a/tls.h
+++ b/tls.h
@@ -28,7 +28,11 @@
#include <gnutls/gnutls.h>
+#if LOGALL
+extern ssize_t SEND(struct string msg);
+#else
#define SEND(x) gnutls_record_send(session, x.data, x.len)
+#endif
extern gnutls_session_t session;