Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/26/2006 05:02:12
Module Name:	src
Committed By:	thorpej
Date:		Thu Oct 26 05:02:12 UTC 2006

Modified Files:
	src/common/include/prop: prop_dictionary.h
	src/common/lib/libprop: Makefile.inc prop_dictionary.3
	    prop_dictionary.c
	src/distrib/sets/lists/base: shl.mi
	src/distrib/sets/lists/comp: mi
	src/lib/libprop: Makefile shlib_version
Added Files:
	src/common/lib/libprop: prop_dictionary_util.3 prop_dictionary_util.c

Log Message:
- Add prop_dictionary_all_keys().  Takes a snapshot of a dictionary's
  keys and returns them in an array.  This effectively allows a caller
  to mutate a dictionary while iterating over it (really, you iterate
  over the array of keys instead of the dictionary itself).
- Add a slew of utility functions that make it more convenient (in some
  circumstances, anyway) to get/set values in a dictionary.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/common/include/prop/prop_dictionary.h
cvs rdiff -r1.4 -r1.5 src/common/lib/libprop/Makefile.inc \
    src/common/lib/libprop/prop_dictionary.3
cvs rdiff -r1.15 -r1.16 src/common/lib/libprop/prop_dictionary.c
cvs rdiff -r0 -r1.1 src/common/lib/libprop/prop_dictionary_util.3 \
    src/common/lib/libprop/prop_dictionary_util.c
cvs rdiff -r1.372 -r1.373 src/distrib/sets/lists/base/shl.mi
cvs rdiff -r1.955 -r1.956 src/distrib/sets/lists/comp/mi
cvs rdiff -r1.11 -r1.12 src/lib/libprop/Makefile
cvs rdiff -r1.5 -r1.6 src/lib/libprop/shlib_version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.