Article filtering. More...
Go to the source code of this file.
Macros | |
| #define | MAIN_ERR_PREFIX "FILTER: " |
| Message prefix for FILTER module. | |
| #define | FILTER_PERM (posix_mode_t) (POSIX_S_IRUSR | POSIX_S_IWUSR) |
| Permissions for score file. | |
Score limits | |
Type must be | |
| #define | FILTER_SCORE_MAX INT_MAX |
| #define | FILTER_SCORE_MIN INT_MIN |
Functions | |
| int | filter_init (int utf8) |
| Initialize filter module. More... | |
| void | filter_exit (void) |
| Shutdown filter module. More... | |
| int | filter_check_testgroup (const char *group) |
| Check for test group. More... | |
| int | filter_match_own (const struct core_hierarchy_element *he) |
| Check for own article. More... | |
| int | filter_match_reply_to_own (const struct core_hierarchy_element *he) |
| Check for reply to own article. More... | |
| int | filter_get_score (const struct core_hierarchy_element *he) |
| Get article score. More... | |
| enum filter_cs | filter_get_locale_ctype (void) |
Get codeset of locale category LC_CTYPE. More... | |
Article filtering.
Copyright (c) 2012-2020 by the developers. See the LICENSE file for details.
If nothing else is specified, function return zero to indicate success and a negative value to indicate an error.
Definition in file filter.c.