earlybrowserreborn - Blame information for rev 1

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