* macro \ref TUPLEITEMINIT may be used to initialize particular
* tupleschema records, which each become tupleitem declaration for
* its particular arity and parts declarations
+ * \extends itemkeyfun
*/
typedef struct {
/**
* itemkeyfun pointer to be within a tupleschema record so as to
* provide the handling of the tuple columns.
*/
- itemkeyfun functions;
+ itemkeyfun base;
/**
* This is the number of columns in a tuple.
*/
extern tupleschema *tupleschema_mask(tupleschema *schema,...);
+/**
+ * \brief Return 1/0 to indicate whether the query matches the item.
+ */
+extern int tupleschema_match(tupleschema *def,tuple *query,tuple *item);
+
/**
* The TUPLEITEMINIT macro is used for initializing a tupleschema
* record appropriately for a given arity and corresponding sequence