Chrissie,

An object may have multiple keys with the same name with different
values.

For example:

object = System
  key = processor value = CPUTYPEA
  key = processor value = CPUTYPEB

This is why there is no delete or replace at the moment.  I looked at
the patches briefly and I'm not sure if it handles this condition
properly.

Essentially you would want to pass the existing value for the key to
delete or replace into the functions.

Regards
-steve

 valuesOn Tue, 2008-02-19 at 17:09 +0000, Christine Caulfield wrote:
> This adds some editting functions to the objdb, a delete & replace
> for keys and a destroy for object trees.
> 
> There is also a dump function to aid debugging.
> 
> It adds fields to objdb_iface_ver0 which might not be
> what we want, maybe it ought to be  objdb_iface_ver1 ... somehow.
> 
> Anyway, I'm more interested in comments than acceptance at this stage.
> 
> 
> Chrissie
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to