simplify backup lib structure (pub use xxx:*), improve doc

This commit is contained in:
Dietmar Maurer
2019-02-12 14:13:31 +01:00
parent d78345bcfc
commit e5064ba607
10 changed files with 42 additions and 20 deletions

View File

@ -10,8 +10,10 @@ use std::os::unix::io::AsRawFd;
use uuid::Uuid;
use chrono::{Local, TimeZone};
/// Header format definition for fixed index files (`.fixd`)
#[repr(C)]
pub struct FixedIndexHeader {
/// The string `PROXMOX-FIDX`
pub magic: [u8; 12],
pub version: u32,
pub uuid: [u8; 16],