Programming with Avahi
Avahi bindings for other programming languages are also available. Please see Bindings for more information.
Though no real documentation about the DBUS API is available, you may browse the DBUS introspection data online:
Some examples how to make use of Avahi in your C/C++ application are available in the GIT:
Here's a quick guide about RunningAvahiClientAsThread This is especially interesting when you want to integrate Zeroconf support in software that doesn't have a proper event loop.