Subversion Repositories heizung

Rev

Rev 10 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 andreas 1
/*
2
 * (C) Copyright 2010, 2011 by Andreas Theofilu <andreas@theosys.at>
3
 * All rights reserved!
4
 */
5
 
6
#ifndef __HEIZUNG__
7
#define __HEIZUNG__
8
 
9
typedef struct
10
{
11 andreas 11
    char User[32];      // Run as user "User"
12
    char Grp[32];       // Run under group "Grp"
13
    char HeizPath[256]; // Path to file with
14
    int port;           // Network port to listen to
15
    char Werte[256];    // Path to pressure
16
    char Device[256];   // Path to special device
17
    char Pidfile[256];  // Path to pidfile
18
    unsigned int VID;   // Vendor 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
24
} CONFIGURE;
6 andreas 25
 
26
extern CONFIGURE configs;
27
extern float ActTemperature;
28
extern float ActPressure;
29
 
30
#endif