Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phastmike/libmosquitto_vapi
Hand cooked libmosquitto vapi file for vala.
https://github.com/phastmike/libmosquitto_vapi
libmosquitto mosquitto mqtt vala vapi
Last synced: 4 days ago
JSON representation
Hand cooked libmosquitto vapi file for vala.
- Host: GitHub
- URL: https://github.com/phastmike/libmosquitto_vapi
- Owner: phastmike
- License: mit
- Created: 2019-02-23T16:20:59.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-08T17:39:03.000Z (about 4 years ago)
- Last Synced: 2023-03-06T22:04:36.455Z (almost 2 years ago)
- Topics: libmosquitto, mosquitto, mqtt, vala, vapi
- Language: Vala
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libmosquitto.vapi
Attempt to create, manually, a VAPI file for libmosquitto.
## Vapi File
`libmosquitto.vapi` is located in `vapi` folder.
## Disclaimer
Not fully tested (Work in progress but usable).
## Examples
The C example from libmosquitto man page is presented in Vala (`example_sub.vala`).
### How to test it?
Run make then run example_sub:
`$ make`
`$ ./src/example_sub`Source code files (vala,generated C) are located in the `src` folder.
## References
- 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