view src/lib-imap/imap-bodystructure.h @ 903:fd8888f6f037 HEAD

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt.
author Timo Sirainen <tss@iki.fi>
date Sun, 05 Jan 2003 15:09:51 +0200
parents f57c52738f90
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