]> sjero.net Git - wget/blob - src/html.h
[svn] * *.{gmo,po,pot}: Regenerated after modifying wget --help output.
[wget] / src / html.h
1 /* HTML parser declarations.
2    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
3
4 This file is part of Wget.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
19
20 #ifndef HTML_H
21 #define HTML_H
22
23 /* Structure of a parser state */
24 typedef struct
25 {
26   int at_value, in_quote;
27   char quote_char;
28   char *tag, *attr;
29   char *base;
30 } state_t;
31
32 struct fileinfo;
33
34 /* Function declarations */
35 const char *htmlfindurl PARAMS ((const char *, int, int *, int, int));
36 const char *html_base PARAMS ((void));
37 uerr_t ftp_index PARAMS ((const char *, struct urlinfo *, struct fileinfo *));
38
39 #endif /* HTML_H */