PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
netdb.h
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
11
#ifndef __PS2SDK_NETDB_H__
12
#define __PS2SDK_NETDB_H__
13
14
#include <sys/cdefs.h>
15
#include <
tcpip.h
>
16
17
__BEGIN_DECLS
18
struct
hostent
*gethostbyaddr(
const
void
*addr,
int
len,
int
type);
19
struct
hostent
*gethostbyname(
const
char
*name);
20
int
gethostbyname_r(
const
char
*name,
struct
hostent
*ret,
char
*buf,
size_t
buflen,
struct
hostent
**result,
int
*h_errnop);
21
void
freeaddrinfo(
struct
addrinfo
*ai);
22
int
getaddrinfo(
const
char
*nodename,
const
char
*servname,
const
struct
addrinfo
*hints,
struct
addrinfo
**res);
23
__END_DECLS
24
25
#endif
tcpip.h
addrinfo
Definition
tcpip.h:1923
hostent
Definition
tcpip.h:1911
ee
libcglue
include
netdb.h
Generated on Thu Nov 14 2024 05:25:25 for PS2SDK by
1.9.8