Cruft removal; there should be no outwardly visible effects.
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 9 Aug 2010 16:18:05 +0000 (16:18 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 9 Aug 2010 16:18:05 +0000 (16:18 +0000)
commit63f6d0b2112b678f2b2f94e6aa195251c94c8561
treeb78036086621c36e677c1c8285b9170d84e7dfd2
parentadadc84f94e59fa675883124244adff24306dcc0
Cruft removal; there should be no outwardly visible effects.

1. Remove the OSRF_METHOD_ATOMIC and OSRF_METHOD_SYSTEM options
from the interface functions osrfRegisterMethod() and
osrfRegisterExtendedMethod().

An application cannot usefully apply these options when it registers
a method, and if it tries, it will almost certainly not work as
intended anyway.

This change required considerable refactoring of the code
responsible for registering methods.

2. When the attempt to initialize an application fails, remove
the application from the application list and destroy it,
instead of keeping it around in an unusable state.

3. Eliminate some redundant lookups of application by name
when registering system methods.

M    include/opensrf/osrf_application.h
M    src/libopensrf/osrf_application.c

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