diff options
author | James Cloos <cloos@jhcloos.com> | 2010-10-19 12:51:48 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2010-10-19 12:58:58 -0400 |
commit | f84cd95ec0cfa009363c0b2c6f36f0fb1fb9eea8 (patch) | |
tree | 906e5fe271998bf30224510ec6ffdca46fdaca85 /dbmail-message.h | |
parent | cf3b344257d865174912ec685f7d92adfee16844 (diff) | |
parent | 6907dcb959f8d3b88ffbf614ba591f0c2bfa6f70 (diff) |
Use dense, per mailbox UIDs.denseuid
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'dbmail-message.h')
-rw-r--r-- | dbmail-message.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbmail-message.h b/dbmail-message.h index 979c105a..7240ad50 100644 --- a/dbmail-message.h +++ b/dbmail-message.h @@ -61,6 +61,7 @@ typedef enum DBMAIL_STREAM_TYPE { } dbmail_stream_t; struct DbmailMessage { + u64_t mailbox; u64_t id; u64_t physid; time_t internal_date; @@ -172,7 +173,7 @@ char * g_mime_object_get_body(const GMimeObject *object); * - 1 on success */ -struct DbmailMessage * db_init_fetch(u64_t msg_idnr, int filter); +struct DbmailMessage * db_init_fetch(u64_t mailbox_idnr, u64_t msg_idnr, int filter); #define db_init_fetch_headers(x) db_init_fetch(x,DBMAIL_MESSAGE_FILTER_HEAD) #define db_init_fetch_message(x) db_init_fetch(x,DBMAIL_MESSAGE_FILTER_FULL) |