* enable the --threads/t argument for mu-find / queries

This commit is contained in:
Dirk-Jan C. Binnema
2011-06-19 21:03:33 +03:00
parent 1e945e301f
commit 9a5888f7c8
4 changed files with 8 additions and 4 deletions

View File

@ -69,6 +69,7 @@ char* mu_query_version (MuQuery *store)
*
* @param self a valid MuQuery instance
* @param expr the search expression
* @param threads calculate message-threads
* @param sortfield the field id to sort by or MU_MSG_FIELD_ID_NONE if
* sorting is not desired
* @param ascending if TRUE sort in ascending (A-Z) order, otherwise,
@ -80,7 +81,7 @@ char* mu_query_version (MuQuery *store)
* @return a MuMsgIter instance you can iterate over, or NULL in
* case of error
*/
MuMsgIter* mu_query_run (MuQuery *self, const char* expr,
MuMsgIter* mu_query_run (MuQuery *self, const char* expr, gboolean threads,
MuMsgFieldId sortfieldid, gboolean ascending,
GError **err)
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;