Annotation of libwww/Library/src/HTGuess.html, revision 2.10
2.1 luotonen 1: <HTML>
2: <HEAD>
2.10 ! frystyk 3: <TITLE>Guessing Stream</TITLE>
! 4: <!-- Changed by: Henrik Frystyk Nielsen, 14-Aug-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
18: figure out the format, and calls <CODE>HTStreamStack()</CODE>. This
19: is a kind of lazy-evaluation of <CODE>HTStreamStack()</CODE>. <P>
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
25: it is a part of the <A
2.9 frystyk 26: HREF="http://www.w3.org/hypertext/WWW/Library/">
27: W3C Reference Library</A>.
2.1 luotonen 28:
29: <PRE>
30: #ifndef HTGUESS_H
31: #define HTGUESS_H
32:
33: #include "HTStream.h"
34: #include "HTFormat.h"
35:
2.3 frystyk 36: extern HTStream * HTGuess_new PARAMS((HTRequest * req,
2.2 frystyk 37: void * param,
38: HTFormat input_format,
39: HTFormat output_format,
40: HTStream * output_stream));
2.1 luotonen 41:
42:
43: #endif /* !HTGUESS_H */
44:
45: </PRE>
46: End of file <CODE>HTGuess.h</CODE>.
47: </BODY>
48: </HTML>
Webmaster