LIRC libraries
LinuxInfraredRemoteControl
Main Page
Related Pages
Modules
Classes
Files
Examples
File List
File Members
lirc-utils.h
Go to the documentation of this file.
1
/****************************************************************************
2
** lirc-utils.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))
Default view part of drop_sudo_root.
Definition:
lirc-utils.c:81
drop_sudo_root
const char * drop_sudo_root(int(*set_some_uid)(uid_t))
Try to drop possible root privileges, returning new user or "" on error.
Definition:
lirc-utils.c:28
lib
lirc-utils.h
Generated by
1.8.10