diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2016-02-14 14:41:52 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2016-02-14 14:41:52 +0100 |
commit | 8ded9e3d0bbc2d7cdc5b9f01b4fed9c8685caf82 (patch) | |
tree | e155a951afe91f4ddf349ce70a71150943ed8cfd /apps/mqtt_support.cpp | |
parent | f6493150c1a7172bcd8c9cc1790829285f707ee9 (diff) | |
download | ble-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.cpp | 16 |
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_; + +} +} |