lib: Rename iterator functions to prepare for reverse iteration.
authorCarl Worth <cworth@cworth.org>
Tue, 9 Mar 2010 17:22:29 +0000 (09:22 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 9 Mar 2010 17:22:29 +0000 (09:22 -0800)
commit4e5d2f22db290a830c0267f34b519c6138af00ed
treeb75346865280153187774efb4cf38562fe912bfc
parentc5085642b8c6495ffea3d5709aa6da14cd1d8688
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'.
17 files changed:
lib/database.cc
lib/directory.cc
lib/message.cc
lib/messages.c
lib/notmuch-private.h
lib/notmuch.h
lib/query.cc
lib/tags.c
lib/thread.cc
notmuch-dump.c
notmuch-new.c
notmuch-reply.c
notmuch-restore.c
notmuch-search-tags.c
notmuch-search.c
notmuch-show.c
notmuch-tag.c