[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Escaping for paths
From:       Kimmo =?ISO-8859-1?Q?H=E4m=E4l=E4inen?= <kimmo.hamalainen () nokia ! com>
Date:       2006-06-16 8:28:06
Message-ID: 1150446486.4967.359.camel () localhost ! localdomain
[Download RAW message or body]

On Thu, 2006-06-15 at 18:16, ext Ross Burton wrote:
> On Thu, 2006-06-15 at 18:11 +0300, Kimmo Hämäläinen wrote:
> > dbus_bool_t dbus_validate_message (const DBusMessage *m);
> > 
> > could be useful, too, but maybe it's more tricky to implement.
> 
> Doesn't DBus validate the fields as they are added anyway?

Yes, I guess so, but Havoc said that sending invalid messages is an
application bug, so that validation in DBus library could go away when
application has the means to validate the messages. Also, it could
reduce the amount of needed function calls, when the message has many
arguments. Not to mention that it would allow more flexible architecture
in the application, since the caller does not need to no anything about
the message.

BR; kimmo

> 
> Ross

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic