1: /* unofficial gameplaySP kai
2: *
3: * Copyright (C) 2006 NJ
4: * Copyright (C) 2007 takka <takka@tfact.net>
5: *
6: * This program is free software; you can redistribute it and/or
7: * modify it under the terms of the GNU General Public License as
8: * published by the Free Software Foundation; either version 2 of
9: * the License, or (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19: */
20:
21: #ifndef ADHOC_H
22: #define ADHOC_H
23:
24: /******************************************************************************
25: * グローバル関数の宣言
26: ******************************************************************************/
27: u32 pspSdkLoadAdhocModules(void);
28:
29: u32 adhocInit(const char *matchingData);
30: u32 adhocTerm(void);
31: u32 adhocSelect(void);
32: u32 adhocReconnect(char *ssid);
33:
34: u32 adhocSend(void *buffer, u32 length);
35: u32 adhocRecv(void *buffer, u32 length);
36:
37: u32 adhocSendBlocking(void *buffer, u32 length);
38: u32 adhocRecvBlocking(void *buffer, u32 length);
39: u32 adhocRecvBlockingTimeout(void *buffer, u32 length, u32 timeout);
40:
41: u32 adhocSendRecvAck(void *buffer, u32 length);
42: u32 adhocRecvSendAck(void *buffer, u32 length);
43:
44: #endif
45: