LIRC libraries
LinuxInfraredRemoteControl
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
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
Logging functionality.
void drop_root_cli(int(*set_some_uid)(uid_t))
Definition: util.c:53
const char * drop_sudo_root(int(*set_some_uid)(uid_t))
Definition: util.c:26