Loading...
Searching...
No Matches
lirc_config.h File Reference
Internal API | User-space driver API

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

Go to the source code of this file.

## Macros

#define | DEV_LIRCD "lircd"
| lircd socket file name - beneath $varrundir (default /var/run/lirc)
#define | DEV_LIRCM "lircm"
| lircmd socket file name - beneath $varrundir (default /var/run/lirc)
#define | CFG_LIRCD "lircd.conf"
| lircd,conf file name - beneath SYSCONFDIR (default /etc)
#define | CFG_LIRCM "lircmd.conf"
| lircmd,conf file name - beneath SYSCONFDIR (default /etc)
#define | CFG_LIRCRC "lircrc"
| config file names - beneath $HOME or SYSCONFDIR
#define | PID_LIRCD "lircd.pid"
| pid file
#define | LIRC_INET_PORT 8765
| default port number for UDP driver
#define | LIRC_DRIVER_DEVICE "/dev/lirc/0"
#define | LIRCD VARRUNDIR "/" PACKAGE "/" DEV_LIRCD
| Complete lircd socket path.
#define | LIRCM VARRUNDIR "/" PACKAGE "/" DEV_LIRCM
| Complete lircmd socket path.
#define | LIRCDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCD
| Complete lircd.conf config file path.
#define | LIRCMDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCM
| Complete lircmd.conf config file path.
#define | LIRCDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCD
| Compatibility: Old lircd.conf location.
#define | LIRCMDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCM
| Compatibility: Old lircmd.conf location.
#define | LIRCRC_USER_FILE "." CFG_LIRCRC
| User lircrc file name.
#define | LIRCRC_ROOT_FILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCRC
| System-wide lircrc path.
#define | LIRCRC_OLD_ROOT_FILE SYSCONFDIR "/" CFG_LIRCRC
| Compatibility: Old system-wide lircrc path.
#define | PIDFILE VARRUNDIR "/" PACKAGE "/" PID_LIRCD
| Complete pid file path.
#define | LIRC_RELEASE_SUFFIX "_EVUP"
| Suffix added to release events.
#define | PLUGINDIR LIBDIR "/lirc/plugins"
| Default directory for plugins/drivers.
#define | LIRC_OPTIONS_PATH SYSCONFDIR "/lirc/lirc_options.conf"
| Default options file path.
#define | LIRC_OPTIONS_VAR "LIRC_OPTIONS_PATH"
| Environment variable overriding options file path.
#define | DEFAULT_PERMISSIONS "666"
| Default permissions for /var/run/lircd.
#define | SOCKET_TIMEOUT "5000"
| Default timeout (ms) while waiting for socket.
#define | DEFAULT_REPEAT_MAX "600"
| Default for –repeat-max option.
#define | PACKET_SIZE (256)
| IR transmission packet size.
#define | PLUGINDIR_VAR "LIRC_PLUGIN_PATH"
| Environment variable holding defaults for PLUGINDIR.
#define | LIRC_EOF 0x08000000
| Bit manipulator in lirc_t, see lirc.h .
#define | MAX_PLUGINS 256
| Max number of plugins.

## 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 15 of file lirc_config.h.

## CFG_LIRCM

#define CFG_LIRCM "lircmd.conf"

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

Definition at line 18 of file lirc_config.h.

## CFG_LIRCRC

#define CFG_LIRCRC "lircrc"

config file names - beneath $HOME or SYSCONFDIR

Definition at line 21 of file lirc_config.h.

## DEFAULT_PERMISSIONS

#define DEFAULT_PERMISSIONS "666"

Default permissions for /var/run/lircd.

Definition at line 75 of file lirc_config.h.

## DEFAULT_REPEAT_MAX

#define DEFAULT_REPEAT_MAX "600"

Default for –repeat-max option.

Definition at line 81 of file lirc_config.h.

## DEV_LIRCD

#define DEV_LIRCD "lircd"

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

Definition at line 9 of file lirc_config.h.

## DEV_LIRCM

#define DEV_LIRCM "lircm"

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

Definition at line 12 of file lirc_config.h.

## LIRC_DRIVER_DEVICE

#define LIRC_DRIVER_DEVICE "/dev/lirc/0"

Definition at line 31 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 90 of file lirc_config.h.

## LIRC_INET_PORT

#define LIRC_INET_PORT 8765

default port number for UDP driver

Definition at line 27 of file lirc_config.h.

## LIRC_OPTIONS_PATH

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

Default options file path.

Definition at line 69 of file lirc_config.h.

## LIRC_OPTIONS_VAR

#define LIRC_OPTIONS_VAR "LIRC_OPTIONS_PATH"

Environment variable overriding options file path.

Definition at line 72 of file lirc_config.h.

## LIRC_RELEASE_SUFFIX

#define LIRC_RELEASE_SUFFIX "_EVUP"

Suffix added to release events.

Definition at line 63 of file lirc_config.h.

## LIRCD

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

Complete lircd socket path.

Definition at line 34 of file lirc_config.h.

## LIRCDCFGFILE

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

Complete lircd.conf config file path.

Definition at line 39 of file lirc_config.h.

## LIRCDOLDCFGFILE

#define LIRCDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCD

Compatibility: Old lircd.conf location.

Definition at line 45 of file lirc_config.h.

## LIRCM

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

Complete lircmd socket path.

Definition at line 36 of file lirc_config.h.

## LIRCMDCFGFILE

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

Complete lircmd.conf config file path.

Definition at line 42 of file lirc_config.h.

## LIRCMDOLDCFGFILE

#define LIRCMDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCM

Compatibility: Old lircmd.conf location.

Definition at line 48 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 57 of file lirc_config.h.

## LIRCRC_ROOT_FILE

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

System-wide lircrc path.

Definition at line 54 of file lirc_config.h.

## LIRCRC_USER_FILE

#define LIRCRC_USER_FILE "." CFG_LIRCRC

User lircrc file name.

Definition at line 51 of file lirc_config.h.

## MAX_PLUGINS

#define MAX_PLUGINS 256

Max number of plugins.

Definition at line 93 of file lirc_config.h.

## PACKET_SIZE

#define PACKET_SIZE (256)

IR transmission packet size.

Definition at line 84 of file lirc_config.h.

## PID_LIRCD

#define PID_LIRCD "lircd.pid"

pid file

Definition at line 24 of file lirc_config.h.

## PIDFILE

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

Complete pid file path.

Definition at line 60 of file lirc_config.h.

## PLUGINDIR

#define PLUGINDIR LIBDIR "/lirc/plugins"

Default directory for plugins/drivers.

Definition at line 66 of file lirc_config.h.

## PLUGINDIR_VAR

#define PLUGINDIR_VAR "LIRC_PLUGIN_PATH"

Environment variable holding defaults for PLUGINDIR.

Definition at line 87 of file lirc_config.h.

## SOCKET_TIMEOUT

#define SOCKET_TIMEOUT "5000"

Default timeout (ms) while waiting for socket.

Definition at line 78 of file lirc_config.h.