Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
privileges.h
Go to the documentation of this file.
1
11#ifndef __PRIVILEGES_H__
12#define __PRIVILEGES_H__
13
14#include <wireshark.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
24WS_DLL_PUBLIC void init_process_policies(void);
25
32WS_DLL_PUBLIC bool started_with_special_privs(void);
33
40WS_DLL_PUBLIC bool running_with_special_privs(void);
41
46WS_DLL_PUBLIC void relinquish_special_privs_perm(void);
47
53WS_DLL_PUBLIC char *get_cur_username(void);
54
60WS_DLL_PUBLIC char *get_cur_groupname(void);
61
62#ifdef __cplusplus
63}
64#endif /* __cplusplus */
65
66#endif /* __PRIVILEGES_H__ */
WS_DLL_PUBLIC char * get_cur_username(void)
Definition privileges.c:245
WS_DLL_PUBLIC void relinquish_special_privs_perm(void)
Definition privileges.c:212
WS_DLL_PUBLIC bool started_with_special_privs(void)
Definition privileges.c:150
WS_DLL_PUBLIC char * get_cur_groupname(void)
Definition privileges.c:262
WS_DLL_PUBLIC bool running_with_special_privs(void)
Definition privileges.c:165
WS_DLL_PUBLIC void init_process_policies(void)
Definition privileges.c:135