3 * This file is part of LCDd, the lcdproc server.
5 * This file is released under the GNU General Public License. Refer to the
6 * COPYING file distributed with this package.
8 * Copyright (c) 1999, William Ferrell, Scott Scriven
21 contains a few things that other parts of the program might want
26 extern char *protocol_version
;
27 extern char *build_date
;
29 /* You should be able to modify the following freqencies... */
31 /* We want 8 frames per second */
32 #define PROCESS_FREQ 32
33 /* And 32 times per second processing of messages and keypresses. */
34 #define MAX_RENDER_LAG_FRAMES 16
35 /* Allow the rendering strokes to lag behind this many frames.
36 * More lag will not be corrected, but will cause slow-down. */
37 #define TIME_UNIT (1e6/RENDER_FREQ)
38 /* Variable from stone age, still used a lot. */
40 extern long int timer
;
41 /* 32 bits at 8Hz will overflow in 2 ^ 29 = 5e8 seconds = 17 years.
42 * If you get an overflow, please mail us and we will fix this personally
45 /**** Configuration variables ****/
46 /* Only configuration items that are settable from the command line should
47 * be mentioned here. See main.c.
50 extern unsigned int bind_port
;
51 extern char bind_addr
[]; /* Do not preinit these strings as they will occupy */
52 extern char configfile
[]; /* a lot of space in the executable. */
53 extern char user
[]; /* The values will be overwritten anyway... */
55 /* The drivers and their driver parameters */
56 extern char *drivernames
[];
57 extern int num_drivers
;
59 /* End of configuration variables */
61 /* Defines for having 'unset' values*/
63 #define UNSET_STR "\01"