pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspsdk-1.0+beta2
Modules
Data Structures
Files
File List
src
asfparser
atrac3
audio
base
ctrl
debug
display
fpu
ge
gu
gum
hprm
kernel
pspaudiorouting.h
pspexception.h
pspidstorage.h
pspimpose_driver.h
pspinit.h
pspintrman_kernel.h
pspiofilemgr_kernel.h
pspkdebug.h
pspkernel.h
psploadcore.h
psploadexec_kernel.h
pspmodulemgr_kernel.h
pspstdio_kernel.h
pspsysclib.h
pspsyscon.h
pspsysevent.h
pspsysmem_kernel.h
pspsysreg.h
pspsystimer.h
pspthreadman_kernel.h
psputilsforkernel.h
libc
mp3
mpeg
nand
net
openpsid
power
prof
registry
rtc
sdk
sircs
startup
umd
usb
usbstor
user
utility
vfpu
video
vsh
wlan
tools
Globals
pspsysevent.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* pspsysevent.h - Prototypes for the sceSysEventForKernel library
7
*
8
* Copyright (c) 2007 Iaroslav Gaponenko <adrahil@gmail.com>
9
*
10
*/
11
#ifndef __PSPSYSEVENT_H__
12
#define __PSPSYSEVENT_H__
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
typedef
struct
PspSysEventHandler
_PspSysEventHandler
;
19
20
typedef
int (*
PspSysEventHandlerFunc
)(
int
ev_id,
char
* ev_name,
void
* param,
int
* result);
21
22
typedef
struct
PspSysEventHandler
{
23
int
size
;
24
char
*
name
;
25
int
type_mask
;
26
int (*
handler
)(
int
ev_id,
char
* ev_name,
void
* param,
int
* result);
27
int
r28
;
28
int
busy
;
29
_PspSysEventHandler
*
next
;
30
int
reserved
[9];
31
}
PspSysEventHandler
;
32
33
46
int
sceKernelSysEventDispatch
(
int
ev_type_mask,
int
ev_id,
char
* ev_name,
void
* param,
int
* result,
int
break_nonzero,
PspSysEventHandler
* break_handler);
47
48
54
PspSysEventHandler
*
sceKernelReferSysEventHandler
(
void
);
55
56
63
int
sceKernelIsRegisterSysEventHandler
(
PspSysEventHandler
* handler);
64
65
72
int
sceKernelRegisterSysEventHandler
(
PspSysEventHandler
* handler);
73
74
81
int
sceKernelUnregisterSysEventHandler
(
PspSysEventHandler
* handler);
82
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
88
src
kernel
pspsysevent.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2