mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-24 10:12:55 +08:00
14 lines
439 B
C
14 lines
439 B
C
|
#include <sys/socket.h>
|
||
|
|
||
|
extern int pc_getnameinfo(const void *sa, socklen_t salen,
|
||
|
char *host, socklen_t hostlen, char *serv,
|
||
|
socklen_t servlen, int flags);
|
||
|
|
||
|
|
||
|
int getnameinfo(const void *sa, socklen_t salen,
|
||
|
char *host, socklen_t hostlen, char *serv,
|
||
|
socklen_t servlen, int flags) {
|
||
|
return pc_getnameinfo(sa, salen, host, hostlen, serv, servlen, flags);
|
||
|
}
|
||
|
|