view src/lib-imap/imap-base-subject.h @ 2411:c8fa857c4e08 HEAD

Drop using buffer_set_start_pos(). Also some coding style cleanups.
author Timo Sirainen <tss@iki.fi>
date Sat, 31 Jul 2004 23:19:39 +0300
parents 4f697dde0fca
children 55df57c028d4
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_r);

#endif