Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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