usb_moded  0.86.0+mer57
usb_moded-user.h
Go to the documentation of this file.
1 
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 
43 uid_t user_get_current_user(void);
44 
45 /* ------------------------------------------------------------------------- *
46  * USER_WATCH
47  * ------------------------------------------------------------------------- */
48 
49 bool user_watch_init(void);
50 void user_watch_stop(void);
51 
52 #endif /* USB_MODED_USER_H_ */
user_get_current_user
uid_t user_get_current_user(void)
Definition: usb_moded-user.c:104