comparison src/prpl.h @ 6059:d8cd876e613e

[gaim-migrate @ 6509] I made a lot of server.c functions use const chat * instead of const * Made the alias entry have focus in the alias buddy dialog. Fixed a typo thanks to J. Silvestri committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 08 Jul 2003 03:36:41 +0000
parents fccc33d4b8fa
children 5239a3b4ab33
comparison
equal deleted inserted replaced
6058:d5f4ae4f9a02 6059:d8cd876e613e
230 void (*login)(GaimAccount *); 230 void (*login)(GaimAccount *);
231 void (*close)(GaimConnection *); 231 void (*close)(GaimConnection *);
232 int (*send_im)(GaimConnection *, const char *who, 232 int (*send_im)(GaimConnection *, const char *who,
233 const char *message, int len, int away); 233 const char *message, int len, int away);
234 void (*set_info)(GaimConnection *, const char *info); 234 void (*set_info)(GaimConnection *, const char *info);
235 int (*send_typing)(GaimConnection *, char *name, int typing); 235 int (*send_typing)(GaimConnection *, const char *name, int typing);
236 void (*get_info)(GaimConnection *, const char *who); 236 void (*get_info)(GaimConnection *, const char *who);
237 void (*set_away)(GaimConnection *, char *state, char *message); 237 void (*set_away)(GaimConnection *, const char *state, const char *message);
238 void (*get_away)(GaimConnection *, const char *who); 238 void (*get_away)(GaimConnection *, const char *who);
239 void (*set_dir)(GaimConnection *, const char *first, 239 void (*set_dir)(GaimConnection *, const char *first,
240 const char *middle, const char *last, 240 const char *middle, const char *last,
241 const char *maiden, const char *city, 241 const char *maiden, const char *city,
242 const char *state, const char *country, int web); 242 const char *state, const char *country, int web);
249 void (*set_idle)(GaimConnection *, int idletime); 249 void (*set_idle)(GaimConnection *, int idletime);
250 void (*change_passwd)(GaimConnection *, const char *old_pass, 250 void (*change_passwd)(GaimConnection *, const char *old_pass,
251 const char *new_pass); 251 const char *new_pass);
252 void (*add_buddy)(GaimConnection *, const char *name); 252 void (*add_buddy)(GaimConnection *, const char *name);
253 void (*add_buddies)(GaimConnection *, GList *buddies); 253 void (*add_buddies)(GaimConnection *, GList *buddies);
254 void (*remove_buddy)(GaimConnection *, char *name, char *group); 254 void (*remove_buddy)(GaimConnection *, const char *name,
255 const char *group);
255 void (*remove_buddies)(GaimConnection *, GList *buddies, 256 void (*remove_buddies)(GaimConnection *, GList *buddies,
256 const char *group); 257 const char *group);
257 void (*add_permit)(GaimConnection *, const char *name); 258 void (*add_permit)(GaimConnection *, const char *name);
258 void (*add_deny)(GaimConnection *, const char *name); 259 void (*add_deny)(GaimConnection *, const char *name);
259 void (*rem_permit)(GaimConnection *, const char *name); 260 void (*rem_permit)(GaimConnection *, const char *name);
260 void (*rem_deny)(GaimConnection *, const char *name); 261 void (*rem_deny)(GaimConnection *, const char *name);
261 void (*set_permit_deny)(GaimConnection *); 262 void (*set_permit_deny)(GaimConnection *);
262 void (*warn)(GaimConnection *, char *who, int anonymous); 263 void (*warn)(GaimConnection *, const char *who, int anonymous);
263 void (*join_chat)(GaimConnection *, GHashTable *components); 264 void (*join_chat)(GaimConnection *, GHashTable *components);
264 void (*chat_invite)(GaimConnection *, int id, 265 void (*chat_invite)(GaimConnection *, int id,
265 const char *who, const char *message); 266 const char *who, const char *message);
266 void (*chat_leave)(GaimConnection *, int id); 267 void (*chat_leave)(GaimConnection *, int id);
267 void (*chat_whisper)(GaimConnection *, int id, 268 void (*chat_whisper)(GaimConnection *, int id,
268 char *who, char *message); 269 const char *who, const char *message);
269 int (*chat_send)(GaimConnection *, int id, char *message); 270 int (*chat_send)(GaimConnection *, int id, const char *message);
270 void (*keepalive)(GaimConnection *); 271 void (*keepalive)(GaimConnection *);
271 272
272 /* new user registration */ 273 /* new user registration */
273 void (*register_user)(GaimAccount *); 274 void (*register_user)(GaimAccount *);
274 275
275 /* get "chat buddy" info and away message */ 276 /* get "chat buddy" info and away message */
276 void (*get_cb_info)(GaimConnection *, int, char *who); 277 void (*get_cb_info)(GaimConnection *, int, const char *who);
277 void (*get_cb_away)(GaimConnection *, int, char *who); 278 void (*get_cb_away)(GaimConnection *, int, const char *who);
278 279
279 /* save/store buddy's alias on server list/roster */ 280 /* save/store buddy's alias on server list/roster */
280 void (*alias_buddy)(GaimConnection *, const char *who, 281 void (*alias_buddy)(GaimConnection *, const char *who,
281 const char *alias); 282 const char *alias);
282 283
289 const char *new_group, GList *members); 290 const char *new_group, GList *members);
290 291
291 void (*buddy_free)(struct buddy *); 292 void (*buddy_free)(struct buddy *);
292 293
293 /* this is really bad. */ 294 /* this is really bad. */
294 void (*convo_closed)(GaimConnection *, char *who); 295 void (*convo_closed)(GaimConnection *, const char *who);
295 296
296 char *(*normalize)(const char *); 297 char *(*normalize)(const char *);
297 298
298 void (*set_buddy_icon)(GaimConnection *, const char *filename); 299 void (*set_buddy_icon)(GaimConnection *, const char *filename);
299 }; 300 };