void *qlasthost_exe(searchCtx *ctx, struct searchNode *thenode, void *theinput);
void qlasthost_free(searchCtx *ctx, struct searchNode *thenode);
-struct searchNode *qlasthost_parse(searchCtx *ctx, int type, int argc, char **argv) {
+struct searchNode *qlasthost_parse(searchCtx *ctx, int argc, char **argv) {
struct searchNode *thenode;
- if (type != SEARCHTYPE_USER) {
- parseError = "qlasthost: this function is only valid for user searches.";
- return NULL;
- }
-
if (!(thenode=(struct searchNode *)malloc(sizeof (struct searchNode)))) {
parseError = "malloc: could not allocate memory for this search.";
return NULL;