]> git.proxmox.com Git - proxmox-backup-qemu.git/commitdiff
current-api.h: update docs
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 2 Jul 2020 05:12:51 +0000 (07:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 2 Jul 2020 05:12:51 +0000 (07:12 +0200)
current-api.h

index 44183183e3e2f675beacc40bf1011b45edbc82f0..95f21e249ca8b65969f3a1a34c402f007ad4050d 100644 (file)
@@ -213,7 +213,11 @@ int proxmox_backup_write_data(ProxmoxBackupHandle *handle,
  *
  * Upload a chunk of data for the <dev_id> image.
  *
- * data may be NULL in order to write the zero chunk (only allowed if size == chunk_size)
+ * The data pointer may be NULL in order to write the zero chunk
+ * (only allowed if size == chunk_size)
+ *
+ * Note: The data pointer needs to be valid until the async
+ * opteration is finished.
  */
 void proxmox_backup_write_data_async(ProxmoxBackupHandle *handle,
                                      uint8_t dev_id,