Re-work dependency specification for service_record constructors.
authorDavin McCall <davmac@davmac.org>
Wed, 27 Sep 2017 15:44:10 +0000 (16:44 +0100)
committerDavin McCall <davmac@davmac.org>
Sat, 30 Sep 2017 01:50:01 +0000 (02:50 +0100)
commit5b3291e6e6e2e2b6fd27e83368fba6a26bfed7a6
treed98dde8a5421785c48117c56b2305ee56b13878f
parentfe03c5b5edfb228c2b634ce2a865a91b44009e1d
Re-work dependency specification for service_record constructors.

Dependencies of different types are now given together in a single list,
wth each dependency tagged by its type, rather than as two lists (one
for regular and one for soft dependencies). This opens up the
possibility of supporting additional dependency types.
src/load_service.cc
src/service.cc
src/service.h
src/tests/test_service.h
src/tests/tests.cc