* mu-query: implement MU_QUERY_FLAG_INCLUDE_RELATED, make threading non-optional

This commit is contained in:
djcb
2012-12-25 17:34:24 +02:00
parent 03921e6cf1
commit 7856ac939e
2 changed files with 108 additions and 33 deletions

View File

@ -68,11 +68,10 @@ char* mu_query_version (MuQuery *store)
enum _MuQueryFlags {
MU_QUERY_FLAG_NONE = 0,
MU_QUERY_FLAG_THREADS = 1 << 0, /**< add threading info */
MU_QUERY_FLAG_DESCENDING = 1 << 1, /**< sort z->a */
MU_QUERY_FLAG_SKIP_UNREADABLE = 1 << 2, /**< skip unreadable msgs */
MU_QUERY_FLAG_SKIP_DUPS = 1 << 3, /**< skip duplicate msgs */
MU_QUERY_FLAG_INCLUDE_RELATED = 1 << 4 /**< include related msgs */
MU_QUERY_FLAG_DESCENDING = 1 << 0, /**< sort z->a */
MU_QUERY_FLAG_SKIP_UNREADABLE = 1 << 1, /**< skip unreadable msgs */
MU_QUERY_FLAG_SKIP_DUPS = 1 << 2, /**< skip duplicate msgs */
MU_QUERY_FLAG_INCLUDE_RELATED = 1 << 3 /**< include related msgs */
};
typedef enum _MuQueryFlags MuQueryFlags;