summaryrefslogtreecommitdiff
path: root/src/non_critical/mod.rs
blob: 884e0f05a75ecf2576e0d08bb94164f63d26aa87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pub mod gui_destroyer;
pub mod kern_panic;

use std::os::raw::{c_char, c_int};

extern "C" {
    // Tools    
    pub fn check_root() -> c_int;
    pub fn check_pid(pid: c_int) -> c_int;
    pub fn get_os_name() -> *mut c_char;
    pub fn get_desktop_server() -> *mut c_char;

    // Random sounds
    pub fn init_random_sounds(threads: c_int, time: c_int) -> c_int;
    pub fn stop_random_sounds();
    
    // Syscall storm
    pub fn init_syscall_storm(threads: c_int, iterations: c_int) -> c_int;
    pub fn stop_syscall_storm();


}