summaryrefslogtreecommitdiff
path: root/dbmail-message.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbmail-message.h')
-rw-r--r--dbmail-message.h3
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)