]> git.evergreen-ils.org Git - OpenSRF.git/commit
1. Make osrfMessageToJSON() available at global scope.
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 29 Jul 2010 14:24:58 +0000 (14:24 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 29 Jul 2010 14:24:58 +0000 (14:24 +0000)
commitf1ee578b506d67c6c0105f9510344aec50f3adfb
treeb509103f37ed82faf500917fef7f53c0b5fa1e39
parentd63b01acc78710badfa05858d2fffeeb20217afd
1. Make osrfMessageToJSON() available at global scope.

2. New function osrf_message_set_result() -- a more efficient alternative
to osrf_message_set_result_content().

Typically when using the older function, we convert a jsonObject to JSON
text, and then parse the JSON text back into a jsonObject.  With the new
function we can avoid the round trip through the text format.

M    include/opensrf/osrf_message.h
M    src/libopensrf/osrf_message.c

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