notmuch/lib
David Bremner d6bd87a712 lib/config: add notmuch_config_key_{get,set}
By using an enum we can have better error detection than copy pasting
key strings around.

The question of what layer this belongs in is a bit
tricky. Historically most of the keys are defined by the CLI. On the
other hand features like excludes are supported in the
library/bindings, and it makes sense to configure them from the
library as well.

The somewhat long prefix for notmuch_config_t is to avoid collisions
with the existing usage in notmuch-client.h.
2021-02-06 19:02:00 -04:00
..
add-message.cc lib: replace use of static_cast for writable databases 2020-07-28 08:47:58 -03:00
built-with.c build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
config.cc lib/config: add notmuch_config_key_{get,set} 2021-02-06 19:02:00 -04:00
database-private.h lib: cache configuration information from database 2021-02-06 18:56:05 -04:00
database.cc lib: factor out notmuch_database_open* related code to own file 2020-12-23 09:25:01 -04:00
directory.cc lib: fix return value for n_directory_delete 2020-08-03 20:59:06 -03:00
features.cc lib: factor out feature name related code. 2020-12-23 09:06:34 -04:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc smime: Index cleartext of envelopedData when requested 2020-05-22 22:12:00 -03:00
indexopts.c lib: return NULL from n_d_get_default_indexopts on error 2020-08-03 20:45:58 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: factor out notmuch_database_open* related code to own file 2020-12-23 09:25:01 -04:00
message-file.c lib: convert relative filenames to absolute in n_d_index_file 2020-07-22 19:52:55 -03:00
message-id.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
message.cc lib: replace use of static_cast for writable databases 2020-07-28 08:47:58 -03:00
messages.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
notmuch-private.h lib: add stub for notmuch_database_open_with_config 2021-02-06 18:57:35 -04:00
notmuch.h lib/config: add notmuch_config_key_{get,set} 2021-02-06 19:02:00 -04:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
open.cc lib/open: add support for config profiles and default locations 2021-02-06 18:59:00 -04:00
parse-time-vrp.cc lib: migrate from Xapian ValueRangeProcessor to RangeProcessor 2020-07-11 17:20:09 -03:00
parse-time-vrp.h lib: migrate from Xapian ValueRangeProcessor to RangeProcessor 2020-07-11 17:20:09 -03:00
prefix.cc lib: cache configuration information from database 2021-02-06 18:56:05 -04:00
query-fp.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
query-fp.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
query.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
regexp-fields.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
regexp-fields.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
sha1.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-list.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-map.c lib: add _notmuch_string_map_set 2021-02-06 18:54:23 -04:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread-fp.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
thread-fp.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
thread.cc lib/thread: replace use of deprecated notmuch_message_get_flag 2020-07-18 11:03:29 -03:00