Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/hex-binary.h @ 1329:ae229b7acb4c HEAD
Mailbox names are now sent through imap-quoter instead of just escaping it.
This means that mailbox names that would require escapes are instead sent
as literals now.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 02 Apr 2003 05:05:38 +0300 |
parents | fd8888f6f037 |
children | 05b8b6963b02 |
line wrap: on
line source
#ifndef __HEX_BINARY_H #define __HEX_BINARY_H /* Convert binary to lowercased hex digits allocating return value from data stack */ const char *binary_to_hex(const unsigned char *data, size_t size); /* Convert hex to binary. data and dest may point to same value. Returns TRUE if successful. Returns 1 if all ok, 0 if dest buffer got full or -1 if data is invalid. */ int hex_to_binary(const char *data, buffer_t *dest); #endif