Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-imap/imap-base-subject.h @ 898:0d5be52d7131 HEAD
Use unsigned char* when accessing non-NUL terminating strings. Compiler
warnings would then notify about accidentally passing them to functions which
require them NUL-terminated. Changed a few functions to use void* to avoid
unneeded casting.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 04 Jan 2003 19:26:29 +0200 |
parents | ab093fefe04b |
children | fd8888f6f037 |
line wrap: on
line source
#ifndef __IMAP_BASE_SUBJECT_H #define __IMAP_BASE_SUBJECT_H /* Returns the base subject of the given string, according to draft-ietf-imapext-sort-10. String is returned so that it's suitable for strcmp() comparing with another base subject. */ const char *imap_get_base_subject_cased(Pool pool, const char *subject); #endif