X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fstore.h;h=890482a965ffe0b119603d7fcf728fe790c71a6f;hb=b1d0d9add668e008f5b59f8ae76d8167b223e056;hp=856e19c5220894e558e5e0f1d03afb68ac7dda23;hpb=b0af45ebf920955095b9fdeaddbde0107c6e519f;p=sysdb.git diff --git a/src/include/core/store.h b/src/include/core/store.h index 856e19c..890482a 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -160,28 +160,19 @@ typedef struct sdb_store_matcher sdb_store_matcher_t; * sdb_store_name_matcher: * Creates a matcher matching by the specified object type's name. If 're' is * true, the specified name is treated as a POSIX extended regular expression. - * Else, the exact name has to match. + * Else, the exact name has to match (case-insensitive). */ sdb_store_matcher_t * sdb_store_name_matcher(int type, const char *name, _Bool re); /* * sdb_store_attr_matcher: - * Creates a matcher matching attributes based on their name or value. Either - * a complete name (which will have to match completely but case-independent) - * or an extended POSIX regular expression may be specified. - */ -sdb_store_matcher_t * -sdb_store_attr_matcher(const char *attr_name, const char *attr_name_re, - const char *attr_value, const char *attr_value_re); - -/* - * sdb_store_host_matcher: - * Creates a matcher matching hosts based on their name or its attributes. + * Creates a matcher matching attributes based on their value. If 're' is + * true, the specified name is treated as a POSIX extended regular expression. + * Else, the exact name has to match (case-insensitive). */ sdb_store_matcher_t * -sdb_store_host_matcher(const char *host_name, const char *host_name_re, - sdb_store_matcher_t *attr_matcher); +sdb_store_attr_matcher(const char *name, const char *value, _Bool re); /* * sdb_store_matcher_parse_cmp: