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

minor optimization
author Timo Sirainen <tss@iki.fi>
date Sun, 12 Jan 2003 01:49:45 +0200
parents fd8888f6f037
children efca64f75e62
line wrap: on
line source

#ifndef __IMAP_BODYSTRUCTURE_H
#define __IMAP_BODYSTRUCTURE_H

struct message_part;

/* If *part is non-NULL, it's used as base for building the body structure.
   Otherwise it's set to the root message_part and parsed. */
const char *imap_part_get_bodystructure(pool_t pool, struct message_part **part,
					struct istream *input, int extended);

/* Return BODY part from BODYSTRUCTURE */
const char *imap_body_parse_from_bodystructure(const char *bodystructure);

#endif