1. Create a new osrfListExtract function, which removes an item
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 31 Mar 2009 18:30:10 +0000 (18:30 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 31 Mar 2009 18:30:10 +0000 (18:30 +0000)
commitc913fb92e62180b3c3250f33460fb3af26147781
treed339d657d65ada8e7d19f895cdecd7e109df6646
parent649482c9894b89022df2e14faa84ebabf30fa86c
1. Create a new osrfListExtract function, which removes an item
from an osrfList without destroying it, and returns a pointer to
the item thus removed.

2. Create a new jsonObjectExtractIndex, which removes a
specified entry in a JSON_ARRAY, and returns a pointer
to it, without destroying it.

3. In osrf_json.h: Corrected an inaccurate comment about
jsonObjectRemoveIndex().  Contrary to the original comment, this
function does not shift other objects down to fill the gap.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1689 9efc2488-bf62-4759-914b-345cdb29e865
include/opensrf/osrf_json.h
include/opensrf/osrf_list.h
src/libopensrf/osrf_json_object.c
src/libopensrf/osrf_list.c