aboutsummaryrefslogtreecommitdiff
path: root/src/raw/srv.rs
blob: c327973564893b099f0d69e84764fcd3ed5f876b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use ::raw::*;
use ::{Result, Handle};

extern "C" {
    pub fn srvInit() -> Result;
    pub fn srvExit() -> Result;
    pub fn srvGetSessionHandle() -> * const Handle;
    pub fn srvRegisterClient() -> Result;
    pub fn srvGetServiceHandle(out: *mut Handle, name: * const u8) -> Result;
    pub fn srvRegisterService(out: *mut Handle, name: * const u8) -> Result;
    pub fn srvUnregisterService(name: * const u8) -> Result;
    pub fn srvPmInit() -> Result;
    pub fn srvRegisterProcess(procid: u32, count: u32, serviceaccesscontrol: *mut c_void) -> Result;
    pub fn srvUnregisterProcess(procid: u32) -> Result;
}