LIRC libraries LinuxInfraredRemoteControl

- Main Page
- Related Pages
- Modules
- Data Structures
- Files
- Examples

- File List
- Globals

util.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** util.h ** ***************************************************************
3 ****************************************************************************
4 *
5 * Miscellanious utility functions.
6 *
7 */
8
16 #ifndef _UTIL_H
17 #define _UTIL_H
18
19 #include "lirc_log.h"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
36 const char* drop_sudo_root(int (*set_some_uid)(uid_t));
37
43 void drop_root_cli(int (*set_some_uid)(uid_t));
44
45
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif
lirc_log.h
Logging functionality.
drop_root_cli
void drop_root_cli(int(*set_some_uid)(uid_t))
Definition: util.c:80
drop_sudo_root
const char * drop_sudo_root(int(*set_some_uid)(uid_t))
Definition: util.c:27