Subversion Repositories heizung

Rev

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

/*
 * (C) Copyright 2010, 2011 by Andreas Theofilu <andreas@theosys.at>
 * All rights reserved!
 */

#ifndef __HEIZUNG__
#define __HEIZUNG__

typedef struct
{
    char User[32];      // Run as user "User"
    char Grp[32];       // Run under group "Grp"
    char HeizPath[256]; // Path to file with
    int port;           // Network port to listen to
    char Werte[256];    // Path to pressure
    char Device[256];   // Path to special device
    char Pidfile[256];  // Path to pidfile
    unsigned int VID;   // Vendor ID
    unsigned int PID;   // Product ID
#ifdef SENSOR_ETHERNET
    char IP[256];       // IP address of temperature sensor.
    int TempPort;       // The network port to connect to
#endif
} CONFIGURE;

extern CONFIGURE configs;
extern float ActTemperature;
extern float ActPressure;

#endif