From: miker Date: Tue, 1 Jan 2008 01:40:30 +0000 (+0000) Subject: Patch from Scott McKellar; use camelCase instead of under_score function names X-Git-Tag: osrf_rel_2_0_1~776 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7f0ef0331b243c495c33cca239e5c6048084cb9c;p=OpenSRF.git Patch from Scott McKellar; use camelCase instead of under_score function names git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1191 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/libopensrf/osrf_settings.c b/src/libopensrf/osrf_settings.c index 9b9f944..a189932 100644 --- a/src/libopensrf/osrf_settings.c +++ b/src/libopensrf/osrf_settings.c @@ -36,12 +36,12 @@ int osrf_settings_retrieve(const char* hostname) { if(!config) { - osrf_app_session* session = osrf_app_client_session_init("opensrf.settings"); + osrfAppSession* session = osrf_app_client_session_init("opensrf.settings"); jsonObject* params = jsonNewObject(NULL); jsonObjectPush(params, jsonNewObject(hostname)); - int req_id = osrf_app_session_make_req( + int req_id = osrfAppSessionMakeRequest( session, params, "opensrf.settings.host_config.get", 1, NULL ); - osrf_message* omsg = osrf_app_session_request_recv( session, req_id, 60 ); + osrf_message* omsg = osrfAppSessionRequestRecv( session, req_id, 60 ); jsonObjectFree(params); if(!omsg) { @@ -61,7 +61,7 @@ int osrf_settings_retrieve(const char* hostname) { } osrf_app_session_request_finish( session, req_id ); - osrf_app_session_destroy( session ); + osrfAppSessionFree( session ); if(!config) { osrfLogError( OSRF_LOG_MARK, "Unable to load config for host %s", hostname);