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

minor optimization
author Timo Sirainen <tss@iki.fi>
date Sun, 12 Jan 2003 01:49:45 +0200
parents 4f697dde0fca
children c8fa857c4e08
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.

   is_reply_or_forward is set to TRUE if message looks like reply or forward,
   according to draft-ietf-imapext-thread-12 rules. */
const char *imap_get_base_subject_cased(pool_t pool, const char *subject,
					int *is_reply_or_forward);

#endif