pspnet_adhocctl.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  * pspnet_adhocctl.h - PSP Adhoc control networking libraries.
00007  *
00008  * Copyright (c) 2006 James F.
00009  *
00010  * Based on the adhoc code in SMS Plus
00011  * 
00012  * $Id: pspnet_adhocctl.h 1836 2006-03-16 20:58:05Z tyranid $
00013  */
00014 #ifndef __PSPNETCTL_ADHOC_H__
00015 #define __PSPNETCTL_ADHOC_H__
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00022 struct productStruct
00023 {
00025         int unknown;
00027         char product[9];
00028 } productStruct;
00029 
00039 int sceNetAdhocctlInit(int unk1, int unk2, struct productStruct *product);
00040 
00046 int sceNetAdhocctlTerm(void);
00047 
00055 int sceNetAdhocctlConnect(int *unk1);
00056 
00062 int sceNetAdhocctlDisconnect(void);
00063 
00071 int sceNetAdhocctlGetState(int *event);
00072 
00073 
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077 
00078 #endif

Generated on Tue Jul 24 15:21:23 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2