Commit 6b6bd9cc 6b6bd9cc9d2ba319823be7dd7edb531d16cf41cd by Alain Magloire

* include/mailutils/message.h: New prototypes message_get_uid(),

message_set_get_uid().
* include/mailutils/mailbox.h: New prototypes mailbox_uidnext(),
mailbox_uidvalidity().
1 parent efd8da5e
......@@ -53,12 +53,15 @@ extern int mailbox_create_default __P ((mailbox_t *, const char *));
extern int mailbox_open __P ((mailbox_t, int flag));
extern int mailbox_close __P ((mailbox_t));
extern int mailbox_set_folder __P ((mailbox_t, folder_t));
extern int mailbox_uidvalidity __P ((mailbox_t, unsigned long *));
extern int mailbox_uidnext __P ((mailbox_t, size_t *));
/* Messages. */
extern int mailbox_get_message __P ((mailbox_t, size_t msgno, message_t *));
extern int mailbox_append_message __P ((mailbox_t, message_t));
extern int mailbox_messages_count __P ((mailbox_t, size_t *));
extern int mailbox_unseen_count __P ((mailbox_t, size_t *));
extern int mailbox_messages_recent __P ((mailbox_t, size_t *));
extern int mailbox_message_unseen __P ((mailbox_t, size_t *));
extern int mailbox_expunge __P ((mailbox_t));
/* Update and scanning. */
......
......@@ -98,10 +98,14 @@ extern int message_set_get_part __P ((message_t, int (*_get_part)
__P ((message_t, size_t,
message_t *)), void *owner));
extern int message_get_uid __P ((message_t, char *, size_t, size_t *));
extern int message_set_uid __P ((message_t, int (*_get_uid)
extern int message_get_uidl __P ((message_t, char *, size_t, size_t *));
extern int message_set_uidl __P ((message_t, int (*_get_uidl)
__P ((message_t, char *, size_t,
size_t *)), void *owner));
extern int message_get_uid __P ((message_t, size_t *));
extern int message_set_uid __P ((message_t, int (*_get_uid)
__P ((message_t, size_t *)),
void *owner));
/* misc functions */
extern int message_create_attachment __P ((const char *content_type,
......