* mu-query/mu-msg-iter: when showing related message (--include-related),

favor the ones that were in the original set
This commit is contained in:
djcb
2012-12-28 14:48:00 +02:00
parent a0d8d4f5da
commit 70356a62f5
3 changed files with 107 additions and 42 deletions

View File

@ -51,8 +51,6 @@ enum _MuMsgIterFlags {
};
typedef unsigned MuMsgIterFlags;
/**
* create a new MuMsgIter -- basically, an iterator over the search
* results
@ -128,6 +126,18 @@ MuMsg* mu_msg_iter_get_msg_floating (MuMsgIter *iter)
/**
* Provide a preferred_hash, which is a hashtable msgid->docid to
* indicate the messages which should /not/ be seen as duplicates.
*
* @param iter a valid MuMsgIter iterator
* @param preferred_hash a hashtable msgid->docid of message /not/ to
* mark as duplicates, or NULL
*/
void mu_msg_iter_set_preferred (MuMsgIter *iter, GHashTable *preferred_hash);
/**
* get the document id for the current message
*