comparison src/html.c @ 2662:b0c5770156e1

[gaim-migrate @ 2675] everything changed! not really. actually to be quite honest nothing changed. it's really bad that all of these files use prpl references. most of them shouldn't. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 02 Nov 2001 01:41:37 +0000
parents 34812d648f72
children dd78d89c910b
comparison
equal deleted inserted replaced
2661:5e9a033f04fa 2662:b0c5770156e1
111 sscanf(port, "%d", &test->port); 111 sscanf(port, "%d", &test->port);
112 return test; 112 return test;
113 } 113 }
114 114
115 struct grab_url_data { 115 struct grab_url_data {
116 void (*callback)(gpointer, char *); 116 void (* callback)(gpointer, char *);
117 gpointer data; 117 gpointer data;
118 struct g_url *website; 118 struct g_url *website;
119 char *url; 119 char *url;
120 gboolean full; 120 gboolean full;
121 121
200 g_free(gunk->url); 200 g_free(gunk->url);
201 g_free(gunk); 201 g_free(gunk);
202 } 202 }
203 } 203 }
204 204
205 void grab_url(char *url, gboolean full, void (*callback)(gpointer, char *), gpointer data) 205 void grab_url(char *url, gboolean full, void callback(gpointer, char *), gpointer data)
206 { 206 {
207 int sock; 207 int sock;
208 struct grab_url_data *gunk = g_new0(struct grab_url_data, 1); 208 struct grab_url_data *gunk = g_new0(struct grab_url_data, 1);
209 209
210 gunk->callback = callback; 210 gunk->callback = callback;