Annotation of libwww/Library/src/HTGuess.html, revision 2.13
2.1 luotonen 1: <HTML>
2: <HEAD>
2.10 frystyk 3: <TITLE>Guessing Stream</TITLE>
2.13 ! frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 1-Feb-1996 -->
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.13 ! frystyk 17: This interface provides functionality for guessing unknown media types
! 18: from magic words. The stream is a one that reads first a chunk of
! 19: stuff, tries to figure out the format, and calls
! 20: <CODE>HTStreamStack()</CODE>. This is a kind of lazy-evaluation of
! 21: <CODE>HTStreamStack()</CODE>. <P>
2.1 luotonen 22:
23: This could be extended arbitrarily to recognize all the possible
24: file formats in the world, if someone only had time to do it. <P>
25:
2.4 frystyk 26: This module is implemented by <A HREF="HTGuess.c">HTGuess.c</A>, and
2.12 frystyk 27: it is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C
28: Reference Library</A>.
2.1 luotonen 29:
30: <PRE>
31: #ifndef HTGUESS_H
32: #define HTGUESS_H
33:
34: #include "HTStream.h"
35: #include "HTFormat.h"
36:
2.12 frystyk 37: extern HTConverter HTGuess_new;
2.1 luotonen 38:
39: #endif /* !HTGUESS_H */
40:
41: </PRE>
42: End of file <CODE>HTGuess.h</CODE>.
43: </BODY>
44: </HTML>
Webmaster