]>
Commit | Line | Data |
---|---|---|
e2527cba P |
1 | #ifndef __TRUSTS_NEWSEARCH_H_ |
2 | #define __TRUSTS_NEWSEARCH_H | |
3 | ||
4 | #include "../patriciasearch/patriciasearch.h" | |
0ac8476d | 5 | #include "../trusts2/trusts.h" |
e2527cba P |
6 | #include "../trusts_search/trusts_search.h" |
7 | ||
8 | void printtrust_group(searchCtx *ctx, nick *sender, patricia_node_t *node); | |
0ac8476d P |
9 | void printtrust_block(searchCtx *ctx, nick *sender, patricia_node_t *node); |
10 | void printtrust_blockprivate(searchCtx *ctx, nick *sender, patricia_node_t *node); | |
e2527cba P |
11 | |
12 | struct searchNode *tsns_trusted_parse(searchCtx *ctx, int argc, char **argv); | |
13 | struct searchNode *tsns_tgid_parse(searchCtx *ctx, int argc, char **argv); | |
14 | struct searchNode *tsns_tgexpire_parse(searchCtx *ctx, int argc, char **argv); | |
15 | struct searchNode *tsns_tgmaxperip_parse(searchCtx *ctx, int argc, char **argv); | |
16 | struct searchNode *tsns_tgownerid_parse(searchCtx *ctx, int argc, char **argv); | |
17 | struct searchNode *tsns_tgstartdate_parse(searchCtx *ctx, int argc, char **argv); | |
18 | struct searchNode *tsns_tglastused_parse(searchCtx *ctx, int argc, char **argv); | |
19 | struct searchNode *tsns_tgmaxusage_parse(searchCtx *ctx, int argc, char **argv); | |
20 | struct searchNode *tsns_tgcurrenton_parse(searchCtx *ctx, int argc, char **argv); | |
21 | struct searchNode *tsns_tgmaxclones_parse(searchCtx *ctx, int argc, char **argv); | |
22 | struct searchNode *tsns_tgmaxperident_parse(searchCtx *ctx, int argc, char **argv); | |
23 | struct searchNode *tsns_tgenforceident_parse(searchCtx *ctx, int argc, char **argv); | |
24 | struct searchNode *tsns_tgcreated_parse(searchCtx *ctx, int argc, char **argv); | |
25 | struct searchNode *tsns_tgmodified_parse(searchCtx *ctx, int argc, char **argv); | |
26 | ||
27 | struct searchNode *tsns_thcreated_parse(searchCtx *ctx, int argc, char **argv); | |
28 | struct searchNode *tsns_thexpire_parse(searchCtx *ctx, int argc, char **argv); | |
29 | struct searchNode *tsns_thid_parse(searchCtx *ctx, int argc, char **argv); | |
30 | struct searchNode *tsns_thlastused_parse(searchCtx *ctx, int argc, char **argv); | |
31 | struct searchNode *tsns_thmaxusage_parse(searchCtx *ctx, int argc, char **argv); | |
32 | struct searchNode *tsns_thmodified_parse(searchCtx *ctx, int argc, char **argv); | |
33 | struct searchNode *tsns_thstartdate_parse(searchCtx *ctx, int argc, char **argv); | |
34 | ||
0ac8476d P |
35 | struct searchNode *tsns_tbid_parse(searchCtx *ctx, int argc, char **argv); |
36 | ||
37 | struct searchNode *tsns_istrusted_parse(searchCtx *ctx, int argc, char **argv); | |
38 | ||
39 | int tsns_dotrustlist(void *source, int cargc, char **cargv); | |
40 | int tsns_dotrustdenylist(void *source, int cargc, char **cargv); | |
41 | ||
e2527cba | 42 | #endif |