mirror of https://github.com/djcb/mu.git
* mu-msg-field.(ch): some cosmetics
This commit is contained in:
parent
9b96a42c81
commit
fdae866ccd
|
@ -21,7 +21,7 @@
|
|||
#include "mu-msg-fields.h"
|
||||
|
||||
enum _FieldFlags {
|
||||
FLAG_XAPIAN = 1 << 1, /* field stored in xapian db*/
|
||||
FLAG_XAPIAN = 1 << 1, /* field stored as a string the in xapian db*/
|
||||
FLAG_GMIME = 1 << 2, /* field retrieved by reading msg with gmime */
|
||||
FLAG_XAPIAN_INDEX = 1 << 3 /* field is indexed in xapian */
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ static const guint MU_MSG_FIELD_ID_NONE = MU_MSG_FIELD_ID_NUM + 1;
|
|||
struct _MuMsgField;
|
||||
typedef struct _MuMsgField MuMsgField;
|
||||
|
||||
/* don't change the order, add new types at the end */
|
||||
/* don't change the order, add new types at the end (before _NUM)*/
|
||||
enum _MuMsgFieldType {
|
||||
MU_MSG_FIELD_TYPE_STRING,
|
||||
|
||||
|
@ -66,6 +66,7 @@ typedef void (*MuMsgFieldForEachFunc) (const MuMsgField *field,
|
|||
gconstpointer data);
|
||||
void mu_msg_field_foreach (MuMsgFieldForEachFunc func, gconstpointer data);
|
||||
|
||||
|
||||
const char* mu_msg_field_name (const MuMsgField *field) G_GNUC_CONST;
|
||||
const char* mu_msg_field_shortcut (const MuMsgField *field) G_GNUC_CONST;
|
||||
const char* mu_msg_field_xapian_prefix (const MuMsgField *field) G_GNUC_PURE;
|
||||
|
|
Loading…
Reference in New Issue