comparison src/prpl.h @ 5136:381da05cb5ed

[gaim-migrate @ 5500] this started out as simply adding an option to right-click on a jabber buddy and re-request authorization. Then I ended up chasing the disgusting mess of const vs non-const parameters all over gaim. The end result is that you can now right-click on jabber buddies and re-request auth like you can for ICQ. Also, a lot more things are const that should be, I fixed a bug or two, and I cleaned up one of my least favorite functions in gaim (linkify_text). It is now decidedly less evil. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 15 Apr 2003 04:18:00 +0000
parents 4691c5936c01
children 6a9a76870779
comparison
equal deleted inserted replaced
5135:102135caa225 5136:381da05cb5ed
206 GList *(* actions)(struct gaim_connection *gc); 206 GList *(* actions)(struct gaim_connection *gc);
207 /* user_splits is a GList of g_malloc'd struct proto_user_split */ 207 /* user_splits is a GList of g_malloc'd struct proto_user_split */
208 GList *user_splits; 208 GList *user_splits;
209 /* user_opts is a GList* of g_malloc'd struct proto_user_opts */ 209 /* user_opts is a GList* of g_malloc'd struct proto_user_opts */
210 GList *user_opts; 210 GList *user_opts;
211 GList *(* buddy_menu)(struct gaim_connection *, char *); 211 GList *(* buddy_menu)(struct gaim_connection *, const char *);
212 GList *(* chat_info)(struct gaim_connection *); 212 GList *(* chat_info)(struct gaim_connection *);
213 213
214 /* All the server-related functions */ 214 /* All the server-related functions */
215 215
216 /* 216 /*
220 * can set your dir info, the ui shows a dialog and needs to call 220 * can set your dir info, the ui shows a dialog and needs to call
221 * set_dir in order to set it) 221 * set_dir in order to set it)
222 */ 222 */
223 void (* login) (struct gaim_account *); 223 void (* login) (struct gaim_account *);
224 void (* close) (struct gaim_connection *); 224 void (* close) (struct gaim_connection *);
225 int (* send_im) (struct gaim_connection *, char *who, char *message, 225 int (* send_im) (struct gaim_connection *, const char *who, const char *message,
226 int len, int away); 226 int len, int away);
227 void (* set_info) (struct gaim_connection *, char *info); 227 void (* set_info) (struct gaim_connection *, char *info);
228 int (* send_typing) (struct gaim_connection *, char *name, int typing); 228 int (* send_typing) (struct gaim_connection *, char *name, int typing);
229 void (* get_info) (struct gaim_connection *, char *who); 229 void (* get_info) (struct gaim_connection *, const char *who);
230 void (* set_away) (struct gaim_connection *, char *state, char *message); 230 void (* set_away) (struct gaim_connection *, char *state, char *message);
231 void (* get_away) (struct gaim_connection *, char *who); 231 void (* get_away) (struct gaim_connection *, const char *who);
232 void (* set_dir) (struct gaim_connection *, const char *first, 232 void (* set_dir) (struct gaim_connection *, const char *first,
233 const char *middle, 233 const char *middle,
234 const char *last, 234 const char *last,
235 const char *maiden, 235 const char *maiden,
236 const char *city, 236 const char *city,
237 const char *state, 237 const char *state,
238 const char *country, 238 const char *country,
239 int web); 239 int web);
240 void (* get_dir) (struct gaim_connection *, char *who); 240 void (* get_dir) (struct gaim_connection *, const char *who);
241 void (* dir_search) (struct gaim_connection *, const char *first, 241 void (* dir_search) (struct gaim_connection *, const char *first,
242 const char *middle, 242 const char *middle,
243 const char *last, 243 const char *last,
244 const char *maiden, 244 const char *maiden,
245 const char *city, 245 const char *city,