Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-imap/imap-util.h @ 9595:166a188f9165 HEAD
mbox: Fields weren't being added to cache file during message saving.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 30 Jul 2010 16:55:58 +0100 |
parents | 743cc6ff3d89 |
children |
line wrap: on
line source
#ifndef IMAP_UTIL_H #define IMAP_UTIL_H #include "seq-range-array.h" enum mail_flags; struct imap_arg; /* Write flags as a space separated string. */ void imap_write_flags(string_t *dest, enum mail_flags flags, const char *const *keywords); /* Write sequence range as IMAP sequence-set */ void imap_write_seq_range(string_t *dest, const ARRAY_TYPE(seq_range) *array); /* Write IMAP args to given string. The string is mainly useful for humans. */ void imap_write_args(string_t *dest, const struct imap_arg *args); /* Like imap_write_args(), but return the string allocated from data stack. */ const char *imap_args_to_str(const struct imap_arg *args); #endif