PS2SDK
PS2 Homebrew Libraries
poweroff.h File Reference
#include <irx.h>
+ Include dependency graph for poweroff.h:
+ This graph shows which files directly or indirectly include this file:

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 *param)
 

Functions

void SetPowerButtonHandler (pwoffcb func, void *param)
 
void AddPowerOffHandler (pwoffcb func, void *param)
 
void RemovePowerOffHandler (pwoffcb func)
 
void PoweroffShutdown ()
 

Detailed Description

Power-off processing definitions and imports.

Definition in file poweroff.h.