pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspnet_resolver.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
* pspnet_resolver.h - PSP networking libraries.
7
*
8
* Copyright (c) 2005 Marcus R. Brown <mrbrown@0xd6.org>
9
*
10
* Portions based on PspPet's wifi_03 sample code.
11
*
12
* $Id: pspnet_resolver.h 1661 2006-01-08 13:36:35Z tyranid $
13
*/
14
15
#ifndef PSPNET_RESOLVER_H
16
#define PSPNET_RESOLVER_H
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
#include <netinet/in.h>
23
29
int
sceNetResolverInit
(
void
);
30
40
int
sceNetResolverCreate
(
int
*rid,
void
*buf,
SceSize
buflen);
41
49
int
sceNetResolverDelete
(
int
rid);
50
62
int
sceNetResolverStartNtoA
(
int
rid,
const
char
*hostname,
struct
in_addr* addr,
unsigned
int
timeout,
int
retry);
63
76
int
sceNetResolverStartAtoN
(
int
rid,
const
struct
in_addr* addr,
char
*hostname,
SceSize
hostname_len,
unsigned
int
timeout,
int
retry);
77
85
int
sceNetResolverStop
(
int
rid);
86
92
int
sceNetResolverTerm
(
void
);
93
94
#ifdef __cplusplus
95
}
96
#endif
97
98
#endif
/* PSPNET_RESOLVER_H */
src
net
pspnet_resolver.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2