[avahi] DBUS API completed

Sebastien Estienne sebastien.estienne at gmail.com
Sat Jul 30 00:55:29 EST 2005


2005/7/29, Lennart Poettering <lennart at poettering.de>:
> Hurrah!
> 
> The BDUS API is now fully implemented:
> 
>     http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/avahi-daemon/DBUS-API?root=flexmdns&view=auto
> 
> Though certainly some improvements like adding DBUS introspection and
> limiting the resources that can be allocated via DBUS can be made, the
> API is ready for public consumption.
> 
> This python script
> 
>      http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/avahi-daemon/dbus-test.py?root=flexmdns&view=auto
> 
> shows how to use this stuff. Its really a bad example since it doesn't
> deal with conflicts for the services it creates, but nonetheless it
> shows how things work basically.
> 
> Any real documentation isn't available yet. Enums are wrapped as
> integers for the client, so it might be non-trivial to make use of
> them. Consult core.h if you need the integer value of an enum.
> 
> A pygtk tool similar to avahi-discover but using this DBUS-API should
> be easy to write. Anyone?
I'd love to take this job as i'm not yet a python guru, but i wanted to lean it.
If it's not a key application, and you accepte that a newcomer in
python write it, i'm ok to do it.

> 
> A C client wrapper hiding the DBUS subtleties is still to be done.
> 
> Lennart
> 
> --
> Lennart Poettering; lennart [at] poettering [dot] de
> ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.de/lennart/
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
> 


-- 
Sebastien Estienne


More information about the avahi mailing list