aboutsummaryrefslogtreecommitdiff
path: root/apps/mqtt_support.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2016-02-14 14:41:52 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2016-02-14 14:41:52 +0100
commit8ded9e3d0bbc2d7cdc5b9f01b4fed9c8685caf82 (patch)
treee155a951afe91f4ddf349ce70a71150943ed8cfd /apps/mqtt_support.cpp
parentf6493150c1a7172bcd8c9cc1790829285f707ee9 (diff)
downloadble-toys-8ded9e3d0bbc2d7cdc5b9f01b4fed9c8685caf82.tar.gz
ble-toys-8ded9e3d0bbc2d7cdc5b9f01b4fed9c8685caf82.tar.bz2
ble-toys-8ded9e3d0bbc2d7cdc5b9f01b4fed9c8685caf82.tar.xz
ble-toys-8ded9e3d0bbc2d7cdc5b9f01b4fed9c8685caf82.zip
mqtt: Using mqtt_support utilities from the mqtt-cassandra bridge.
Diffstat (limited to 'apps/mqtt_support.cpp')
-rw-r--r--apps/mqtt_support.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/mqtt_support.cpp b/apps/mqtt_support.cpp
new file mode 100644
index 0000000..cb8431d
--- /dev/null
+++ b/apps/mqtt_support.cpp
@@ -0,0 +1,16 @@
+#include "mqtt_support.h"
+
+namespace trygvis {
+namespace mqtt_support {
+
+using namespace std;
+
+int mqtt_lib::version_major;
+int mqtt_lib::version_minor;
+int mqtt_lib::version_revision;
+
+atomic_int mqtt_lib::mqtt_client_instance_count(0);
+mutex mqtt_lib::mqtt_client_mutex_;
+
+}
+}