diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-23 20:25:13 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-23 20:25:13 -0800 |
commit | 94eb9aacd40a8aa133f64bbe5ed71c0138fb5ed9 (patch) | |
tree | 54ca17330d4b930cf76c1025be854a7512c1dd50 /lib/notmuch.h | |
parent | ba3554b8045e16ae883d559b7e575e8aca00f6d2 (diff) |
lib/query: Drop the first and max_messages arguments from search_messages.
These only existed to support the chunky-searching hack, but that
was recently dropped anyway.
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r-- | lib/notmuch.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h index 9b40fb69..8bba442f 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -361,14 +361,6 @@ notmuch_query_search_threads (notmuch_query_t *query); * messages object is owned by the query and as such, will only be * valid until notmuch_query_destroy. * - * The 'first' and 'max_messages' arguments can be used to obtain - * partial results from the search. For example, to get results 10 at - * a time, pass 'max_messages' as 10 and for 'first' pass the values - * 0, 10, 20, etc. As a special case, a value of -1 for 'max_messages' - * indicates that no limiting is to be performed. So a search with - * 'first' == 0 and 'max_messages' == -1 will return the complete - * results of the search. - * * Typical usage might be: * * notmuch_query_t *query; @@ -401,8 +393,7 @@ notmuch_query_search_threads (notmuch_query_t *query); * reason to call it if the query is about to be destroyed). */ notmuch_messages_t * -notmuch_query_search_messages (notmuch_query_t *query, - int first, int max_messages); +notmuch_query_search_messages (notmuch_query_t *query); /* Destroy a notmuch_query_t along with any associated resources. * |