Library used to fetch counter(s) from Munin. Data later can be presented on LCD etc.

Dependents:   munin-display-board

Revision:
2:f964e7c125a7
Parent:
1:57dfa167adf7
diff -r 57dfa167adf7 -r f964e7c125a7 munincli.h
--- a/munincli.h	Tue Apr 15 09:30:44 2014 +0000
+++ b/munincli.h	Tue Apr 15 09:33:10 2014 +0000
@@ -13,7 +13,7 @@
 
 namespace {
 // Munin command(s):
-int MUNIN_BUFFER_SIZE = 256;
+const int MUNIN_BUFFER_SIZE = 256;
 }
 
 /** MuninClient class, used to fetch counters from Munin
@@ -149,7 +149,7 @@
 protected:
     EthernetInterface eth;
     TCPSocketConnection socket;
-    char buf[256];
+    char buf[MUNIN_BUFFER_SIZE];
 
     // String explode function
     std::vector<std::string> explode(std::string const &s, char delim) {