Annotation of libwww/Library/src/HTMIME.html, revision 2.6

2.6     ! timbl       1: <HTML>
        !             2: <HEAD>
        !             3: <TITLE>/Net/dxcern/userd/timbl/hypertext/WWW/Library/Implementation/HTMIME.html</TITLE>
        !             4: <NEXTID N="z2">
        !             5: </HEAD>
        !             6: <BODY>
        !             7: <H1>MIME Parser</H1>The MIME parser stream presents a
        !             8: MIME document. It recursively invokes
        !             9: the format manager to handle embedded
        !            10: formats.<P>
        !            11: As well as stripping off and parsing
        !            12: the headers, the MIME parser has
        !            13: to parse any weirld MIME encodings
        !            14: it may meet within the body parts
        !            15: of messages, and must deal with multipart
        !            16: messages. <P>
        !            17: This module is implemented to the
        !            18: level necessary for operation with
        !            19: WWW, but is not currently complete
        !            20: for any arbitrary MIME message.<P>
        !            21: Check the <A
        !            22: NAME="z0" HREF="HTMIME.c">source</A> for latest additions
        !            23: to functionality.<P>
        !            24: The MIME parser is complicated by
        !            25: the fact that WWW allows real binary
        !            26: to be sent, not ASCII encoded.  Therefore
        !            27: the netascii decoding is included
        !            28: in this module. One cannot layer
        !            29: it by converting first from Net to
        !            30: local text, then decoding it. Of
        !            31: course, for local files, the net
        !            32: ascii decoding is not needed.  There
        !            33: are therefore two creation routines.
        !            34: <PRE>#ifndef HTMIME_H
2.1       timbl      35: #define HTMIME_H
                     36: 
                     37: #include "HTStream.h"
                     38: #include "HTAnchor.h"
                     39: 
2.6     ! timbl      40: </PRE>
        !            41: <H3>Input: Local text</H3>
        !            42: <PRE>extern HTStream * HTMIMEConvert PARAMS((HTPresentation * pres,
        !            43:                                        HTParentAnchor * anchor,
        !            44:                                        HTStream * sink));
        !            45: </PRE>
        !            46: <H3>Input: Net ASCII</H3>
        !            47: <PRE>extern HTStream * HTNetMIME PARAMS((HTPresentation * pres,
2.1       timbl      48:                                        HTParentAnchor * anchor,
                     49:                                        HTStream * sink));
                     50: 
                     51: 
                     52: #endif
                     53: 
2.6     ! timbl      54: </PRE>end of HTMIME</A></BODY>
        !            55: </HTML>

Webmaster