aboutsummaryrefslogtreecommitdiffstats
path: root/api/logger.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-10-31 23:08:00 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-01 00:00:14 +0100
commit334a5e619fb7b28c99544c691459a69d778fe824 (patch)
treeeedfec032bcc9886c4942f9d72df208f056f46c8 /api/logger.h
parenttest: introduce a demo client (diff)
downloadwintun-334a5e619fb7b28c99544c691459a69d778fe824.tar.xz
wintun-334a5e619fb7b28c99544c691459a69d778fe824.zip
api: cleanup names
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'api/logger.h')
-rw-r--r--api/logger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/logger.h b/api/logger.h
index e126748..33a0e35 100644
--- a/api/logger.h
+++ b/api/logger.h
@@ -8,13 +8,13 @@
#include "wintun.h"
#include <Windows.h>
-extern WINTUN_LOGGER_FUNC Logger;
+extern WINTUN_LOGGER_CALLBACK_FUNC Logger;
/**
* @copydoc WINTUN_SET_LOGGER_FUNC
*/
void WINAPI
-WintunSetLogger(_In_ WINTUN_LOGGER_FUNC NewLogger);
+WintunSetLogger(_In_ WINTUN_LOGGER_CALLBACK_FUNC NewLogger);
_Post_equals_last_error_ DWORD
LoggerError(_In_z_ const WCHAR *Prefix, _In_ DWORD Error);