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.
16 lines
615 B
16 lines
615 B
9 years ago
|
use {Result, Handle};
|
||
|
use c_void;
|
||
|
|
||
|
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;
|
||
|
}
|