aboutsummaryrefslogtreecommitdiff
path: root/src/raw/services/ns.rs
blob: f2f1cb1e6ec193d1300b645945cc5040f545e8b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
use ::Result;

#[link(name = "ctru")]
extern "C" {
    pub fn nsInit() -> Result;
    pub fn nsExit() -> Result;
    pub fn NS_LaunchTitle(titleid: u64, launch_flags: u32, procid: *mut u32) -> Result;
    pub fn NS_RebootToTitle(mediatype: u8, titleid: u64) -> Result;
}