Code

store_lookup: Added conditional for accessing store-object fields.
authorSebastian Harl <sh@tokkee.org>
Tue, 29 Jul 2014 18:49:24 +0000 (20:49 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 29 Jul 2014 18:49:24 +0000 (20:49 +0200)
commit0e369b5129e64580e444e7d7ef4033a9d2995a28
tree7c4ddea843ca7d14894bc318c25db0a699d77c8a
parent52e68c096ba26c0620f78718054b20dc6c0d5306
store_lookup: Added conditional for accessing store-object fields.

Fields are "last-update", "age", "interval", and "backend".

"backend" only supports the lookup of objects provided by a named backend but
no conditional checks.
src/core/store-private.h
src/core/store_lookup.c
src/include/core/store.h
t/unit/core/store_lookup_test.c