18 lines
417 B
C
18 lines
417 B
C
#ifndef GLOBALS_HEADER_FILE_INCLUDED
|
|
#define GLOBALS_HEADER_FILE_INCLUDED
|
|
|
|
#include "liblog.h"
|
|
|
|
const int REGISTER_ON_TEMP = 0;
|
|
const int REGISTER_OFF_TEMP = 1;
|
|
const int REGISTER_MODE = 2;
|
|
const int REGISTER_CUR_TEMP = 3;
|
|
const int REGISTER_CUR_STATE = 4;
|
|
const int REGISTER_SECONDARY_TEMP = 5;
|
|
|
|
extern int registers[65536];
|
|
extern pthread_mutex_t register_mutex;
|
|
extern LogFile mainlog;
|
|
|
|
#endif
|