X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Fcore%2Fstore-private.h;fp=src%2Fcore%2Fstore-private.h;h=775057f09e235f9033edc10526a08e65d7f43d47;hp=a0f4ec61db0ece7ebafaf1ed52a96f83db40290e;hb=f19bd5e590519c7a1624884d463e36f49af82632;hpb=99d12b86d046b983801fd9381d5b9cea0200a64c diff --git a/src/core/store-private.h b/src/core/store-private.h index a0f4ec6..775057f 100644 --- a/src/core/store-private.h +++ b/src/core/store-private.h @@ -154,7 +154,6 @@ enum { (((t) == MATCHER_OR) ? "OR" \ : ((t) == MATCHER_AND) ? "AND" \ : ((t) == MATCHER_NOT) ? "NOT" \ - : ((t) == MATCHER_NAME) ? "NAME" \ : ((t) == MATCHER_ANY) ? "ANY" \ : ((t) == MATCHER_ALL) ? "ALL" \ : ((t) == MATCHER_LT) ? "<" \ @@ -170,12 +169,6 @@ enum { : ((t) == MATCHER_ISNNULL) ? "IS NOT NULL" \ : "UNKNOWN") -/* match the name of something */ -typedef struct { - char *name; - regex_t *name_re; -} string_matcher_t; - /* matcher base type */ struct sdb_store_matcher { sdb_object_t super; @@ -221,15 +214,6 @@ typedef struct { } cmp_matcher_t; #define CMP_M(m) ((cmp_matcher_t *)(m)) -/* match any type of object by it's name */ -typedef struct { - sdb_store_matcher_t super; - - int obj_type; - string_matcher_t name; -} name_matcher_t; -#define NAME_M(m) ((name_matcher_t *)(m)) - typedef struct { sdb_store_matcher_t super; sdb_store_expr_t *expr;