Files
lcdproc/server/main.h
T

34 lines
618 B
C
Raw Normal View History

1999-12-09 23:15:14 +00:00
#ifndef MAIN_H
#define MAIN_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
1999-12-09 23:15:14 +00:00
/*
contains a few things that other parts of the program might want
to know about...
*/
extern char *version;
2000-01-05 00:03:25 +00:00
extern char *protocol_version;
1999-12-09 23:15:14 +00:00
extern char *build_date;
void exit_program (int val);
1999-12-09 23:15:14 +00:00
// 1/8th second is a single time unit...
#define TIME_UNIT 125000
// But I plan to double the framerate soon, or make it variable...
//#define TIME_UNIT (125000/2)
typedef struct screen_size {
2000-04-03 22:13:57 +00:00
char *size;
int wid, hgt;
1999-12-09 23:15:14 +00:00
} screen_size;
typedef struct parameter {
2000-04-03 22:13:57 +00:00
char *sh, *lg; // short and long versions
1999-12-09 23:15:14 +00:00
} parameter;
#endif