comparison src/html.h @ 7094:2343c3aa1dec

[gaim-migrate @ 7659] grab_url() and parse_url() are gone, replaced with gaim_url_fetch() and gaim_url_parse(). They were also moved to util.[ch]. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 03:01:25 +0000
parents 66dd420d3d23
children
comparison
equal deleted inserted replaced
7093:3650612c7daa 7094:2343c3aa1dec
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 */ 22 */
23 #ifndef _GAIM_HTML_H_ 23 #ifndef _GAIM_HTML_H_
24 #define _GAIM_HTML_H_ 24 #define _GAIM_HTML_H_
25 25
26 struct g_url {
27 char address[255];
28 int port;
29 char page[255];
30 };
31
32 void grab_url(char *url, gboolean full,
33 void (*callback)(gpointer, char *, unsigned long),
34 gpointer data, char *, int);
35
36 gchar *strip_html(const gchar *text); 26 gchar *strip_html(const gchar *text);
37 void html_to_xhtml(const char *html, char **xhtml_out, char **plain_out); 27 void html_to_xhtml(const char *html, char **xhtml_out, char **plain_out);
38 struct g_url *parse_url(char *url); 28 int info_extract_field(const char *, char *, char *, int,
39 int info_extract_field(char *, char *, char *, int,
40 char *, char, char *, char *, int, char *); 29 char *, char, char *, char *, int, char *);
41 30
42 #endif /* _GAIM_HTML_H_ */ 31 #endif /* _GAIM_HTML_H_ */