lirc_config.h File Reference
Internal API | User-space driver API

### (1010de5 2015-02-09 13:36:06 +0100)

Local configuration constants not managed by autotools. More...

Go to the source code of this file.

## Macros

#define | DEV_LIRCD "lircd"
#define | DEV_LIRCM "lircm"
#define | CFG_LIRCD "lircd.conf"
#define | CFG_LIRCM "lircmd.conf"
#define | CFG_LIRCRC "lircrc"
#define | PID_LIRCD "lircd.pid"
#define | LIRC_INET_PORT 8765
#define | LIRC_DRIVER_DEVICE "/dev/lirc0"
#define | LIRCD VARRUNDIR "/" PACKAGE "/" DEV_LIRCD
#define | LIRCM VARRUNDIR "/" PACKAGE "/" DEV_LIRCM
#define | LIRCDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCD
#define | LIRCMDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCM
#define | LIRCDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCD
#define | LIRCMDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCM
#define | LIRCRC_USER_FILE "." CFG_LIRCRC
#define | LIRCRC_ROOT_FILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCRC
#define | LIRCRC_OLD_ROOT_FILE SYSCONFDIR "/" CFG_LIRCRC
#define | PIDFILE VARRUNDIR "/" PACKAGE "/" PID_LIRCD
#define | LIRC_RELEASE_SUFFIX "_UP"
#define | PLUGINDIR LIBDIR "/lirc/plugins"
#define | LIRC_OPTIONS_PATH SYSCONFDIR "/lirc/lirc_options.conf"
#define | LIRC_OPTIONS_VAR "LIRC_OPTIONS_PATH"
#define | DEFAULT_PERMISSIONS "666"
#define | SOCKET_TIMEOUT "5000"
#define | DEFAULT_REPEAT_MAX "600"
#define | PACKET_SIZE (256)
#define | PLUGINDIR_VAR "LIRC_PLUGIN_PATH"
#define | LIRC_EOF 0x08000000
#define | MAX_PLUGINS 256

## Detailed Description

Local configuration constants not managed by autotools.

Definition in file lirc_config.h.

## Macro Definition Documentation

## CFG_LIRCD

#define CFG_LIRCD "lircd.conf"

lircd,conf file name - beneath SYSCONFDIR (default /etc)

Definition at line 22 of file lirc_config.h.

## CFG_LIRCM

#define CFG_LIRCM "lircmd.conf"

lircmd,conf file name - beneath SYSCONFDIR (default /etc)

Definition at line 25 of file lirc_config.h.

## CFG_LIRCRC

#define CFG_LIRCRC "lircrc"

config file names - beneath $HOME or SYSCONFDIR

Definition at line 28 of file lirc_config.h.

## DEFAULT_PERMISSIONS

#define DEFAULT_PERMISSIONS "666"

Default permissions for /var/run/lircd.

Definition at line 89 of file lirc_config.h.

## DEFAULT_REPEAT_MAX

#define DEFAULT_REPEAT_MAX "600"

Default for –repeat-max option.

Definition at line 95 of file lirc_config.h.

## DEV_LIRCD

#define DEV_LIRCD "lircd"

If defined, duplicates log console output to walk-around systemd not handling the LOGPERROR openlog() flag correctly.lircd socket file name - beneath $varrundir (default /var/run/lirc)

Definition at line 16 of file lirc_config.h.

## DEV_LIRCM

#define DEV_LIRCM "lircm"

lircmd socket file name - beneath $varrundir (default /var/run/lirc)

Definition at line 19 of file lirc_config.h.

## LIRC_EOF

#define LIRC_EOF 0x08000000

Bit manipulator in lirc_t, see lirc.h . Signals eof from remote.

Definition at line 104 of file lirc_config.h.

## LIRC_INET_PORT

#define LIRC_INET_PORT 8765

default port number for UDP driver

Examples:
  irsend.cpp.

Definition at line 34 of file lirc_config.h.

## LIRC_OPTIONS_PATH

#define LIRC_OPTIONS_PATH SYSCONFDIR "/lirc/lirc_options.conf"

Default options file path.

Definition at line 83 of file lirc_config.h.

## LIRC_OPTIONS_VAR

#define LIRC_OPTIONS_VAR "LIRC_OPTIONS_PATH"

Environment variable overriding options file path.

Definition at line 86 of file lirc_config.h.

## LIRC_RELEASE_SUFFIX

#define LIRC_RELEASE_SUFFIX "_UP"

Suffix added to release events.

Definition at line 77 of file lirc_config.h.

## LIRCD

#define LIRCD VARRUNDIR "/" PACKAGE "/" DEV_LIRCD

Complete lircd socket path.

Examples:
  irsend.cpp.

Definition at line 48 of file lirc_config.h.

## LIRCDCFGFILE

#define LIRCDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCD

Complete lircd.conf config file path.

Definition at line 53 of file lirc_config.h.

## LIRCDOLDCFGFILE

#define LIRCDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCD

Compatibility: Old lircd.conf location.

Definition at line 59 of file lirc_config.h.

## LIRCM

#define LIRCM VARRUNDIR "/" PACKAGE "/" DEV_LIRCM

Complete lircmd socket path.

Definition at line 50 of file lirc_config.h.

## LIRCMDCFGFILE

#define LIRCMDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCM

Complete lircmd.conf config file path.

Definition at line 56 of file lirc_config.h.

## LIRCMDOLDCFGFILE

#define LIRCMDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCM

Compatibility: Old lircmd.conf location.

Definition at line 62 of file lirc_config.h.

## LIRCRC_OLD_ROOT_FILE

#define LIRCRC_OLD_ROOT_FILE SYSCONFDIR "/" CFG_LIRCRC

Compatibility: Old system-wide lircrc path.

Definition at line 71 of file lirc_config.h.

## LIRCRC_ROOT_FILE

#define LIRCRC_ROOT_FILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCRC

System-wide lircrc path.

Definition at line 68 of file lirc_config.h.

## LIRCRC_USER_FILE

#define LIRCRC_USER_FILE "." CFG_LIRCRC

User lircrc file name.

Definition at line 65 of file lirc_config.h.

## MAX_PLUGINS

#define MAX_PLUGINS 256

Max number of plugins.

Definition at line 107 of file lirc_config.h.

## PACKET_SIZE

#define PACKET_SIZE (256)

IR transmission packet size.

Examples:
  irsend.cpp.

Definition at line 98 of file lirc_config.h.

## PID_LIRCD

#define PID_LIRCD "lircd.pid"

pid file

Definition at line 31 of file lirc_config.h.

## PIDFILE

#define PIDFILE VARRUNDIR "/" PACKAGE "/" PID_LIRCD

Complete pid file path.

Definition at line 74 of file lirc_config.h.

## PLUGINDIR

#define PLUGINDIR LIBDIR "/lirc/plugins"

Default directory for plugins/drivers.

Definition at line 80 of file lirc_config.h.

## PLUGINDIR_VAR

#define PLUGINDIR_VAR "LIRC_PLUGIN_PATH"

Environment variable holding defaults for PLUGINDIR.

Definition at line 101 of file lirc_config.h.

## SOCKET_TIMEOUT

#define SOCKET_TIMEOUT "5000"

Default timeout (ms) while waiting for socket.

Definition at line 92 of file lirc_config.h.