Tue, 20 May 2014 22:40:16 +0200
More client/server communications
#ifndef _MAIN_H #define _MAIN_H #define TRUE 1 #define FALSE 0 /* * IPC shared memory */ struct _beer { float cs_beerSet; float cs_fridgeSet; unsigned char cs_mode; /* o = Off, f = fridge, b = beer, p = profile-run */ float cs_heatEstimator; float cs_coolEstimator; unsigned char cc_tempFormat; float cc_tempSetMin; float cc_tempSetMax; float cc_idleRangeH; float cc_idleRangeL; float cv_beerDiff; }; struct _beer *beer; #endif