Annotation of libwww/Library/src/HTGuess.html, revision 2.17

2.1       luotonen    1: <HTML>
                      2: <HEAD>
2.16      frystyk     3:   <!-- Changed by: Henrik Frystyk Nielsen, 23-Mar-1996 -->
2.17    ! frystyk     4:   <TITLE>W3C Sample Code Library libwww Content-Type Guessing Stream</TITLE>
2.1       luotonen    5: </HEAD>
                      6: <BODY>
2.16      frystyk     7: <H1>
                      8:   Content-Type Guessing Stream
                      9: </H1>
2.4       frystyk    10: <PRE>
                     11: /*
2.8       frystyk    12: **     (c) COPYRIGHT MIT 1995.
2.4       frystyk    13: **     Please first read the full copyright statement in the file COPYRIGH.
                     14: */
                     15: </PRE>
2.16      frystyk    16: <P>
                     17: This interface provides functionality for guessing unknown media types from
                     18: magic words. The stream is a one that reads first a chunk of stuff, tries
                     19: to figure out the format, and calls <CODE>HTStreamStack()</CODE>. This is
                     20: a kind of lazy-evaluation of <CODE>HTStreamStack()</CODE>.
                     21: <P>
                     22: This could be extended arbitrarily to recognize all the possible file formats
                     23: in the world, if someone only had time to do it.
                     24: <P>
                     25: This module is implemented by <A HREF="HTGuess.c">HTGuess.c</A>, and it is
2.17    ! frystyk    26: a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C Sample Code
2.16      frystyk    27: Library</A>.
2.1       luotonen   28: <PRE>
                     29: #ifndef HTGUESS_H
                     30: #define HTGUESS_H
                     31: 
                     32: #include "HTStream.h"
                     33: #include "HTFormat.h"
                     34: 
2.12      frystyk    35: extern HTConverter HTGuess_new;
2.1       luotonen   36: 
                     37: #endif /* !HTGUESS_H */
2.15      frystyk    38: </PRE>
2.16      frystyk    39: <P>
                     40:   <HR>
2.15      frystyk    41: <ADDRESS>
2.17    ! frystyk    42:   @(#) $Id: HTGuess.html,v 2.16 1996/10/07 02:04:44 frystyk Exp $
2.15      frystyk    43: </ADDRESS>
2.16      frystyk    44: </BODY></HTML>

Webmaster