Annotation of libwww/Library/src/HTGuess.html, revision 2.12
2.1 luotonen 1: <HTML>
2: <HEAD>
2.10 frystyk 3: <TITLE>Guessing Stream</TITLE>
2.12 ! frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 14-Nov-1995 -->
2.1 luotonen 5: </HEAD>
6: <BODY>
2.4 frystyk 7:
2.1 luotonen 8: <H1>Content-Type Guesser</H1>
9:
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>
16:
2.1 luotonen 17: This stream is a one that reads first a chunk of stuff, tries to
2.12 ! frystyk 18: figure out the format, and calls <CODE>HTStreamStack()</CODE>. This is
! 19: a kind of lazy-evaluation of <CODE>HTStreamStack()</CODE>. <P>
2.1 luotonen 20:
21: This could be extended arbitrarily to recognize all the possible
22: file formats in the world, if someone only had time to do it. <P>
23:
2.4 frystyk 24: This module is implemented by <A HREF="HTGuess.c">HTGuess.c</A>, and
2.12 ! frystyk 25: it is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C
! 26: Reference Library</A>.
2.1 luotonen 27:
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 */
38:
39: </PRE>
40: End of file <CODE>HTGuess.h</CODE>.
41: </BODY>
42: </HTML>
Webmaster