LIRC libraries Linux Infrared Remote Control

Loading...
Searching...
No Matches
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
read_config
struct ir_remote * read_config(FILE *f, const char *name)
Parse a lircd.conf config file.
Definition config_file.c:833
free_config
void free_config(struct ir_remote *remotes)
Free() an ir_remote instance obtained using read_config().
Definition config_file.c:1404
ir_remote.h
Describes and decodes the signals from IR remotes.
ir_remote
One remote as represented in the configuration file.
Definition ir_remote_types.h:150
ir_remote::name
const char * name
name of remote control
Definition ir_remote_types.h:151