pspsdk-1.0+beta2
psploadexec.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  * psploadexec.h - Process load and exit related functions.
7  *
8  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11  *
12  * $Id: psploadexec.h 835 2005-08-09 05:41:25Z tyranid $
13  */
14 
15 /* Note: Some of the structures, types, and definitions in this file were
16  extrapolated from symbolic debugging information found in the Japanese
17  version of Puzzle Bobble. */
18 
19 #ifndef __LOADEXEC_H__
20 #define __LOADEXEC_H__
21 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
31 
49 int sceKernelRegisterExitCallback(int cbid);
50 
57 void sceKernelExitGame(void);
58 
66  void * argp;
68  const char * key;
69 };
70 
80 int sceKernelLoadExec(const char *file, struct SceKernelLoadExecParam *param);
81 
82 #ifdef __cplusplus
83 }
84 #endif
85 
88 #endif