parsemime.h

来自「vc环境下的pgp源码」· C头文件 代码 · 共 53 行

H
53
字号
/*____________________________________________________________________________
	Copyright (C) 1998 Network Associates, Inc.
	All rights reserved.

	$Id: ParseMime.h,v 1.2 1999/03/10 02:46:37 heller Exp $
____________________________________________________________________________*/
#ifndef Included_ParseMime_h	/* [ */
#define Included_ParseMime_h

#include "pgpConfig.h"
#include "pgpErrors.h"

typedef enum _MimeContentType
{
	ContentType_TextPlain,
	ContentType_TextHTML,
	ContentType_MultipartMixed,
	ContentType_MultipartAlternative,
	ContentType_Other
} MimeContentType;

typedef struct MimePart	MimePart;

struct MimePart
{
	MimePart *	nextPart;
	MimePart *	previousPart;

	char *				szHeader;
	char *				szBody;
	char *				szFooter;
	UINT				nHeaderLength;
	UINT				nBodyLength;
	UINT				nFooterLength;
	MimeContentType		nContentType;
};


PGPError ParseMime(char *szInput, MimePart **ppMimeList);


#endif /* ] Included_ParseMime_h */


/*__Editor_settings____

	Local Variables:
	tab-width: 4
	End:
	vi: ts=4 sw=4
	vim: si
_____________________*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?