ladybird/Libraries/LibC/netinet/in.h

15 lines
219 B
C
Raw Normal View History

2019-03-13 15:09:54 +01:00
#pragma once
#include <stdint.h>
#include <sys/cdefs.h>
2019-03-13 15:09:54 +01:00
__BEGIN_DECLS
typedef uint32_t in_addr_t;
in_addr_t inet_addr(const char*);
2019-03-13 15:09:54 +01:00
#define INADDR_ANY ((in_addr_t)0)
#define INADDR_NONE ((in_addr_t)-1)
2019-03-13 15:09:54 +01:00
__END_DECLS