Annotation of libwww/Library/src/HTMIMImp.html, revision 2.12

2.1       frystyk     1: <HTML>
                      2: <HEAD>
2.5       frystyk     3:   <!-- Changed by: Henrik Frystyk Nielsen,  1-Jul-1996 -->
2.7       frystyk     4:   <TITLE>W3C Sample Code Library libwww Default MIME/RFC822 Header Parsers</TITLE>
2.1       frystyk     5: </HEAD>
                      6: <BODY>
                      7: <H1>
2.5       frystyk     8:   Default MIME/RFC822 Header Parsers
2.1       frystyk     9: </H1>
                     10: <PRE>
                     11: /*
                     12: **     (c) COPYRIGHT MIT 1995.
                     13: **     Please first read the full copyright statement in the file COPYRIGH.
                     14: */
                     15: </PRE>
                     16: <P>
                     17: The Library's MIME parser is divided into two parts: A generic MIME parser
                     18: that knows how to unwrap all RFC822 headers and specialized header parsers
                     19: that knows how to parse <CODE>Content-Length</CODE>, for example. This is
                     20: the default set of the specialized MIME header parsers that can be registered
                     21: as part of the generic MIME. Note that these functions are not registered
                     22: by default - they must be registered by the application. This can be done
                     23: using the <A HREF="HTInit.html">HTMIMEInit()</A> function in the
                     24: <A HREF="WWWInit.html">WWWInit interface</A>. Of course this can also be
                     25: used to register new headers that are not represented below - or if you want
                     26: to replace a default parser then this is also very easy.
                     27: <P>
                     28: This module is implemented by <A HREF="HTMIMImp.c">HTMIMImp.c</A>, and it
2.10      frystyk    29: is a part of the <A HREF="http://www.w3.org/Library/"> W3C Sample Code
2.1       frystyk    30: Library</A>.
                     31: <PRE>
                     32: #ifndef HTMIMIMP_H
                     33: #define HTMIMIMP_H
                     34: 
                     35: #include "HTReq.h"
                     36: #include "HTHeader.h"
2.12    ! vbancrof   37: 
        !            38: #ifdef __cplusplus
        !            39: extern "C" { 
        !            40: #endif 
2.1       frystyk    41: </PRE>
                     42: <PRE>
                     43: extern HTParserCallback 
                     44:        HTMIME_accept, 
                     45:        HTMIME_acceptCharset, 
                     46:        HTMIME_acceptEncoding, 
                     47:        HTMIME_acceptLanguage, 
                     48:        HTMIME_acceptRanges, 
2.5       frystyk    49:        HTMIME_authenticate,
2.11      kahan      50:        HTMIME_authenticationInfo,
2.1       frystyk    51:        HTMIME_authorization,
                     52:        HTMIME_cacheControl,
                     53:        HTMIME_connection, 
                     54:        HTMIME_contentEncoding, 
2.5       frystyk    55:        HTMIME_contentLength,
2.1       frystyk    56:        HTMIME_contentRange,
                     57:        HTMIME_contentTransferEncoding, 
                     58:        HTMIME_contentType,
2.6       eric       59:        HTMIME_keepAlive,
2.1       frystyk    60:        HTMIME_link,
                     61:        HTMIME_location,
                     62:        HTMIME_maxForwards, 
2.5       frystyk    63:        HTMIME_messageDigest,
2.1       frystyk    64:        HTMIME_pragma,
2.5       frystyk    65:        HTMIME_protocol,
                     66:        HTMIME_protocolInfo,
                     67:        HTMIME_protocolRequest,
2.1       frystyk    68:        HTMIME_proxyAuthorization,
2.11      kahan      69:        HTMIME_proxyAuthenticationInfo,
2.1       frystyk    70:        HTMIME_public,
                     71:        HTMIME_range,
                     72:        HTMIME_referer,
                     73:        HTMIME_retryAfter, 
2.2       frystyk    74:        HTMIME_server, 
2.8       frystyk    75:         HTMIME_trailer,
2.9       frystyk    76:        HTMIME_transferEncoding,
2.1       frystyk    77:        HTMIME_upgrade,
                     78:        HTMIME_userAgent,
                     79:        HTMIME_vary,
                     80:        HTMIME_via,
2.5       frystyk    81:        HTMIME_warning;
2.1       frystyk    82: </PRE>
                     83: <PRE>
2.12    ! vbancrof   84: #ifdef __cplusplus
        !            85: }
2.1       frystyk    86: #endif
2.12    ! vbancrof   87: 
        !            88: #endif  /* HTMIMIMP_H */
2.1       frystyk    89: </PRE>
                     90: <P>
                     91:   <HR>
                     92: <ADDRESS>
2.12    ! vbancrof   93:   @(#) $Id: HTMIMImp.html,v 2.11 1998/12/16 10:59:08 kahan Exp $
2.1       frystyk    94: </ADDRESS>
                     95: </BODY></HTML>

Webmaster