view src/lib-imap/imap-bodystructure.h @ 986:efca64f75e62 HEAD

comment update
author Timo Sirainen <tss@iki.fi>
date Mon, 20 Jan 2003 15:54:42 +0200
parents fd8888f6f037
children c07b98265577
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. pool is used only
   for allocating message_part, not the return value which is from data
   stack. */
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