]> git.evergreen-ils.org Git - OpenSRF.git/commit
1. Move the declaration of osrfRouter out of the header
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 2 Nov 2009 23:21:52 +0000 (23:21 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 2 Nov 2009 23:21:52 +0000 (23:21 +0000)
commit15d83464bfba0a3a647486c51b160ef2eba10848
tree200ef3c2d34b03b7caac402c479fe9e1bef27c44
parent2e92861bb19700be5a7d1f6d7a16cd53ce9409ac
1. Move the declaration of osrfRouter out of the header
and into osrf_router.c.  There's no need for any other
source file to know about the internals.

2. Eliminate the ROUTER_SOCKFD macro in favor of the new
client_sock_fd() function.  Reason: it needlessly coupled
the osrfRouter and osrfRouterClass structures by requiring
each of them to have a member named "connection".

3. Further tinkering with the comments.

M    src/router/osrf_router.h
M    src/router/osrf_router.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1838 9efc2488-bf62-4759-914b-345cdb29e865
src/router/osrf_router.c
src/router/osrf_router.h