LIRC libraries
LinuxInfraredRemoteControl
 All Classes Files Functions Variables Typedefs Enumerations Macros Modules Pages
lirc_config.h File Reference

(ab6cb81 2017-02-12 11:12:58 +0100)

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

Detailed Description

Local configuration constants not managed by autotools.

Definition in file lirc_config.h.

Macro Definition Documentation

#define DEFAULT_PERMISSIONS   "666"

Default permissions for /var/run/lircd.

Definition at line 75 of file lirc_config.h.

#define DEFAULT_REPEAT_MAX   "600"

Default for –repeat-max option.

Definition at line 81 of file lirc_config.h.

#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.

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

Default options file path.

Definition at line 69 of file lirc_config.h.

#define LIRC_OPTIONS_VAR   "LIRC_OPTIONS_PATH"

Environment variable overriding options file path.

Definition at line 72 of file lirc_config.h.

#define LIRC_RELEASE_SUFFIX   "_EVUP"

Suffix added to release events.

Definition at line 63 of file lirc_config.h.

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

Complete lircd socket path.

Examples:
irsend.cpp.

Definition at line 34 of file lirc_config.h.

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

Complete lircd.conf config file path.

Definition at line 39 of file lirc_config.h.

#define LIRCDOLDCFGFILE   SYSCONFDIR "/" CFG_LIRCD

Compatibility: Old lircd.conf location.

Definition at line 45 of file lirc_config.h.

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

Complete lircmd socket path.

Definition at line 36 of file lirc_config.h.

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

Complete lircmd.conf config file path.

Definition at line 42 of file lirc_config.h.

#define LIRCMDOLDCFGFILE   SYSCONFDIR "/" CFG_LIRCM

Compatibility: Old lircmd.conf location.

Definition at line 48 of file lirc_config.h.

#define LIRCRC_OLD_ROOT_FILE   SYSCONFDIR "/" CFG_LIRCRC

Compatibility: Old system-wide lircrc path.

Definition at line 57 of file lirc_config.h.

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

System-wide lircrc path.

Definition at line 54 of file lirc_config.h.

#define LIRCRC_USER_FILE   "." CFG_LIRCRC

User lircrc file name.

Definition at line 51 of file lirc_config.h.

#define MAX_PLUGINS   256

Max number of plugins.

Definition at line 93 of file lirc_config.h.

#define PACKET_SIZE   (256)

IR transmission packet size.

Examples:
irsend.cpp.

Definition at line 84 of file lirc_config.h.

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

Complete pid file path.

Definition at line 60 of file lirc_config.h.

#define PLUGINDIR   LIBDIR "/lirc/plugins"

Default directory for plugins/drivers.

Definition at line 66 of file lirc_config.h.

#define PLUGINDIR_VAR   "LIRC_PLUGIN_PATH"

Environment variable holding defaults for PLUGINDIR.

Definition at line 87 of file lirc_config.h.

#define SOCKET_TIMEOUT   "5000"

Default timeout (ms) while waiting for socket.

Definition at line 78 of file lirc_config.h.