File: HTGuess.h

package info (click to toggle)
cern-httpd 3.0A-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,392 kB
  • ctags: 6,554
  • sloc: ansic: 37,902; makefile: 1,746; perl: 535; csh: 167; sh: 143
file content (32 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*                                                  HTGuess: Guess content-type from a stream
                                   CONTENT-TYPE GUESSER
                                             
   This stream is a one that reads first a chunk of stuff, tries to figure out the format,
   and calls HTStreamStack().  This is a kind of lazy-evaluation of HTStreamStack().
   
   This could be extended arbitrarily to recognize all the possible file formats in the
   world, if someone only had time to do it.
   
   Part of libwww. Implemented by HTGuess.c.
   
 */

#ifndef HTGUESS_H
#define HTGUESS_H

#include "HTStream.h"
#include <stdio.h>
#include "HTFormat.h"

#ifdef SHORT_NAMES
#define HTGuess_new     HTGuessN
#endif

PUBLIC HTStream * HTGuess_new PARAMS((HTRequest * req));


#endif  /* !HTGUESS_H */

/*

   End of file HTGuess.h.  */