saved_struct_get_metadata

Function saved_struct_get_metadata 

Source
pub unsafe extern "C" fn saved_struct_get_metadata(
    path: *const c_char,
    magic: *mut u8,
    version: *mut u8,
    payload_size: *mut usize,
) -> bool
Expand description

Get SavedStructure file metadata

§Arguments

  • path (direction in) - The path to the file
  • magic (direction out) - Pointer to store magic or NULL if you don’t need it
  • version (direction out) - Pointer to store version or NULL if you don’t need it
  • payload_size (direction out) - Pointer to store payload size or NULL if you don’t need it

§Returns

true on success, false otherwise