* mu-msg-fields.[ch]: cleanup a bit

This commit is contained in:
djcb
2013-05-13 00:03:06 +03:00
parent ea67447a98
commit 31c3c3cfda
2 changed files with 30 additions and 46 deletions

View File

@ -235,25 +235,16 @@ gboolean mu_msg_field_uses_boolean_prefix (MuMsgFieldId id) G_GNUC_PURE;
/**
* should this field be escaped for xapian? in practice, should
* word-breaking chars be replaced with '_'?
* word-breaking chars be replaced with '_'? Also, flatten accents,
* downcase?
*
* @param field a MuMsgField
*
* @return TRUE if the field is Xapian-escaped, FALSE otherwise
* @return TRUE if the field is to be preprocessed, FALSE otherwise
*/
gboolean mu_msg_field_xapian_escape (MuMsgFieldId id) G_GNUC_PURE;
gboolean mu_msg_field_preprocess (MuMsgFieldId id) G_GNUC_PURE;
/**
* should this field be normalized? ie. should it be downcased and
* accents removed when storing as Xapian term?
*
* @param field a MuMsgField
*
* @return TRUE if the field is to be normalized, FALSE otherwise
*/
gboolean mu_msg_field_normalize (MuMsgFieldId id) G_GNUC_PURE;
/**
* is this a range-field? ie. date, or size
*