usb_moded 0.86.0+mer64
usb_moded-user.h
Go to the documentation of this file.
1
24
25#ifndef USB_MODED_USER_H_
26# define USB_MODED_USER_H_
27
28# ifndef MEEGOLOCK
29# warning usb_moded-user.h used without enabling MEEGOLOCK
30# endif
31
32# include <stdbool.h>
33# include <unistd.h>
34
35/* ========================================================================= *
36 * Prototypes
37 * ========================================================================= */
38
39/* ------------------------------------------------------------------------- *
40 * USER
41 * ------------------------------------------------------------------------- */
42
43uid_t user_get_current_user(void);
44
45/* ------------------------------------------------------------------------- *
46 * USER_WATCH
47 * ------------------------------------------------------------------------- */
48
49bool user_watch_init(void);
50void user_watch_stop(void);
51
52#endif /* USB_MODED_USER_H_ */
uid_t user_get_current_user(void)