XenevaOS
Loading...
Searching...
No Matches
inet.h
Go to the documentation of this file.
1
30#ifndef __INET_H__
31#define __INET_H__
32
33#include <stdint.h>
34#include <sys/socket.h>
35#include <_xeneva.h>
36
37#ifdef __cplusplus
39#endif
40
42XE_LIB uint16_t htons(uint16_t hostshort);
45XE_LIB in_addr_t inet_addr(const char* in);
46XE_LIB char* inet_ntoa(struct in_addr in);
47
48#ifdef __cplusplus
49}
50#endif
51
52
53#endif
uint32_t in_addr_t
Definition socket.h:113
#define XE_LIB
Definition _xeneva.h:55
#define XE_EXTERN
Definition _xeneva.h:50
unsigned int uint32_t
Definition acefiex.h:163
unsigned short int uint16_t
Definition acefiex.h:162
#define ntohl(l)
Definition aunet.h:59
#define htonl(l)
Definition aunet.h:57
#define htons(s)
Definition aunet.h:58
#define ntohs(s)
Definition aunet.h:60
XE_LIB char * inet_ntoa(struct in_addr in)
Definition inet.cpp:79
XE_LIB in_addr_t inet_addr(const char *in)
Definition inet.cpp:52
Definition socket.h:116