author | Sebastian Harl <sh@tokkee.org> | |
Mon, 28 Jul 2014 21:36:05 +0000 (23:36 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 28 Jul 2014 21:36:05 +0000 (23:36 +0200) | ||
commit | 3da6e0cdfaba4755f5d272100e95528d33aae322 | |
tree | 414eb1d13d0b92132413236b1b46a70851fa26c5 | tree | snapshot |
parent | 88281ca69be18cdd05acb7fff580f40c091e49f5 | commit | diff |
store: Make matchers more generic and applicable to non-hosts as well.
Most of the matchers are actually not specific to hosts and may be re-used for
different purposes (e.g. filters). Make them applicable to arbitrary object
types (again) and only check for the right object type when actually needed.
Added simple unit-tests covering filters applied to all types of objects.
Most of the matchers are actually not specific to hosts and may be re-used for
different purposes (e.g. filters). Make them applicable to arbitrary object
types (again) and only check for the right object type when actually needed.
Added simple unit-tests covering filters applied to all types of objects.
src/core/store-private.h | diff | blob | history | |
src/core/store_lookup.c | diff | blob | history | |
t/unit/core/store_lookup_test.c | diff | blob | history |