thermferm/thermferm.h

changeset 46
000399c64d3f
parent 41
f534ace74eea
child 48
d8c64f81b192
--- a/thermferm/thermferm.h	Tue May 20 17:07:32 2014 +0200
+++ b/thermferm/thermferm.h	Tue May 20 22:40:16 2014 +0200
@@ -6,4 +6,26 @@
 #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

mercurial