diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-11 14:48:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-04-11 14:48:09 +0100 |
commit | 42a8b2da0117555109c35a9b6e44e73d605a0bd6 (patch) | |
tree | dbbddec74528aca44f37ac41c586041862f05a7e /src/libserver/rspamd_symcache.h | |
parent | 1a23c4377601c5c550d616c709e6e1ee56fd7f05 (diff) | |
download | rspamd-42a8b2da0117555109c35a9b6e44e73d605a0bd6.tar.gz rspamd-42a8b2da0117555109c35a9b6e44e73d605a0bd6.zip |
[Minor] Cleanup various stuff
Diffstat (limited to 'src/libserver/rspamd_symcache.h')
-rw-r--r-- | src/libserver/rspamd_symcache.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/libserver/rspamd_symcache.h b/src/libserver/rspamd_symcache.h index 0228e4f5a..afdda7e79 100644 --- a/src/libserver/rspamd_symcache.h +++ b/src/libserver/rspamd_symcache.h @@ -32,25 +32,25 @@ typedef void (*symbol_func_t)(struct rspamd_task *task, gpointer user_data); enum rspamd_symbol_type { - SYMBOL_TYPE_NORMAL = (1 << 0), - SYMBOL_TYPE_VIRTUAL = (1 << 1), - SYMBOL_TYPE_CALLBACK = (1 << 2), - SYMBOL_TYPE_GHOST = (1 << 3), - SYMBOL_TYPE_SKIPPED = (1 << 4), - SYMBOL_TYPE_COMPOSITE = (1 << 5), - SYMBOL_TYPE_CLASSIFIER = (1 << 6), - SYMBOL_TYPE_FINE = (1 << 7), - SYMBOL_TYPE_EMPTY = (1 << 8), /* Allow execution on empty tasks */ - SYMBOL_TYPE_PREFILTER = (1 << 9), - SYMBOL_TYPE_POSTFILTER = (1 << 10), - SYMBOL_TYPE_NOSTAT = (1 << 11), /* Skip as statistical symbol */ - SYMBOL_TYPE_IDEMPOTENT = (1 << 12), /* Symbol cannot change metric */ - SYMBOL_TYPE_SQUEEZED = (1 << 13), /* Symbol is squeezed inside Lua */ - SYMBOL_TYPE_TRIVIAL = (1 << 14), /* Symbol is trivial */ - SYMBOL_TYPE_MIME_ONLY = (1 << 15), /* Symbol is mime only */ - SYMBOL_TYPE_EXPLICIT_DISABLE = (1 << 16), /* Symbol should be disabled explicitly only */ - SYMBOL_TYPE_IGNORE_PASSTHROUGH = (1 << 17), /* Symbol ignores passthrough result */ - SYMBOL_TYPE_USE_CORO = (1 << 18), /* Symbol uses lua coroutines */ + SYMBOL_TYPE_NORMAL = (1u << 0u), + SYMBOL_TYPE_VIRTUAL = (1u << 1u), + SYMBOL_TYPE_CALLBACK = (1u << 2u), + SYMBOL_TYPE_GHOST = (1u << 3u), + SYMBOL_TYPE_SKIPPED = (1u << 4u), + SYMBOL_TYPE_COMPOSITE = (1u << 5u), + SYMBOL_TYPE_CLASSIFIER = (1u << 6u), + SYMBOL_TYPE_FINE = (1u << 7u), + SYMBOL_TYPE_EMPTY = (1u << 8u), /* Allow execution on empty tasks */ + SYMBOL_TYPE_PREFILTER = (1u << 9u), + SYMBOL_TYPE_POSTFILTER = (1u << 10u), + SYMBOL_TYPE_NOSTAT = (1u << 11u), /* Skip as statistical symbol */ + SYMBOL_TYPE_IDEMPOTENT = (1u << 12u), /* Symbol cannot change metric */ + SYMBOL_TYPE_SQUEEZED = (1u << 13u), /* Symbol is squeezed inside Lua */ + SYMBOL_TYPE_TRIVIAL = (1u << 14u), /* Symbol is trivial */ + SYMBOL_TYPE_MIME_ONLY = (1u << 15u), /* Symbol is mime only */ + SYMBOL_TYPE_EXPLICIT_DISABLE = (1u << 16u), /* Symbol should be disabled explicitly only */ + SYMBOL_TYPE_IGNORE_PASSTHROUGH = (1u << 17u), /* Symbol ignores passthrough result */ + SYMBOL_TYPE_USE_CORO = (1u << 18u), /* Symbol uses lua coroutines */ }; /** |