Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
HTMIME.h
Package: arena-beta-2b-src.tar.gz [view]
Upload User: zlh9724
Upload Date: 2007-01-04
Package Size: 1991k
Code Size: 2k
Category:
Browser Client
Development Platform:
Unix_Linux
- /* RFC822 Header Parser
- MIME PARSER
- */
- /*
- ** (c) COPYRIGHT MIT 1995.
- ** Please first read the full copyright statement in the file COPYRIGH.
- */
- /*
- The MIME parser stream presents a MIME document. It recursively invokes the format
- manager to handle embedded formats.
- As well as stripping off and parsing the headers, the MIME parser has to parse any
- weirld MIME encodings it may meet within the body parts of messages, and must deal with
- multipart messages.
- This module is implemented to the level necessary for operation with WWW, but is not
- currently complete for any arbitrary MIME message.
- Check the source for latest additions to functionality.
- The MIME parser is complicated by the fact that WWW allows real binary to be sent, not
- ASCII encoded. Therefore the netascii decoding is included in this module. One cannot
- layer it by converting first from Net to local text, then decoding it. Of course, for
- local files, the net ascii decoding is not needed. There are therefore two creation
- routines.
- This module is implemented by HTMIME.c, and it is a part of the W3C Reference Library.
- */
- #ifndef HTMIME_H
- #define HTMIME_H
- #include "HTStream.h"
- #include "HTFormat.h"
- /*
- Stream Converters in this Module
- MIME HEADER PARSER STREAM
- This stream parses a complete MIME header and if a content type header is found then
- the stream stack is called. Any left over data is pumped right through the stream.
- */
- extern HTConverter HTMIMEConvert;
- /*
- MIME HEADER ONLY PARSER STREAM
- This stream parses a complete MIME header and then returnes HT_PAUSE. It does not set
- up any streams and resting data stays in the buffer. This can be used if you only want
- to parse the headers before you decide what to do next. This is for example the case in
- a server app.
- */
- extern HTConverter HTMIMEHeader;
- /*
- */
- #endif
- /*
- End of HTMIME declaration */