lirc-utils.h
Go to the documentation of this file.
/****************************************************************************
** lirc-utils.h ************************************************************
****************************************************************************
*
* Miscellanious utility functions.
*
*/
#ifndef _UTIL_H
#define _UTIL_H
#include "lirc_log.h"
#ifdef __cplusplus
extern "C" {
#endif
const char* drop_sudo_root(int (*set_some_uid)(uid_t));
void drop_root_cli(int (*set_some_uid)(uid_t));
#ifdef __cplusplus
}
#endif
#endif
lirc_log.h
Logging functionality.
drop_root_cli
void drop_root_cli(int(*set_some_uid)(uid_t))
Definition: lirc-utils.c:88
drop_sudo_root
const char * drop_sudo_root(int(*set_some_uid)(uid_t))
Definition: lirc-utils.c:35