RetroArch
inet.h
Go to the documentation of this file.
1 #ifndef _ARPA_INET_H
2 #define _ARPA_INET_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include <netinet/in.h>
9 #include <sys/socket.h>
10 
11 char *inet_ntoa(struct in_addr in);
12 const char *inet_ntop(int af, const void *cp, char *buf, socklen_t len);
13 
14 int inet_aton(const char *cp, struct in_addr *inp);
15 
16 int inet_pton(int af, const char *cp, void *buf);
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif /* _ARPA_INET_H */
const char * inet_ntop(int af, const void *cp, char *buf, socklen_t len)
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glext.h:8418
GLenum GLsizei len
Definition: glext.h:7389
Definition: ip_addr.h:64
char * inet_ntoa(struct in_addr addr)
Definition: network_common.c:136
GLuint in
Definition: glext.h:10523
s8_t inet_aton(const char *cp, struct in_addr *addr)
Definition: network_common.c:42
int inet_pton(int af, const char *cp, void *buf)
uint32_t socklen_t
Definition: netdb.h:10