diff 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
line wrap: on
line diff
--- a/src/prpl.h	Tue Apr 15 03:45:31 2003 +0000
+++ b/src/prpl.h	Tue Apr 15 04:18:00 2003 +0000
@@ -208,7 +208,7 @@
 	GList *user_splits;
 	/* user_opts is a GList* of g_malloc'd struct proto_user_opts */
 	GList *user_opts;
-	GList *(* buddy_menu)(struct gaim_connection *, char *);
+	GList *(* buddy_menu)(struct gaim_connection *, const char *);
 	GList *(* chat_info)(struct gaim_connection *);
 
 	/* All the server-related functions */
@@ -222,13 +222,13 @@
 	 */
 	void (* login)		(struct gaim_account *);
 	void (* close)		(struct gaim_connection *);
-	int  (* send_im)	(struct gaim_connection *, char *who, char *message,
+	int  (* send_im)	(struct gaim_connection *, const char *who, const char *message,
 						 int len, int away);
 	void (* set_info)	(struct gaim_connection *, char *info);
 	int  (* send_typing)    (struct gaim_connection *, char *name, int typing);
-	void (* get_info)	(struct gaim_connection *, char *who);
+	void (* get_info)	(struct gaim_connection *, const char *who);
 	void (* set_away)	(struct gaim_connection *, char *state, char *message);
-	void (* get_away)       (struct gaim_connection *, char *who);
+	void (* get_away)       (struct gaim_connection *, const char *who);
 	void (* set_dir)	(struct gaim_connection *, const char *first,
 							   const char *middle,
 							   const char *last,
@@ -237,7 +237,7 @@
 							   const char *state,
 							   const char *country,
 							   int web);
-	void (* get_dir)	(struct gaim_connection *, char *who);
+	void (* get_dir)	(struct gaim_connection *, const char *who);
 	void (* dir_search)	(struct gaim_connection *, const char *first,
 							   const char *middle,
 							   const char *last,