aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-03-09 09:22:29 -0800
committerGravatar Carl Worth <cworth@cworth.org>2010-03-09 09:22:29 -0800
commit4e5d2f22db290a830c0267f34b519c6138af00ed (patch)
treeb75346865280153187774efb4cf38562fe912bfc /lib/notmuch-private.h
parentc5085642b8c6495ffea3d5709aa6da14cd1d8688 (diff)
lib: Rename iterator functions to prepare for reverse iteration.
We rename 'has_more' to 'valid' so that it can function whether iterating in a forward or reverse direction. We also rename 'advance' to 'move_to_next' to setup parallel naming with the proposed functions 'move_to_first', 'move_to_last', and 'move_to_previous'.
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index c7fb0ef8..d52d84d4 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -382,13 +382,13 @@ _notmuch_messages_create (notmuch_message_list_t *list);
/* query.cc */
notmuch_bool_t
-_notmuch_mset_messages_has_more (notmuch_messages_t *messages);
+_notmuch_mset_messages_valid (notmuch_messages_t *messages);
notmuch_message_t *
_notmuch_mset_messages_get (notmuch_messages_t *messages);
void
-_notmuch_mset_messages_advance (notmuch_messages_t *messages);
+_notmuch_mset_messages_move_to_next (notmuch_messages_t *messages);
/* message.cc */