/usr/include/lirc/config_file.h is in liblirc-dev 0.10.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /****************************************************************************
** config_file.h ***********************************************************
****************************************************************************
*
* Copyright (C) 1998 Pablo d'Angelo (pablo@ag-trek.allgaeu.org)
*
*/
/**
 * @file config_file.h
 * @brief  Parses the lircd.conf config file.
 * @author Pablo d'Angelo
 */
/**
 * @addtogroup private_api
 * @brief Internal API for lirc applications.
 * @{
 */
#ifndef _CONFIG_FILE_H
#define  _CONFIG_FILE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "ir_remote.h"
/**
 * Parse a lircd.conf config file.
 *
 * @param f Open FILE* connection to file.
 * @param name Normally the path for the open file f.
 * @return Pointer to dynamically allocated ir_remote or NULL on errors,
 */
struct ir_remote* read_config(FILE* f, const char* name);
/** Free() an ir_remote instance obtained using read_config(). */
void free_config(struct ir_remote* remotes);
/** @} */
#ifdef __cplusplus
}
#endif
#endif
 |