Loading...
Searching...
No Matches
config_file.h
Go to the documentation of this file.
/****************************************************************************
** config_file.h ***********************************************************
****************************************************************************
*
* Copyright (C) 1998 Pablo d'Angelo (pablo@ag-trek.allgaeu.org)
*
*/
#ifndef _CONFIG_FILE_H
#define _CONFIG_FILE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "ir_remote.h"
struct ir_remote* read_config(FILE* f, const char* name);
void free_config(struct ir_remote* remotes);
#ifdef __cplusplus
}
#endif
#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