Subversion Repositories heizung

Rev

Rev 10 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10 Rev 11
Line 6... Line 6...
6
#ifndef __HEIZUNG__
6
#ifndef __HEIZUNG__
7
#define __HEIZUNG__
7
#define __HEIZUNG__
8
 
8
 
9
typedef struct
9
typedef struct
10
{
10
{
11
      char User[32];		// Run as user "User"
11
    char User[32];      // Run as user "User"
12
      char Grp[32];		// Run under group "Grp"
12
    char Grp[32];       // Run under group "Grp"
13
      char HeizPath[256];	// Path to file with
13
    char HeizPath[256]; // Path to file with
14
      int port;			// Network port to listen to
14
    int port;           // Network port to listen to
15
      char Werte[256];		// Path to pressure
15
    char Werte[256];    // Path to pressure
16
      char Device[256];		// Path to special device
16
    char Device[256];   // Path to special device
17
      char Pidfile[256];	// Path to pidfile
17
    char Pidfile[256];  // Path to pidfile
18
      unsigned int VID;		// Vendor ID
18
    unsigned int VID;   // Vendor ID
19
      unsigned int PID;		// Product ID
19
    unsigned int PID;   // Product ID
-
 
20
#ifdef SENSOR_ETHERNET
-
 
21
    char IP[256];       // IP address of temperature sensor.
-
 
22
    int TempPort;       // The network port to connect to
-
 
23
#endif
20
}CONFIGURE;
24
} CONFIGURE;
21
 
25
 
22
extern CONFIGURE configs;
26
extern CONFIGURE configs;
23
extern float ActTemperature;
27
extern float ActTemperature;
24
extern float ActPressure;
28
extern float ActPressure;
25
 
29