Create a new function osrfMessageDeserialize(), as a
replacement for osrf_message_deserialize().
The older osrf_message_deserialize() receives an array of
pointers to populate, along with a maximum number. If the
JSON input contains more than the maximum number of
messages, the extras are silently discarded. This design
forces the calling code to guess how many messages it
might ever receive at one time, with no way to determine
whether its guess was good enough.
The newer function returns an osrfList of pointers, and
can therefore return all the messages it finds in the
input, with no risk of loss.
M include/opensrf/osrf_message.h
M src/libopensrf/osrf_message.c
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1852
9efc2488-bf62-4759-914b-
345cdb29e865