LIRC libraries
LinuxInfraredRemoteControl
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Modules Pages
Internal API

Internal API for lirc applications. More...

Files

file  ciniparser.h
 Parser for ini files.
 
file  config_file.h
 Parses the lircd.cont config file.
 
file  dictionary.h
 Implements a dictionary for string variables.This module implements a simple dictionary object, i.e. a list of string/string associations. This object is useful to store e.g. information retrieved from a configuration file (ini files).
 
file  driver.h
 Interface to the userspace drivers.
 
file  drv_admin.h
 Routines for dynamic drivers.Functions in this file provides primitives to iterate over the dynamic drivers + a single function to install such a driver.
 
file  dump_config.h
 Dumps data structures into file.
 
file  input_map.h
 Button namespace derived from Linux input layer.
 
file  ir_remote.h
 Describes and decodes the signals from IR remotes.
 
file  ir_remote_types.h
 Describes and decodes the signals from IR remotes.
 
file  ir_remote_types.h
 Describes and decodes the signals from IR remotes.
 
file  lirc_config.h
 Local configuration constants not managed by autotools.
 
file  lirc_log.h
 Logging functionality.
 
file  lirc_options.h
 Options management: options file, parse and retrieve.
 
file  release.h
 Automatic release event generation.
 

Functions

struct ir_remoteread_config (FILE *f, const char *name)
 
void free_config (struct ir_remote *remotes)
 

Detailed Description

Internal API for lirc applications.

Function Documentation

void free_config ( struct ir_remote remotes)

Free() an ir_remote instance obtained using read_config().

Definition at line 1313 of file config_file.c.

struct ir_remote* read_config ( FILE *  f,
const char *  name 
)

Parse a lircd.conf config file.

Parameters
fOpen FILE* connection to file.
nameNormally the path for the open file f.
Returns
Pointer to dynamically allocated ir_remote or NULL on errors,

Definition at line 746 of file config_file.c.