diff libpurple/ft.h @ 17527:e62095e99db0

Add new function purple_xfer_get_remote_user. Expose the xfer-functions to dbus. Register the xfer's so dbus-scripts can play with them, and we don't get a runtime dbus-whining.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 27 May 2007 21:35:47 +0000
parents 516f14bef90e
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/ft.h	Sun May 27 18:31:40 2007 +0000
+++ b/libpurple/ft.h	Sun May 27 21:35:47 2007 +0000
@@ -237,6 +237,15 @@
 PurpleAccount *purple_xfer_get_account(const PurpleXfer *xfer);
 
 /**
+ * Returns the name of the remote user.
+ *
+ * @param xfer The file transfer.
+ *
+ * @return The name of the remote user.
+ */
+const char *purple_xfer_get_remote_user(const PurpleXfer *xfer);
+
+/**
  * Returns the status of the xfer.
  *
  * @param xfer The file transfer.