X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fnotmuch.h;h=87756838d0727f77836e419a2e7f9d5384bb1033;hb=65a6b86873a471bb87d30a8617a87857103cd8b6;hp=8639b383f3352c2e7842fc47de94101b9f490860;hpb=98ee460eaa98f1428aecf03dd39fcf314e6f62c0;p=notmuch diff --git a/lib/notmuch.h b/lib/notmuch.h index 8639b383..87756838 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -313,7 +313,7 @@ notmuch_database_open_verbose (const char *path, * */ const char * -notmuch_database_status_string (notmuch_database_t *notmuch); +notmuch_database_status_string (const notmuch_database_t *notmuch); /** * Commit changes and close the given notmuch database. @@ -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.