* handle message-ids a bit specially, update unit tests

This commit is contained in:
djcb
2013-10-13 20:05:29 +03:00
parent edfdef44a4
commit c36030a086
5 changed files with 92 additions and 15 deletions

View File

@ -158,6 +158,18 @@ char* mu_str_process_query_term (const char *qterm)
G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
/**
* Handle the message-id in a special way
*
* @param str the message-id str
* @param query is this a query?
*
* @return the massaged message-id
*/
char* mu_str_process_msgid (const char *str, gboolean query);
/**
* Fixup values for some fields in the DWIM manner:
* - if term is date:YYYYMMDD, replace it with the range