X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Finclude%2Fcore%2Fstore.h;h=cef3d063cf0f41f18aad997eedf92971d7cf93ac;hp=684a3ccf020e5d996acf717e7c06bb3a0925ce3e;hb=4a5eb5e9a97fac1ad51a1e7be94c460d2f071ae3;hpb=d64762ef1ee24d605bcd32495daeef29d3dc3b3c diff --git a/src/include/core/store.h b/src/include/core/store.h index 684a3cc..cef3d06 100644 --- a/src/include/core/store.h +++ b/src/include/core/store.h @@ -358,17 +358,6 @@ int sdb_store_expr_eval(sdb_store_expr_t *expr, sdb_store_obj_t *obj, sdb_data_t *res, sdb_store_matcher_t *filter); -/* - * Conditionals may be used to lookup hosts from the store based on a - * conditional expression. - * - * A conditional object inherits from sdb_object_t and, thus, may safely be - * cast to a generic object. - */ -struct sdb_store_cond; -typedef struct sdb_store_cond sdb_store_cond_t; -#define SDB_STORE_COND(obj) ((sdb_store_cond_t *)(obj)) - /* * sdb_store_name_matcher: * Creates a matcher matching by the specified object type's name. If 're' is @@ -417,17 +406,6 @@ sdb_store_child_matcher(int type, sdb_store_matcher_t *m); * equal, equal, greater or equal, or greater than the conditional's value * repsectively. */ -sdb_store_matcher_t * -sdb_store_lt_matcher(sdb_store_cond_t *cond); -sdb_store_matcher_t * -sdb_store_le_matcher(sdb_store_cond_t *cond); -sdb_store_matcher_t * -sdb_store_eq_matcher(sdb_store_cond_t *cond); -sdb_store_matcher_t * -sdb_store_ge_matcher(sdb_store_cond_t *cond); -sdb_store_matcher_t * -sdb_store_gt_matcher(sdb_store_cond_t *cond); - sdb_store_matcher_t * sdb_store_cmp_lt(sdb_store_expr_t *left, sdb_store_expr_t *right); sdb_store_matcher_t *