> What would be the impact in terms of:
> - added code
> - added library dependencies (and here I'm especially
worried about
> bringing in the infamous GLib for the DBus stuff in
dll.c, so if we
> could avoid it, that'd be nice)
Just my $0.02: D-BUS doesn't need GLib - it's got its own
low-level C
API in libdbus, and it would take maybe 20 lines of code (if
not less)
to get a D-BUS connection, call the appropriate method (a
method would
be better than a signal so it can make sure that the add-on
has
actually released the device, instead of having to wait and
guess),
and disconnect again. It could be even less if you linked
to
something like liblazy (statically, of course).
Donald Straney
--
sane-devel mailing list: sane-devel lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
to sane-devel-request lists.alioth.debian.org
|