#include "config.h"#include "defines.h"#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <time.h>#include <sys/types.h>#include "readline.h"#include "hashlib.h"#include "utils.h"#include "configparser.h"#include "cfcgi.h"#include "template.h"#include "clientlib.h"Go to the source code of this file.
Functions | |
| void | parse_list (u_char *vips, t_cf_hash *hash) |
| u_char * | tolwer (const u_char *str, register int *len) |
| int | execute_filter (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_message *msg, unsigned long long tid, int mode) |
| void | flt_lh_cleanup (void) |
| int | flt_lh_set_colors (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cf_template *begin, t_cf_template *end) |
| int | flt_lh_set_cols_p (t_cf_hash *head, t_configuration *dc, t_configuration *vc, t_cl_thread *thread, t_cf_template *tpl) |
| int | flt_lh_handle_command (t_configfile *cf, t_conf_opt *opt, u_char **args, int argnum) |
Variables | |
| struct { | |
| int HighlightOwnPostings | |
| u_char * OwnPostingsColorF | |
| u_char * OwnPostingsColorB | |
| t_cf_hash * WhiteList | |
| u_char * WhiteListColorF | |
| u_char * WhiteListColorB | |
| t_cf_hash * HighlightCategories | |
| u_char * CategoryHighlightColorF | |
| u_char * CategoryHighlightColorB | |
| t_cf_hash * VIPList | |
| u_char * VIPColorF | |
| u_char * VIPColorB | |
| } | Cfg |
| t_conf_opt | config [] |
| t_handler_config | handlers [] |
| t_module_config | flt_listhighlight |
Definition in file flt_listhighlight.c.
|
|
Initial value: {
{ "HighlightOwnPostings", flt_lh_handle_command, NULL },
{ "OwnPostingsColors", flt_lh_handle_command, NULL },
{ "WhiteList", flt_lh_handle_command, NULL },
{ "WhiteListColors", flt_lh_handle_command, NULL },
{ "HighlightCategories", flt_lh_handle_command, NULL },
{ "CategoryHighlightColors", flt_lh_handle_command, NULL },
{ "VIPList", flt_lh_handle_command, NULL },
{ "VIPColors", flt_lh_handle_command, NULL },
{ NULL, NULL, NULL }
}
Definition at line 252 of file flt_listhighlight.c. |
|
|
Initial value: {
config,
handlers,
NULL,
NULL,
NULL,
flt_lh_cleanup
}
Definition at line 271 of file flt_listhighlight.c. |
|
|
Initial value: {
{ VIEW_LIST_HANDLER, execute_filter },
{ VIEW_INIT_HANDLER, flt_lh_set_colors },
{ POSTING_HANDLER, flt_lh_set_cols_p },
{ 0, NULL }
}
Definition at line 264 of file flt_listhighlight.c. |
1.3.5