aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/RingLogger/ringlogger.h
diff options
context:
space:
mode:
Diffstat (limited to 'WireGuard/Shared/RingLogger/ringlogger.h')
-rw-r--r--WireGuard/Shared/RingLogger/ringlogger.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/WireGuard/Shared/RingLogger/ringlogger.h b/WireGuard/Shared/RingLogger/ringlogger.h
new file mode 100644
index 0000000..d90e0c5
--- /dev/null
+++ b/WireGuard/Shared/RingLogger/ringlogger.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT
+ *
+ * Copyright © 2018 WireGuard LLC. All Rights Reserved.
+ */
+
+#ifndef RINGLOGGER_H
+#define RINGLOGGER_H
+
+struct log;
+void write_msg_to_log(struct log *log, const char *msg);
+int write_logs_to_file(const char *file_name, const struct log *log1, const struct log *log2);
+struct log *open_log(const char *file_name);
+
+#endif