view src/lib-imap/imap-quote.h @ 956:26cafa3dc09c HEAD

minor optimization
author Timo Sirainen <tss@iki.fi>
date Sun, 12 Jan 2003 01:49:45 +0200
parents fd8888f6f037
children 4044c2903ed7
line wrap: on
line source

#ifndef __IMAP_QUOTE_H
#define __IMAP_QUOTE_H

/* If value is non-NULL, return it "quoted", otherwise return NIL unquoted. */
const char *imap_quote_str_nil(const char *value);

/* Return value quoted and allocated from specified pool. */
char *imap_quote_value(pool_t pool, const unsigned char *value,
		       size_t value_len);

#endif