diff src/protocols/toc/toc.c @ 8950:80b4c956d7ae

[gaim-migrate @ 9722] Remove the prpl callbacks set_dir, get_dir and dir_search. These 1) Were not called by anything 2) Are AIM-centric 3) Should be Account Actions, if implemented committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 16 May 2004 07:19:56 +0000
parents 8e30e5d6c3cf
children 294ae6548d4e
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Sun May 16 06:50:45 2004 +0000
+++ b/src/protocols/toc/toc.c	Sun May 16 07:19:56 2004 +0000
@@ -1118,6 +1118,7 @@
 	sflap_send(gc, buf, -1, TYPE_DATA);
 }
 
+/* Should be implemented as an Account Action? */
 static void toc_get_dir(GaimConnection *gc, const char *name)
 {
 	char buf[BUF_LEN * 2];
@@ -1125,6 +1126,8 @@
 	sflap_send(gc, buf, -1, TYPE_DATA);
 }
 
+#if 0
+/* Should be implemented as an Account Action */
 static void toc_set_dir(GaimConnection *g, const char *first, const char *middle, const char *last,
 			const char *maiden, const char *city, const char *state, const char *country, int web)
 {
@@ -1136,7 +1139,10 @@
 	g_free(buf3);
 	sflap_send(g, buf, -1, TYPE_DATA);
 }
+#endif
 
+#if 0
+/* Should be implemented as an Account Action */
 static void toc_dir_search(GaimConnection *g, const char *first, const char *middle, const char *last,
 			   const char *maiden, const char *city, const char *state, const char *country, const char *email)
 {
@@ -1149,6 +1155,7 @@
 		     city, state, country);
 	sflap_send(g, buf, -1, TYPE_DATA);
 }
+#endif
 
 static void toc_set_away(GaimConnection *g, const char *state, const char *message)
 {
@@ -2110,9 +2117,6 @@
 	NULL,
 	toc_get_info,
 	toc_set_away,
-	toc_set_dir,
-	toc_get_dir,
-	toc_dir_search,
 	toc_set_idle,
 	toc_change_passwd,
 	toc_add_buddy,