summaryrefslogtreecommitdiff
path: root/common/include/prop/prop_object.h
AgeCommit message (Collapse)Author
2008-12-05Avoid conflicts with ZFS.ad
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-08-30Avoid using unbound amount of stack frames in prop_object_equaljoerg
by using a dynamic stack as well. Reorder arguments for the internalizer as the iteration is always present and should go before possibly NULL arguments. Reviewed by mjf@ and adrianp@
2007-08-16boolean_t -> boolthorpej
TRUE -> true FALSE -> false
2006-08-21Several changes to proplib:thorpej
- Arrays can now be externalized and internalized in the same way dictionaries can. - Add new "externalize to file" and "internalize from file" functions to make reading a property list from a file and writing a property list to a file more convenient. - Many assertions in the object implementations are gone. Instead, calling an accessor for one object type with a different object type as an argument will return a suitable "invalid" value. - prop_object_type() now returns a new PROP_TYPE_UNKNOWN value if called with a NULL object. - Externalized property lists now contain a reference to the Apple XML plist DTD. - Add a new prop_ingest(3) facility, which provides a convenient way to translate a dictionary into an arbitrary binary representation.
2006-05-18- Add prop_array_equals(), prop_dictionary_equals(), andthorpej
prop_dictionary_keysym_equals(), and prop_object_equals() functions. - Use realloc() where it makes sense. There will be more changes in this area. - Add a _prop_object_type structure that is used internally to keep information about the object types. Decreases the footprint of the objects slightly by replacing several pointers with just one.
2006-05-07Make the conditional for defining boolean_t complement the conditionalhe
in sys/sys/types.h -- also need to test _STANDALONE. Fixes a build problem for vax.
2006-04-27Initial commit of proplib, a library for manipulating property lists andthorpej
converting to/from an XML external representation (based on Apple XML property lists). Works in the kernel and user space.