Struct

CamelStoreDBMessageRecord

unstable since: 3.58

Description [src]

struct CamelStoreDBMessageRecord {
  guint32 folder_id;
  const gchar* uid;
  guint32 flags;
  guint32 msg_type;
  guint32 dirty;
  guint32 size;
  gint64 dsent;
  gint64 dreceived;
  const gchar* subject;
  const gchar* from;
  const gchar* to;
  const gchar* cc;
  const gchar* mlist;
  gchar* part;
  gchar* labels;
  gchar* usertags;
  gchar* cinfo;
  gchar* bdata;
  gchar* userheaders;
  gchar* preview;
}

A message record, with values stored in a CamelStoreDB.

Structure members
folder_id: guint32

ID of the folder the message belongs to.

uid: const gchar*

Message UID.

flags: guint32

Camel Message info flags.

msg_type: guint32

Unused.

dirty: guint32

Whether the message info requires upload to the server; it corresponds to #CAMEL_MESSAGE_FOLDER_FLAGGED.

size: guint32

Size of the mail.

dsent: gint64

Date sent.

dreceived: gint64

Date received.

subject: const gchar*

Subject of the mail.

from: const gchar*

Sender.

to: const gchar*

Recipient.

cc: const gchar*

CC members.

mlist: const gchar*

Message list headers.

part: gchar*

Part / references / thread id.

labels: gchar*

Labels of mails also called as userflags.

usertags: gchar*

Composite string of user tags.

cinfo: gchar*

Content info string - composite string.

bdata: gchar*

Provider specific data.

userheaders: gchar*

Value for user-defined message headers.

preview: gchar*

Message body preview.

Available since: 3.58

Instance methods

camel_store_db_message_record_clear

Frees dynamically allocated data in the self, but not the self itself, and sets all members to zeros or equivalent. Does nothing when self is NULL. It can be called on the structure passed to the camel_store_db_read_message().

unstable since: 3.58