void *match_exe(searchCtx *ctx, struct searchNode *thenode, void *theinput);
void match_free(searchCtx *ctx, struct searchNode *thenode);
-struct searchNode *match_parse(searchCtx *ctx, int type, int argc, char **argv) {
+struct searchNode *match_parse(searchCtx *ctx, int argc, char **argv) {
struct match_localdata *localdata;
struct searchNode *thenode;
struct searchNode *targnode, *patnode;
}
/* @fixme check this works with new parsing semantics */
- targnode = ctx->parser(ctx, type, argv[0]);
+ targnode = ctx->parser(ctx, argv[0]);
if (!(targnode = coerceNode(ctx,targnode, RETURNTYPE_STRING)))
return NULL;
- patnode = ctx->parser(ctx, type, argv[1]);
+ patnode = ctx->parser(ctx, argv[1]);
if (!(patnode = coerceNode(ctx,patnode, RETURNTYPE_STRING))) {
(targnode->free)(ctx, targnode);
return NULL;