diff src/server.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 175cbf710a47
children 8f838ae3e710
line wrap: on
line diff
--- a/src/server.c	Sun May 16 06:50:45 2004 +0000
+++ b/src/server.c	Sun May 16 07:19:56 2004 +0000
@@ -303,48 +303,6 @@
 		prpl_info->get_info(g, name);
 }
 
-void serv_get_dir(GaimConnection *g, const char *name)
-{
-	GaimPluginProtocolInfo *prpl_info = NULL;
-
-	if (g != NULL && g->prpl != NULL)
-		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl);
-
-	if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->get_dir)
-		prpl_info->get_dir(g, name);
-}
-
-void serv_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)
-{
-	GaimPluginProtocolInfo *prpl_info = NULL;
-
-	if (g != NULL && g->prpl != NULL)
-		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl);
-
-	if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_dir)
-		prpl_info->set_dir(g, first, middle, last, maiden, city, state,
-						 country, web);
-}
-
-void serv_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)
-{
-	GaimPluginProtocolInfo *prpl_info = NULL;
-
-	if (g != NULL && g->prpl != NULL)
-		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl);
-
-	if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->dir_search)
-		prpl_info->dir_search(g, first, middle, last, maiden, city, state,
-							country, email);
-}
-
-
 void serv_set_away(GaimConnection *gc, const char *state, const char *message)
 {
 	GaimPluginProtocolInfo *prpl_info = NULL;