shl: add new register helper
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Dec 2012 15:18:25 +0000 (16:18 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Dec 2012 15:18:25 +0000 (16:18 +0100)
commit3c9363035e730a0aebece60eb77c9648695ff1d4
tree7d4dfe3baab06c852ca2f36f0f9115ac0df1c543
parent39fb61a84e4b1cbca88414df1ff8a5bd5cbf9805
shl: add new register helper

The shl-register module is used to create registries of named-objects. The
main purpose for it will be for module-systems were we have different
backends implementing an interface. The registry can then be used to find
a specific module (or the default module).

No sophisticated filter/search mechanism is used as this cannot be done
efficiently in a generic way.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile.am
src/shl_register.h [new file with mode: 0644]