* [pve-devel] [PATCH backup-qemu] make capi_types module public
@ 2024-03-13 13:39 Filip Schauer
2024-04-09 8:51 ` [pve-devel] applied: " Wolfgang Bumiller
0 siblings, 1 reply; 2+ messages in thread
From: Filip Schauer @ 2024-03-13 13:39 UTC (permalink / raw)
To: pve-devel
Commit c7077bb3 moved ProxmoxBackupHandle into a separate file and
accidentally made it private in the process.
Revert this behaviour by making ProxmoxBackupHandle and
ProxmoxRestoreHandle accessible from outside of the crate again. These
handles are used in the function signatures of several public functions,
therefore it makes sense to have them public as well.
Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
---
src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
index 02e74f7..9067fc5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,7 +11,7 @@ use proxmox_lang::try_block;
use pbs_api_types::{Authid, BackupDir, BackupNamespace, BackupType, CryptMode};
use pbs_client::BackupRepository;
-mod capi_types;
+pub mod capi_types;
use capi_types::*;
mod commands;
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-09 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 13:39 [pve-devel] [PATCH backup-qemu] make capi_types module public Filip Schauer
2024-04-09 8:51 ` [pve-devel] applied: " Wolfgang Bumiller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox