LIRC libraries: /home/mk/tmp/lirc/lib/lirc_config.h (1010de5 2015-02-09 13:36:06 +0100) Source File

| LIRC libraries LinuxInfraredRemoteControl

lirc_config.h
Go to the documentation of this file.
1
13 // #define SYSTEMD_LOGPERROR_FIX
14
16 #define DEV_LIRCD "lircd"
17
19 #define DEV_LIRCM "lircm"
20
22 #define CFG_LIRCD "lircd.conf"
23
25 #define CFG_LIRCM "lircmd.conf"
26
28 #define CFG_LIRCRC "lircrc"
29
31 #define PID_LIRCD "lircd.pid"
32
34 #define LIRC_INET_PORT 8765
35
36
37 /* Default device in some places, notably drivers.
38 * Might be something else on Darwin(?), but all current
39 * Linux systems should be using udev (i. e., not DEVFS).
40 */
41 #ifdef LIRC_HAVE_DEVFS
42 #define LIRC_DRIVER_DEVICE "/dev/lirc/0"
43 #else
44 #define LIRC_DRIVER_DEVICE "/dev/lirc0"
45 #endif /* LIRC_HAVE_DEVFS */
46
48 #define LIRCD VARRUNDIR "/" PACKAGE "/" DEV_LIRCD
49
50 #define LIRCM VARRUNDIR "/" PACKAGE "/" DEV_LIRCM
51
53 #define LIRCDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCD
54
56 #define LIRCMDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCM
57
59 #define LIRCDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCD
60
62 #define LIRCMDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCM
63
65 #define LIRCRC_USER_FILE "." CFG_LIRCRC
66
68 #define LIRCRC_ROOT_FILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCRC
69
71 #define LIRCRC_OLD_ROOT_FILE SYSCONFDIR "/" CFG_LIRCRC
72
74 #define PIDFILE VARRUNDIR "/" PACKAGE "/" PID_LIRCD
75
77 #define LIRC_RELEASE_SUFFIX "_UP"
78
80 #define PLUGINDIR LIBDIR "/lirc/plugins"
81
83 #define LIRC_OPTIONS_PATH SYSCONFDIR "/lirc/lirc_options.conf"
84
86 #define LIRC_OPTIONS_VAR "LIRC_OPTIONS_PATH"
87
89 #define DEFAULT_PERMISSIONS "666"
90
92 #define SOCKET_TIMEOUT "5000"
93
95 #define DEFAULT_REPEAT_MAX "600"
96
98 #define PACKET_SIZE (256)
99
101 #define PLUGINDIR_VAR "LIRC_PLUGIN_PATH"
102
104 #define LIRC_EOF 0x08000000
105
107 #define MAX_PLUGINS 256