Top | ![]() |
![]() |
![]() |
![]() |
CamelIMAPXStatusResponse * | camel_imapx_status_response_new () |
const gchar * | camel_imapx_status_response_get_mailbox_name () |
guint32 | camel_imapx_status_response_get_messages () |
guint32 | camel_imapx_status_response_get_recent () |
guint32 | camel_imapx_status_response_get_unseen () |
guint32 | camel_imapx_status_response_get_uidnext () |
guint32 | camel_imapx_status_response_get_uidvalidity () |
guint64 | camel_imapx_status_response_get_highestmodseq () |
CamelIMAPXStatusResponse encapsulates an IMAP STATUS response, which describes the current status of a mailbox in terms of various message counts and change tracking indicators.
CamelIMAPXStatusResponse * camel_imapx_status_response_new (CamelIMAPXStream *stream
,gchar inbox_separator
,GCancellable *cancellable
,GError **error
);
Attempts to parse an IMAP STATUS response from stream
and, if successful,
stores the response data in a new CamelIMAPXStatusResponse. If an error
occurs, the function sets error
and returns NULL
.
Since 3.10
const gchar *
camel_imapx_status_response_get_mailbox_name
(CamelIMAPXStatusResponse *response
);
Returns the mailbox name for response
.
Since 3.10
guint32
camel_imapx_status_response_get_messages
(CamelIMAPXStatusResponse *response
);
Returns the number of messages in the mailbox.
Since 3.10
guint32
camel_imapx_status_response_get_recent
(CamelIMAPXStatusResponse *response
);
Returns the number of messages with the \Recent flag set.
Since 3.10
guint32
camel_imapx_status_response_get_unseen
(CamelIMAPXStatusResponse *response
);
Returns the number of messages which do no have the \Seen flag set.
Since 3.10
guint32
camel_imapx_status_response_get_uidnext
(CamelIMAPXStatusResponse *response
);
Return the next unique identifier value of the mailbox.
Since 3.10
guint32
camel_imapx_status_response_get_uidvalidity
(CamelIMAPXStatusResponse *response
);
Returns the unique identifier validity value of the mailbox.
Since 3.10
guint64
camel_imapx_status_response_get_highestmodseq
(CamelIMAPXStatusResponse *response
);
Returns the highest mod-sequence value of all messages in the mailbox, or zero if the server does not support the persistent storage of mod-sequences for the mailbox.
Since 3.10