X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fquery.cc;h=5275b5a24fe620ed2dcef5fd2d87a9b78a1860a6;hp=9cedb6a8440ae907ac83f9d0b2ac98e8a9f5c9aa;hb=6b440a0adf327fa9c3f5e3dcc84f9356c62a4580;hpb=4fed7047b23b3f59cbbfee8780fc1314a747b80e diff --git a/lib/query.cc b/lib/query.cc index 9cedb6a8..5275b5a2 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -654,3 +654,9 @@ notmuch_query_count_threads (notmuch_query_t *query) return count; } + +notmuch_database_t * +notmuch_query_get_database (notmuch_query_t *query) +{ + return query->notmuch; +}