/*
- * Copyright (c) 2008, 2009, 2010 Zmanda, Inc. All Rights Reserved.
+ * Copyright (c) 2008-2012 Zmanda, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
/* Used to coordinate handing off file descriptors among elements of this
* xfer */
GMutex *fd_mutex;
+
+ int cancelled;
};
typedef struct Xfer Xfer;
* correctly).
*
* @param xfer: the Xfer object
+ * @param offset: the offset to start the transfer from (must be 0)
+ * @param size: the Xfer object: the number of bytes to transfer.
*/
-void xfer_start(Xfer *xfer);
+void xfer_start(Xfer *xfer, gint64 offset, gint64 size);
/* Abort a running transfer. This essentially tells the source to stop
* producing data and allows the remainder of the transfer to "drain". Thus