]> git.evergreen-ils.org Git - OpenSRF.git/commit
Two patch sets from Scott McKellar
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Jan 2008 01:55:25 +0000 (01:55 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Jan 2008 01:55:25 +0000 (01:55 +0000)
commit702b8dc815caecba59a5c40697701ca6e7ef7637
tree56578f1c6b9f420aea583f138c8217d8fb29c66e
parentb3fb8b4ed0a0fe84a1ea7f27e095377af653bcb8
Two patch sets from Scott McKellar

First:

1. I moved the macros OSRF_LIST_DEFAULT_SIZE and OSRF_LIST_INC_SIZE
from the header into the implementation file.  No other source files
reference them, nor should they.

2. I moved the OSRF_LIST_MAX_SIZE macro into the implementation file
as well, and then commented it out.  It is nowhere referenced, but
out of caution I preserved it like a fly in amber.

3. I removed a leading underscore from each of the struct names
__osrfListStruct and __osrfListIteratorStruct.

4. I removed some obsolete comment text concerning osrfNewList().

5. I deleted the declaration for __osrfListSetSize(), which is
nowhere defined.

6. I made sure to explicitly initialize all struct members.

7. When allocating pointer arrays, I explicitly initialize all the
pointers to NULL.

8. I rewrote osrfNewList() as a thin wrapper for osrfNewListSize(),
to eliminate some duplication of code.

Second:

These patches eliminate the following identifiers, which have all been
replaced by their camel-case equivalents:

   osrf_app_session_make_req
   osrf_app_session_destroy
   osrf_app_session_request_recv
   osrf_app_request
   osrf_system_get_transport_client
   osrf_system_bootstrap_client_resc

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