PS2SDK
PS2 Homebrew Libraries
|
#include <irx.h>
Go to the source code of this file.
Macros | |
#define | poweroff_IMPORTS_start DECLARE_IMPORT_TABLE(poweroff, 1, 1) |
#define | poweroff_IMPORTS_end END_IMPORT_TABLE |
#define | I_SetPowerButtonHandler DECLARE_IMPORT(4, SetPowerButtonHandler) |
#define | I_AddPowerOffHandler DECLARE_IMPORT(5, AddPowerOffHandler) |
#define | I_RemovePowerOffHandler DECLARE_IMPORT(6, RemovePowerOffHandler) |
#define | I_PoweroffShutdown DECLARE_IMPORT(7, PoweroffShutdown) |
Typedefs | |
typedef void(* | pwoffcb) (void *) |
Functions | |
void | SetPowerButtonHandler (pwoffcb func, void *param) |
void | AddPowerOffHandler (pwoffcb func, void *param) |
void | RemovePowerOffHandler (pwoffcb func) |
void | PoweroffShutdown () |
Power-off processing definitions and imports.
Definition in file poweroff.h.
#define poweroff_IMPORTS_start DECLARE_IMPORT_TABLE(poweroff, 1, 1) |
Definition at line 28 of file poweroff.h.
#define poweroff_IMPORTS_end END_IMPORT_TABLE |
Definition at line 29 of file poweroff.h.
#define I_SetPowerButtonHandler DECLARE_IMPORT(4, SetPowerButtonHandler) |
Definition at line 31 of file poweroff.h.
#define I_AddPowerOffHandler DECLARE_IMPORT(5, AddPowerOffHandler) |
Definition at line 32 of file poweroff.h.
#define I_RemovePowerOffHandler DECLARE_IMPORT(6, RemovePowerOffHandler) |
Definition at line 33 of file poweroff.h.
#define I_PoweroffShutdown DECLARE_IMPORT(7, PoweroffShutdown) |
Definition at line 34 of file poweroff.h.
typedef void(* pwoffcb) (void *) |
Definition at line 21 of file poweroff.h.
|
extern |
Definition at line 152 of file poweroff.c.
|
extern |
Definition at line 158 of file poweroff.c.
|
extern |
Definition at line 179 of file poweroff.c.
|
extern |
Definition at line 201 of file poweroff.c.