#ifndef IMAP_METADATA_H
#define IMAP_METADATA_H
struct imap_metadata_iter;
struct imap_metadata_transaction;
/* Checks whether IMAP metadata entry name is valid */
/* Set IMAP metadata entry to value. */
/* Delete IMAP metadata entry. This is just a wrapper to
imap_metadata_set() with value->value=NULL. */
const char *entry);
/* Returns value for IMAP metadata entry. Returns 1 if value was returned,
0 if value wasn't found (set to NULL), -1 if error */
/* Same as imap_metadata_get(), but the returned value may be either an
input stream or a string. */
/* Iterate through IMAP metadata entries names under the specified entry. */
struct imap_metadata_iter *
const char *entry);
/* Returns the next IMAP metadata entry name or NULL if there are no more
entries. */
struct imap_metadata_transaction *
struct imap_metadata_transaction *
const char *mailbox);
struct imap_metadata_transaction *
struct imap_metadata_transaction **_imtrans,
struct imap_metadata_transaction **_imtrans);
const char *
struct imap_metadata_transaction *imtrans,
enum mail_error *error_code_r);
#endif