libmosquitto-sys 0.2.3

Unsafe FFI bindings to libmosquitto
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "temperature_conversion.h"

int main(int argc, char *argv[])
{
	class mqtt_tempconv *tempconv;
	int rc;

	mosqpp::lib_init();

	tempconv = new mqtt_tempconv("tempconv", "localhost", 1883);
	tempconv->loop_forever();

	mosqpp::lib_cleanup();

	return 0;
}