view src/lib-imap/imap-base-subject.h @ 9266:cd29b745c8dd HEAD

configure: clock_gettime()'s -lrt adding dropped everything else from $LIBS.
author Timo Sirainen <>
date Mon, 27 Jul 2009 06:32:42 -0400
parents e4eb71ae8e96
line wrap: on
line source


/* 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,
					bool *is_reply_or_forward_r);