Rust wrapper for libctru
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
743 B

8 years ago
/* automatically generated by rust-bindgen */
8 years ago
#![allow(dead_code,
non_camel_case_types,
non_upper_case_globals,
non_snake_case)]
8 years ago
use ::types::*;
use services::fs::FS_DirectoryEntry;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct sdmc_dir_t {
pub magic: u32_,
pub fd: Handle,
pub index: ::libc::ssize_t,
pub size: ::libc::size_t,
pub entry_data: [FS_DirectoryEntry; 32usize],
}
impl ::core::default::Default for sdmc_dir_t {
fn default() -> Self { unsafe { ::core::mem::zeroed() } }
}
extern "C" {
pub fn sdmcInit() -> Result;
8 years ago
pub fn sdmcWriteSafe(enable: u8);
pub fn sdmcExit() -> Result;
8 years ago
pub fn sdmc_getmtime(name: *const ::libc::c_char, mtime: *mut u64_)
-> Result;
}