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
18struct hostent *gethostbyaddr(const void *addr, int len, int type);
19struct hostent *gethostbyname(const char *name);
20int gethostbyname_r(const char *name, struct hostent *ret, char *buf, size_t buflen, struct hostent **result, int *h_errnop);
21void freeaddrinfo(struct addrinfo *ai);
22int getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res);
23__END_DECLS
24
25#endif