diff options
| author | David Bremner <david@tethera.net> | 2017-02-26 22:34:19 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-03-03 07:15:13 -0400 |
| commit | 31b8ce4558de69860c95bf319a0a162316dce6c6 (patch) | |
| tree | cd5dd6e4ddcc7e2ebb23a9b02070a93f38c305ef /lib/database-private.h | |
| parent | 914c4db1f2cf5b19100b42a8e3ea62d000a9b642 (diff) | |
lib: create field processors from prefix table
This is a bit more code than hardcoding the two existing field
processors, but it should make it easy to add more.
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index 06882439..ab3d9691 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -153,7 +153,8 @@ operator&=(_notmuch_features &a, _notmuch_features b) typedef enum notmuch_field_flags { NOTMUCH_FIELD_NO_FLAGS = 0, NOTMUCH_FIELD_EXTERNAL = 1 << 0, - NOTMUCH_FIELD_PROBABILISTIC = 1 << 1 + NOTMUCH_FIELD_PROBABILISTIC = 1 << 1, + NOTMUCH_FIELD_PROCESSOR = 1 << 2, } notmuch_field_flag_t; /* |
