diff src/server.c @ 9466:d27156c9c876

[gaim-migrate @ 10291] (21:36:44) datallah: anyway... i added "Send File" to the prpl core committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 07 Jul 2004 01:49:39 +0000
parents 28280c108cc4
children 2c7dcb5851f4
line wrap: on
line diff
--- a/src/server.c	Wed Jul 07 01:35:27 2004 +0000
+++ b/src/server.c	Wed Jul 07 01:49:39 2004 +0000
@@ -1588,3 +1588,14 @@
 	g_free(buf);
 	g_free(buffy);
 }
+
+void serv_send_file(GaimConnection *gc, const char *who, const char *file)
+{
+	GaimPluginProtocolInfo *prpl_info = NULL;
+	
+	if (gc != NULL && gc->prpl != NULL)
+		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
+
+	if (prpl_info && prpl_info->send_file)
+		prpl_info->send_file(gc, who, file);
+}