calls to osrfAppSessionSendRequest().
M src/c-apps/osrf_version.c
M src/c-apps/osrf_math.c
M src/libopensrf/osrf_settings.c
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1874
9efc2488-bf62-4759-914b-
345cdb29e865
/*osrfAppSessionConnect(ses);*/
/* dbmath uses the same method names that math does */
- int req_id = osrfAppSessionMakeRequest( ses, newParams, ctx->method->name, 1, NULL );
+ int req_id = osrfAppSessionSendRequest( ses, newParams, ctx->method->name, 1 );
osrfMessage* omsg = osrfAppSessionRequestRecv( ses, req_id, 60 );
jsonObjectFree(newParams);
jsonObjectPush( tmpArray, jsonObjectClone(jsonObjectGetIndex(ctx->params, i)));
osrfAppSession* ses = osrfAppSessionClientInit(service);
- int reqid = osrfAppSessionMakeRequest( ses, tmpArray, methd, 1, NULL );
+ int reqid = osrfAppSessionSendRequest( ses, tmpArray, methd, 1 );
osrfMessage* omsg = osrfAppSessionRequestRecv( ses, reqid, 60 );
jsonObjectFree(tmpArray);
osrfAppSession* session = osrfAppSessionClientInit("opensrf.settings");
jsonObject* params = jsonNewObject(NULL);
jsonObjectPush(params, jsonNewObject(hostname));
- int req_id = osrfAppSessionMakeRequest(
- session, params, "opensrf.settings.host_config.get", 1, NULL );
+ int req_id = osrfAppSessionSendRequest(
+ session, params, "opensrf.settings.host_config.get", 1 );
osrfMessage* omsg = osrfAppSessionRequestRecv( session, req_id, 60 );
jsonObjectFree(params);