[avahi] DBUS API completed
Trent Lloyd
lathiat at bur.st
Sat Jul 30 11:08:07 EST 2005
On Fri, Jul 29, 2005 at 04:34:42PM +0200, Lennart Poettering wrote:
> 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?
>
> A C client wrapper hiding the DBUS subtleties is still to be done.
I am currently working on this.
Unfortunately dbus in C isn't quite as nice as in python :)
Trent
>
> 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
--
Trent Lloyd <lathiat at bur.st>
Bur.st Networking Inc.
More information about the avahi
mailing list