xenstore: move error type and make use of result type aliases

This commit is contained in:
Alex Zenla
2024-01-30 01:58:10 -08:00
parent 812e357bc9
commit eba623d61a
8 changed files with 95 additions and 112 deletions

View File

@ -1,6 +1,6 @@
use bytemuck::{Pod, Zeroable};
/// Handwritten protocol definitions for XenStore.
/// Used xen/include/public/io/xs_wire.h as a reference.
use bytemuck::{Pod, Zeroable};
use libc;
#[derive(Copy, Clone, Pod, Zeroable, Debug)]