Mercurial > pidgin
annotate src/html.h @ 6964:88207c8a4b20
[gaim-migrate @ 7511]
May as well commit my news.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Thu, 25 Sep 2003 02:24:35 +0000 |
| parents | 66dd420d3d23 |
| children | 2343c3aa1dec |
| rev | line source |
|---|---|
| 6115 | 1 /** |
| 2 * @file html.h HTML Utility API | |
| 3 * @ingroup core | |
| 4 * | |
| 5 * gaim | |
| 6 * | |
| 7 * Copyright (C) 2003 Christian Hammond <chipx86@gnupdate.org> | |
|
6885
66dd420d3d23
[gaim-migrate @ 7431]
Christian Hammond <chipx86@chipx86.com>
parents:
6516
diff
changeset
|
8 * |
| 6115 | 9 * This program is free software; you can redistribute it and/or modify |
| 10 * it under the terms of the GNU General Public License as published by | |
| 11 * the Free Software Foundation; either version 2 of the License, or | |
| 12 * (at your option) any later version. | |
| 13 * | |
| 14 * This program is distributed in the hope that it will be useful, | |
| 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 * GNU General Public License for more details. | |
| 18 * | |
| 19 * You should have received a copy of the GNU General Public License | |
| 20 * along with this program; if not, write to the Free Software | |
| 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 */ | |
| 23 #ifndef _GAIM_HTML_H_ | |
| 24 #define _GAIM_HTML_H_ | |
| 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), | |
| 6516 | 34 gpointer data, char *, int); |
| 6115 | 35 |
| 36 gchar *strip_html(const gchar *text); | |
| 37 void html_to_xhtml(const char *html, char **xhtml_out, char **plain_out); | |
| 38 struct g_url *parse_url(char *url); | |
| 6514 | 39 int info_extract_field(char *, char *, char *, int, |
| 40 char *, char, char *, char *, int, char *); | |
| 6115 | 41 |
| 42 #endif /* _GAIM_HTML_H_ */ |
