Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-imap/imap-util.h @ 9532:00cd9aacd03c HEAD
Updated copyright notices to include year 2010.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 25 Jan 2010 01:18:58 +0200 |
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