5
0
mirror of git://git.proxmox.com/git/proxmox-backup-qemu.git synced 2025-01-19 14:03:51 +03:00

current-api.h: update to include changes from previous commit

This commit is contained in:
Dietmar Maurer 2020-07-06 12:26:31 +02:00
parent 6c7a5ca24a
commit 3be7064120

View File

@ -194,6 +194,17 @@ void proxmox_backup_register_image_async(ProxmoxBackupHandle *handle,
int *result,
char **error);
/**
* Returns the text presentation (relative path) for a backup snapshot
*
* The resturned value is allocated with strdup(), and can be freed
* with free().
*/
const char *proxmox_backup_snapshot_string(const char *backup_type,
const char *backup_id,
int64_t backup_time,
char **error);
/**
* Write data to into a registered image (sync)
*
@ -290,9 +301,7 @@ int proxmox_restore_image(ProxmoxRestoreHandle *handle,
* Connect the the backup server for restore (sync)
*/
ProxmoxRestoreHandle *proxmox_restore_new(const char *repo,
const char *backup_type,
const char *backup_id,
uint64_t backup_time,
const char *snapshot,
const char *password,
const char *keyfile,
const char *key_password,