From 26d3718833641a6f13b1723ff60b64883b25b22d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 2 Jul 2020 07:12:51 +0200 Subject: [PATCH] current-api.h: update docs --- current-api.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/current-api.h b/current-api.h index 4418318..95f21e2 100644 --- a/current-api.h +++ b/current-api.h @@ -213,7 +213,11 @@ int proxmox_backup_write_data(ProxmoxBackupHandle *handle, * * Upload a chunk of data for the 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, -- 2.39.5