Disabling new D-Bus protocol features by default

Thiago Macieira thiago at kde.org
Wed Nov 10 07:29:22 PST 2010


Em Quarta-feira, 10 de Novembro de 2010, às 14:48:47, Ralf Habacker escreveu:
> Am 10.11.2010 00:11, schrieb Thiago Macieira:
> > On Tuesday, 9 de November de 2010 23:29:05 David Zeuthen wrote:
> >> Sorry if this mail is non-constructive. To be a bit constructive, let
> >> me ask this: Do you have any reason to believe that existing bindings
> >> or apps can't be fixed to do the checking they need to do?
> > 
> > No, I believe they can. But that requires action on their part.
> > 
> > I was trying to avoid that by not creating an issue in the first place.
> 
> For another similar issue i proposed a set of api property functions
> 
> dbus_set_api_property(int property, int value);
> int dbus_get_api_property(int property);
> 
> 
> with
> #define DBUS_API_PROPERTY_FD_PASSING 1
> #define DBUS_API_PROPERTY_... 2
> ...
> 
> to allow bindings/applications to control how libdbus should work in a
> specific case.
> 
> Will such an api extension not help to take the head from this discussion ?
> my 2 cents

That would make it a global config, where it needs to be per connection or, 
like Lennart pointed out, even per filter callback.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20101110/ae138062/attachment.pgp>


More information about the dbus mailing list