view src/lib-imap/imap-bodystructure.h @ 764:f57c52738f90 HEAD

Renamed IBuffer and OBuffer to IStream and OStream which describes their functionality better. I tried to keep the variable names and comments also sensible.
author Timo Sirainen <tss@iki.fi>
date Fri, 06 Dec 2002 03:09:22 +0200
parents 8179ef2a2c62
children fd8888f6f037
line wrap: on
line source

#ifndef __IMAP_BODYSTRUCTURE_H
#define __IMAP_BODYSTRUCTURE_H

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

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

#endif