diff src/ft.h @ 4605:4fe88c94c3b4

[gaim-migrate @ 4892] I renamed dest_filename to local_filename, and made it so dest_filename is always the string containing the file on the local hard drive (for reading AND writing). I am of the belief that this is less ambiguous (that means it lives half its life on land and half its life in the water). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 22 Feb 2003 22:09:44 +0000
parents 63c022ca157c
children 3145c5c45877
line wrap: on
line diff
--- a/src/ft.h	Sat Feb 22 19:56:39 2003 +0000
+++ b/src/ft.h	Sat Feb 22 22:09:44 2003 +0000
@@ -67,8 +67,8 @@
 	char *who;                    /**< The person on the other end of the
 	                                   transfer.                           */
 
-	char *filename;               /**< The name of the file.               */
-	char *dest_filename;          /**< The destination filename.           */
+	char *filename;               /**< The name sent over the network.     */
+	char *local_filename;         /**< The name on the local hard drive.   */
 	size_t size;                  /**< The size of the file.               */
 
 	FILE *dest_fp;                /**< The destination file pointer.       */
@@ -196,7 +196,7 @@
  *
  * @return The destination filename.
  */
-const char *gaim_xfer_get_dest_filename(const struct gaim_xfer *xfer);
+const char *gaim_xfer_get_local_filename(const struct gaim_xfer *xfer);
 
 /**
  * Returns the number of bytes sent so far.
@@ -289,12 +289,12 @@
 void gaim_xfer_set_filename(struct gaim_xfer *xfer, const char *filename);
 
 /**
- * Sets the destination filename for the file transfer.
+ * Sets the local filename for the file transfer.
  *
  * @param xfer     The file transfer.
  * @param filename The filename
  */
-void gaim_xfer_set_dest_filename(struct gaim_xfer *xfer, const char *filename);
+void gaim_xfer_set_local_filename(struct gaim_xfer *xfer, const char *filename);
 
 /**
  * Sets the size of the file in a file transfer.