# psploadexec.h

Go to the documentation of this file.

    00001 /*
    00002  * PSP Software Development Kit - http://www.pspdev.org
    00003  * -----------------------------------------------------------------------
    00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
    00005  *
    00006  * psploadexec.h - Process load and exit related functions.
    00007  *
    00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
    00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
    00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
    00011  *
    00012  * $Id: psploadexec.h 835 2005-08-09 05:41:25Z tyranid $
    00013  */
    00014
    00015 /* Note: Some of the structures, types, and definitions in this file were
    00016    extrapolated from symbolic debugging information found in the Japanese
    00017    version of Puzzle Bobble. */
    00018
    00019 #ifndef __LOADEXEC_H__
    00020 #define __LOADEXEC_H__
    00021
    00024 #ifdef __cplusplus
    00025 extern "C" {
    00026 #endif
    00027
    00031
    00049 int sceKernelRegisterExitCallback(int cbid);
    00050
    00057 void sceKernelExitGame(void);
    00058
    00060 struct SceKernelLoadExecParam {
    00062         SceSize     size;
    00064         SceSize     args;
    00066         void *  argp;
    00068         const char *    key;
    00069 };
    00070
    00080 int sceKernelLoadExec(const char *file, struct SceKernelLoadExecParam *param);
    00081
    00082 #ifdef __cplusplus
    00083 }
    00084 #endif
    00085
    00088 #endif