summaryrefslogtreecommitdiff
path: root/src/lib/tls/tortls_sys.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-02 18:46:35 -0400
committerNick Mathewson <nickm@torproject.org>2018-11-05 09:22:02 -0500
commit32b23a4c40880591ecadab59f932f4a4c1e7560a (patch)
tree49e041271aef000cd3b2264909905bed1ee026d2 /src/lib/tls/tortls_sys.h
parent019a044e5e6586fb42a171cb98aea15a72bd5a13 (diff)
downloadtor-32b23a4c40880591ecadab59f932f4a4c1e7560a.tar.gz
tor-32b23a4c40880591ecadab59f932f4a4c1e7560a.zip
Make tortls use the subsystems interface
This one only needs a shutdown right now.
Diffstat (limited to 'src/lib/tls/tortls_sys.h')
-rw-r--r--src/lib/tls/tortls_sys.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/tls/tortls_sys.h b/src/lib/tls/tortls_sys.h
new file mode 100644
index 0000000000..fd909f6019
--- /dev/null
+++ b/src/lib/tls/tortls_sys.h
@@ -0,0 +1,14 @@
+/* Copyright (c) 2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file tortls_sys.h
+ * \brief Declare subsystem object for the tortls module
+ **/
+
+#ifndef TOR_TORTLS_SYS_H
+#define TOR_TORTLS_SYS_H
+
+extern const struct subsys_fns_t sys_tortls;
+
+#endif /* !defined(TOR_TORTLS_SYS_H) */