aboutsummaryrefslogtreecommitdiffstats
path: root/installer/installation.h
diff options
context:
space:
mode:
Diffstat (limited to 'installer/installation.h')
-rw-r--r--installer/installation.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/installer/installation.h b/installer/installation.h
new file mode 100644
index 0000000..e5ce781
--- /dev/null
+++ b/installer/installation.h
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2018-2019 WireGuard LLC. All Rights Reserved.
+ */
+
+#pragma once
+
+#include <Windows.h>
+
+typedef enum _LOGGER_LEVEL
+{
+ LOG_INFO = 0,
+ LOG_WARN,
+ LOG_ERR
+} LOGGER_LEVEL;
+typedef VOID (*LoggerFunction)(_In_ LOGGER_LEVEL, _In_ const TCHAR *);
+VOID
+SetLogger(_In_ LoggerFunction NewLogger);
+
+BOOL InstallOrUpdate(VOID);
+BOOL Uninstall(VOID);
+
+extern HINSTANCE ResourceModule;