X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=87756838d0727f77836e419a2e7f9d5384bb1033;hb=b8f4e7da3d61733fb47111b162ccabb967a3661e;hp=86b5b4de4502be96f353b836ffaf22a6171a7f43;hpb=bd5504ec10edf6a1442d92774dc06fafc0b46e3f;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index 86b5b4de..87756838 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -728,13 +728,13 @@ typedef enum { * Return the query_string of this query. See notmuch_query_create. */ const char * -notmuch_query_get_query_string (notmuch_query_t *query); +notmuch_query_get_query_string (const notmuch_query_t *query); /** * Return the notmuch database of this query. See notmuch_query_create. */ notmuch_database_t * -notmuch_query_get_database (notmuch_query_t *query); +notmuch_query_get_database (const notmuch_query_t *query); /** * Exclude values for notmuch_query_set_omit_excluded. The strange @@ -791,7 +791,7 @@ notmuch_query_set_sort (notmuch_query_t *query, notmuch_sort_t sort); * notmuch_query_set_sort. */ notmuch_sort_t -notmuch_query_get_sort (notmuch_query_t *query); +notmuch_query_get_sort (const notmuch_query_t *query); /** * Add a tag that will be excluded from the query results by default.