LIRC libraries
LinuxInfraredRemoteControl
 All Classes Files Functions Variables Typedefs Enumerations Macros Modules Pages
config_file.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** config_file.h ***********************************************************
3 ****************************************************************************
4 *
5 * Copyright (C) 1998 Pablo d'Angelo (pablo@ag-trek.allgaeu.org)
6 *
7 */
8 
21 #ifndef _CONFIG_FILE_H
22 #define _CONFIG_FILE_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #include "ir_remote.h"
29 
37 struct ir_remote* read_config(FILE* f, const char* name);
38 
40 void free_config(struct ir_remote* remotes);
41 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
One remote as represented in the configuration file.
const char * name
name of remote control
void free_config(struct ir_remote *remotes)
Free() an ir_remote instance obtained using read_config().
Definition: config_file.c:1409
Describes and decodes the signals from IR remotes.
struct ir_remote * read_config(FILE *f, const char *name)
Parse a lircd.conf config file.
Definition: config_file.c:838