X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Finclude%2Fcore%2Fstore.h;h=3722a7262d6aa773d4f3210e12217e7505d449f1;hb=b072d9b2786422fcb8f068dd5076bd108a6228e9;hp=e83ff8486ebcf2a8d21a49a9c8da87ddeceba9ec;hpb=8b3cabcc3ff88a9b676bb29aa1f14f1036ef19c8;p=sysdb.git diff --git a/src/include/core/store.h b/src/include/core/store.h index e83ff84..3722a72 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -483,19 +483,21 @@ sdb_store_inv_matcher(sdb_store_matcher_t *m); /* * sdb_store_any_matcher: - * Creates a matcher iterating over objects of the specified type. It matches - * if *any* of those objects match 'm'. + * Creates a matcher iterating over values of the first expression (which has + * to be iterable). It matches if *any* of those elements match 'm'. 'm' has + * to be an ary operation with the left operand unset. */ sdb_store_matcher_t * -sdb_store_any_matcher(int type, sdb_store_matcher_t *m); +sdb_store_any_matcher(sdb_store_expr_t *iter, sdb_store_matcher_t *m); /* * sdb_store_all_matcher: - * Creates a matcher iterating over objects of the specified type. It matches - * if *all* of those objects match 'm'. + * Creates a matcher iterating over values of the first expression (which has + * to be iterable). It matches if *all* of those elements match 'm'. 'm' has + * to be an ary operation with the left operand unset. */ sdb_store_matcher_t * -sdb_store_all_matcher(int type, sdb_store_matcher_t *m); +sdb_store_all_matcher(sdb_store_expr_t *iter, sdb_store_matcher_t *m); /* * sdb_store_in_matcher: