master
h 17 lines 544 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_CACHED_SID_USERNAME_H
4 #define NETDATA_CACHED_SID_USERNAME_H
5
6 #include "../../libnetdata.h"
7
8 #if defined(OS_WINDOWS)
9 #include "../../string/utf8.h"
10
11 bool cached_sid_to_account_domain_sidstr(void *sid, TXT_UTF8 *dst_account, TXT_UTF8 *dst_domain, TXT_UTF8 *dst_sid_str);
12 bool cached_sid_to_buffer_append(void *sid, BUFFER *dst, const char *prefix);
13 void cached_sid_username_init(void);
14 STRING *cached_sid_fullname_or_sid_str(void *sid);
15 #endif
16
17 #endif //NETDATA_CACHED_SID_USERNAME_H