[ANNOUNCE] D-Bus 1.0 RC 1 (0.93) released

Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Fri Sep 15 00:49:03 PDT 2006

On Thu, 2006-09-14 at 17:04, ext Havoc Pennington wrote:
> Kimmo Hämäläinen wrote:
> > 
> > Is it possible to have some API additions after v1.0? 
> Yes, for sure.
> > I would really
> > like to add e.g. the validation functions that were discussed earlier
> > (for validating object paths, interfaces, etc)
> There's no good reason these didn't go in except for people forgetting 
> about the patch I guess... definitely a candidate for a 1.2 or something.

Ok, good.

> > and to allow the library
> > user to distinguish OOM from other errors (this could be done with a
> > separate function call).
> This however could be a 1.0 blocker issue - which functions do not allow 
> this?

Many public functions don't make a difference between invalid arguments
(or invalid type of arguments) and OOM. This might lead the caller to
think that OOM happened when the arguments were invalid. I believe it is
equally fast to return some different error code as it is to return the
same error code for different errors (even the low-level system calls do

BR; Kimmo

> Havoc

More information about the dbus mailing list