LIRC libraries
LinuxInfraredRemoteControl
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
lirc_config.h
Go to the documentation of this file.
1 
2 
15 // #define SYSTEMD_LOGPERROR_FIX
16 
18 #define DEV_LIRCD "lircd"
19 
21 #define DEV_LIRCM "lircm"
22 
24 #define CFG_LIRCD "lircd.conf"
25 
27 #define CFG_LIRCM "lircmd.conf"
28 
30 #define CFG_LIRCRC "lircrc"
31 
33 #define PID_LIRCD "lircd.pid"
34 
36 #define LIRC_INET_PORT 8765
37 
38 
39 /* Default device in some places, notably drivers.
40  * Might be something else on Darwin(?), but all current
41  * Linux systems should be using udev (i. e., not DEVFS).
42  */
43 #ifdef LIRC_HAVE_DEVFS
44 #define LIRC_DRIVER_DEVICE "/dev/lirc/0"
45 #else
46 #define LIRC_DRIVER_DEVICE "/dev/lirc0"
47 #endif /* LIRC_HAVE_DEVFS */
48 
50 #define LIRCD VARRUNDIR "/" PACKAGE "/" DEV_LIRCD
51 
52 #define LIRCM VARRUNDIR "/" PACKAGE "/" DEV_LIRCM
53 
55 #define LIRCDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCD
56 
58 #define LIRCMDCFGFILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCM
59 
61 #define LIRCDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCD
62 
64 #define LIRCMDOLDCFGFILE SYSCONFDIR "/" CFG_LIRCM
65 
67 #define LIRCRC_USER_FILE "." CFG_LIRCRC
68 
70 #define LIRCRC_ROOT_FILE SYSCONFDIR "/" PACKAGE "/" CFG_LIRCRC
71 
73 #define LIRCRC_OLD_ROOT_FILE SYSCONFDIR "/" CFG_LIRCRC
74 
76 #define PIDFILE VARRUNDIR "/" PACKAGE "/" PID_LIRCD
77 
79 #define LIRC_RELEASE_SUFFIX "_UP"
80 
82 #define PLUGINDIR LIBDIR "/lirc/plugins"
83 
85 #define LIRC_OPTIONS_PATH SYSCONFDIR "/lirc/lirc_options.conf"
86 
88 #define LIRC_OPTIONS_VAR "LIRC_OPTIONS_PATH"
89 
91 #define DEFAULT_PERMISSIONS "666"
92 
94 #define SOCKET_TIMEOUT "5000"
95 
97 #define DEFAULT_REPEAT_MAX "600"
98 
100 #define PACKET_SIZE (256)
101 
103 #define PLUGINDIR_VAR "LIRC_PLUGIN_PATH"
104 
106 #define LIRC_EOF 0x08000000
107 
109 #define MAX_PLUGINS 256