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

John (J5) Palmieri johnp at redhat.com
Fri Sep 15 09:34:44 PDT 2006


On Fri, 2006-09-15 at 10:49 +0300, Kimmo Hämäläinen wrote:
> 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
> this).

Can you point out which function these are?  If they need to be changed
we are going to end up adding new API at this point.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list