From f19bd5e590519c7a1624884d463e36f49af82632 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 25 Oct 2014 22:10:12 +0200 Subject: [PATCH] store: Removed unused types. --- src/core/store-private.h | 16 ---------------- 1 file changed, 16 deletions(-) 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; -- 2.30.2