[Opensrf-commits] r1326 - in trunk: include/opensrf src/libopensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun May 18 09:27:40 EDT 2008
Author: erickson
Date: 2008-05-18 09:27:36 -0400 (Sun, 18 May 2008)
New Revision: 1326
Modified:
trunk/include/opensrf/osrf_app_session.h
trunk/src/libopensrf/osrf_app_session.c
Log:
Patch from Scott McKellar:
These patches eliminate two deprecated identifiers in favor of their
camel case equivalents:
osrf_app_client_session_init
osrf_app_session
All other instances of these identifiers have already been eliminated
from the code base.
Modified: trunk/include/opensrf/osrf_app_session.h
===================================================================
--- trunk/include/opensrf/osrf_app_session.h 2008-05-16 13:17:17 UTC (rev 1325)
+++ trunk/include/opensrf/osrf_app_session.h 2008-05-18 13:27:36 UTC (rev 1326)
@@ -84,7 +84,6 @@
int transport_error;
};
-typedef struct osrf_app_session_struct osrf_app_session;
typedef struct osrf_app_session_struct osrfAppSession;
@@ -95,7 +94,6 @@
/** Allocates a initializes a new app_session */
osrfAppSession* osrfAppSessionClientInit( const char* remote_service );
-osrfAppSession* osrf_app_client_session_init( const char* remote_service );
/** Allocates and initializes a new server session. The global session cache
* is checked to see if this session already exists, if so, it's returned
Modified: trunk/src/libopensrf/osrf_app_session.c
===================================================================
--- trunk/src/libopensrf/osrf_app_session.c 2008-05-16 13:17:17 UTC (rev 1325)
+++ trunk/src/libopensrf/osrf_app_session.c 2008-05-18 13:27:36 UTC (rev 1326)
@@ -218,11 +218,7 @@
/** Allocates and initializes a new app_session */
osrfAppSession* osrfAppSessionClientInit( const char* remote_service ) {
- return osrf_app_client_session_init( remote_service );
-}
-osrfAppSession* osrf_app_client_session_init( const char* remote_service ) {
-
if (!remote_service) {
osrfLogWarning( OSRF_LOG_MARK, "No remote service specified in osrf_app_client_session_init");
return NULL;
More information about the opensrf-commits
mailing list