Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-mail/message-body-search.h @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | f57c52738f90 |
children | 8028c4dcf38f |
line wrap: on
line source
#ifndef __MESSAGE_BODY_SEARCH_H #define __MESSAGE_BODY_SEARCH_H struct message_part; /* Returns 1 if key is found from input buffer, 0 if not and -1 if error. There's two possible errors: either the charset is unknown or the key is invalid. If charset is NULL, the key isn't assumed to be in any specific charset but is compared to message data without any translation. */ int message_body_search(const char *key, const char *charset, int *unknown_charset, struct istream *input, struct message_part *part, int search_header); #endif