Code

store: Introduced the concept of query filters.
[sysdb.git] / src / core / store-private.h
index 30091a75a466e28351383be46a3e61883999f70a..703bc55e476c0b3ef2663ec28ac63098a0d2399b 100644 (file)
@@ -95,8 +95,10 @@ typedef struct {
  * conditionals
  */
 
-/* compares a host using the specified conditional */
-typedef int (*cmp_cb)(sdb_host_t *, sdb_store_cond_t *);
+/* compares a host using the specified conditional and taking the specified
+ * filter into account */
+typedef int (*cmp_cb)(sdb_host_t *, sdb_store_cond_t *,
+               sdb_store_matcher_t *);
 
 struct sdb_store_cond {
        sdb_object_t super;