⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htmulpar.h

📁 www工具包. 这是W3C官方支持的www支撑库. 其中提供通用目的的客户端的WebAPI: complete HTTP/1.1 (with caching, pipelining, PUT, POS
💻 H
字号:
/*					W3C Sample Code Library libwww MIME MULTIPART STREAM!MIME Multipart Stream Definition!*//***	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.*//*This module is a part of the  W3C Sample Code Library.*/#ifndef HTMULPAR_H#define HTMULPAR_H#include "HTStream.h"#include "HTList.h"/*The MIME multipart stream is used to parse MIME multipart messages. Itworks a bit like a structured stream in that it has some methods tobegin and end MIME body just as a structured stream has methods forbeginning and ending tags. The HTMultipart stream is a subclass of a Generic Stream Object. As always, we don'thave classes in basic C so we have to do this by hand! */typedef struct _HTMultipart HTMultipart;typedef struct _HTMultipartClass {    char * name;    int (*flush)	(HTMultipart *	me);    int (*_free)	(HTMultipart *	me);    int (*abort)	(HTMultipart *	me, HTList * errorlist);    int (*put_character)(HTMultipart *	me, char ch);    int (*put_string)	(HTMultipart *	me, const char * str);    int (*put_block)	(HTMultipart *	me, const char * str, int len);/*See the Generic Stream Definition for anexplanation of these methods. Note that they all have aHTMultipart object a the parameter, not a genericstream. This is to avoid incompatible pointer warnings*/    int (*begin_part)	(HTMultipart *	me, const char * boundary);    int (*end_part)	(HTMultipart *	me);    int (*preamble)	(HTMultipart *	me, const char * pre);    int (*epilogue)	(HTMultipart *	me, const char * epi);		} HTMultipartClass;#endif/*@(#) $Id: HTMulpar.html,v 2.6 1998/05/14 02:10:46 frystyk Exp $*/

⌨️ 快捷键说明

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