vitasdk
Documentation of the vitasdk
suspend.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2KERN_KERNEL_SUSPEND_H_
8 #define _PSP2KERN_KERNEL_SUSPEND_H_
9 
11 #include <psp2kern/types.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 typedef int (* SceSysEventHandler)(int resume, int eventid, void *args, void *opt);
19 
20 
29 
39 int ksceKernelRegisterSysEventHandler(const char *name, SceSysEventHandler handler, void *args);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
45 #endif /* _PSP2KERN_KERNEL_SUSPEND_H_ */
uint8_t type
0 = read?, 1 = write?, 2 = feature?, 3 = ?
Definition: bt.h:2
SceKernelPowerTickType
Definition: processmgr.h:49
int ksceKernelPowerTick(SceKernelPowerTickType type)
Cancel specified idle timers to prevent entering in power save processing.
int ksceKernelRegisterSysEventHandler(const char *name, SceSysEventHandler handler, void *args)
Register system event handler.
int(* SceSysEventHandler)(int resume, int eventid, void *args, void *opt)
Definition: suspend.h:18