diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-06 15:00:38 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-02-06 15:00:38 +0300 |
commit | 7f8de787946b883cc791bf6c0bcb514496caf074 (patch) | |
tree | 8c828243de051ba25ed3806d2a4fca9eaf3cae83 /src/filter.h | |
parent | a3c3fb96d13f2cbfc5ab984c1886441ec0e9b47b (diff) | |
download | rspamd-7f8de787946b883cc791bf6c0bcb514496caf074.tar.gz rspamd-7f8de787946b883cc791bf6c0bcb514496caf074.zip |
* Make doxygen happy about structures members
Diffstat (limited to 'src/filter.h')
-rw-r--r-- | src/filter.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/filter.h b/src/filter.h index d732a8fbc..b991109f9 100644 --- a/src/filter.h +++ b/src/filter.h @@ -1,3 +1,8 @@ +/** + * @file filter.h + * Filters logic implemetation + */ + #ifndef RSPAMD_FILTER_H #define RSPAMD_FILTER_H @@ -9,10 +14,6 @@ #endif #include <glib.h> -/** - * Filters logic implemetation - */ - struct worker_task; typedef double (*metric_cons_func)(struct worker_task *task, const char *metric_name); @@ -24,29 +25,29 @@ enum filter_type { C_FILTER, PERL_FILTER }; * Filter structure */ struct filter { - char *func_name; /** < function name */ - enum filter_type type; /** < filter type (c or perl) */ - LIST_ENTRY (filter) next; /** < chain link */ + char *func_name; /**< function name */ + enum filter_type type; /**< filter type (c or perl) */ + LIST_ENTRY (filter) next; /**< chain link */ }; /** * Common definition of metric */ struct metric { - char *name; /** < name of metric */ - char *func_name; /** < name of consolidation function */ - metric_cons_func func; /** < c consolidation function */ - double required_score; /** < required score for this metric */ - struct classifier *classifier; /** < classifier that is used for metric */ + char *name; /**< name of metric */ + char *func_name; /**< name of consolidation function */ + metric_cons_func func; /**< c consolidation function */ + double required_score; /**< required score for this metric */ + struct classifier *classifier; /**< classifier that is used for metric */ }; /** * Result of metric processing */ struct metric_result { - struct metric *metric; /** < pointer to metric structure */ - double score; /** < total score */ - GHashTable *symbols; /** < symbols of metric */ + struct metric *metric; /**< pointer to metric structure */ + double score; /**< total score */ + GHashTable *symbols; /**< symbols of metric */ }; /** |