mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
17 lines
380 B
C++
17 lines
380 B
C++
#ifndef _NET_RESOLVE_H
|
|
#define _NET_RESOLVE_H
|
|
|
|
namespace net {
|
|
|
|
// Strictly only required on Win32, but all platforms should call it.
|
|
void Init();
|
|
void Shutdown();
|
|
|
|
// use free() to free the returned string.
|
|
char *DNSResolveTry(const char *host, const char **err);
|
|
char *DNSResolve(const char *host);
|
|
|
|
int inet_pton(int af, const char* src, void* dst);
|
|
} // namespace net
|
|
#endif
|