]>
Commit | Line | Data |
---|---|---|
3128667f P |
1 | #include "../newsearch/newsearch.h" |
2 | #include "../patricia/patricia.h" | |
3 | #include "../patricianick/patricianick.h" | |
4 | ||
5 | typedef void (*NodeDisplayFunc)(struct searchCtx *, nick *, patricia_node_t *); | |
6 | ||
7 | void printnode(searchCtx *, nick *, patricia_node_t *); | |
8 | ||
6b2202d0 | 9 | void pnodesearch_exe(struct searchNode *search, searchCtx *ctx, patricia_node_t *subset); |
3128667f P |
10 | |
11 | int do_pnodesearch_real(replyFunc reply, wallFunc wall, void *source, int cargc, char **cargv); | |
12 | ||
13 | int ast_pnodesearch(searchASTExpr *tree, replyFunc reply, void *sender, wallFunc wall, NodeDisplayFunc display, HeaderFunc header, void *headerarg, int limit); | |
14 | ||
79304922 P |
15 | void regpnodedisp(const char *name, NodeDisplayFunc handler); |
16 | void unregpnodedisp(const char *name, NodeDisplayFunc handler); | |
17 | ||
3128667f P |
18 | extern NodeDisplayFunc defaultpnodefn; |
19 | extern searchCmd *reg_nodesearch; | |
20 | ||
21 | struct searchNode *ps_nick_parse(searchCtx *ctx, int argc, char **argv); | |
22 | struct searchNode *ps_users_parse(searchCtx *ctx, int argc, char **argv); |