aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sid.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sid.hpp')
-rw-r--r--src/sid.hpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/sid.hpp b/src/sid.hpp
index 2dc6111..a890e48 100644
--- a/src/sid.hpp
+++ b/src/sid.hpp
@@ -5,8 +5,10 @@
#pragma once
+/* clang-format off */
#include <windows.h>
#include <sddl.h>
+/* clang-format on */
#include <array>
#include <string>
@@ -15,11 +17,12 @@ constexpr DWORD max_sid_size = SECURITY_MAX_SID_SIZE;
typedef std::array<unsigned char, max_sid_size> SidBuffer;
-namespace sid
-{
- SidBuffer well_known(WELL_KNOWN_SID_TYPE type);
+namespace sid {
- SidBuffer builtin_administrators();
+SidBuffer well_known(WELL_KNOWN_SID_TYPE type);
- std::wstring to_string(const SidBuffer&);
-}
+SidBuffer builtin_administrators();
+
+std::wstring to_string(const SidBuffer&);
+
+} // namespace sid