Attempt to create, manually, a VAPI file for libmosquitto.
libmosquitto.vapi
is located in vapi
folder.
Not fully tested (Work in progress but usable).
The C example from libmosquitto man page is presented in Vala (example_sub.vala
).
Run make then run example_sub:
$ make
$ ./src/example_sub
Source code files (vala,generated C) are located in the src
folder.
- https://mosquitto.org/api/files/mosquitto-h.html
- https://mosquitto.org/man/libmosquitto-3.html
- https://wiki.gnome.org/action/show//Projects/Vala/ManualBindings
- https://wiki.gnome.org/Projects/Vala/Manual/Attributes
- https://github.com/nemequ/vala-extra-vapis
- https://wiki.gnome.org/Projects/Vala/WrittingVAPIs