M include/opensrf/osrf_message.h
M src/libopensrf/osrf_message.c
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1942
9efc2488-bf62-4759-914b-
345cdb29e865
void osrf_message_add_param( osrfMessage*, const char* param_string );
-jsonObject* osrfMessageGetResult( osrfMessage* msg );
+const jsonObject* osrfMessageGetResult( osrfMessage* msg );
char* osrfMessageSerializeBatch( osrfMessage* msgs [], int count );
The returned pointer points into the innards of the osrfMessage. The calling code should
@em not call jsonObjectFree() on it, because the osrfMessage still owns it.
*/
-jsonObject* osrfMessageGetResult( osrfMessage* msg ) {
+const jsonObject* osrfMessageGetResult( osrfMessage* msg ) {
if(msg) return msg->_result_content;
return NULL;
}