aboutsummaryrefslogtreecommitdiffstats
path: root/include/types.hrl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-04-17 23:57:30 +0200
committerLoïc Hoguin <[email protected]>2011-04-17 23:57:30 +0200
commit9ad32386c00b73bd3af2afa90c8e52469fdaad30 (patch)
tree8b7c25f22f0c70e2ac053c699a3cc7e2a7a61403 /include/types.hrl
parent734f57aa8a79a942767d0707a053dbee6caa1290 (diff)
downloadcowboy-9ad32386c00b73bd3af2afa90c8e52469fdaad30.tar.gz
cowboy-9ad32386c00b73bd3af2afa90c8e52469fdaad30.tar.bz2
cowboy-9ad32386c00b73bd3af2afa90c8e52469fdaad30.zip
Use the inet:ip_address() type instead of the user-defined one.
Diffstat (limited to 'include/types.hrl')
-rw-r--r--include/types.hrl4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/types.hrl b/include/types.hrl
index bdd4c5f..5938f0e 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -18,10 +18,6 @@
-type posix() :: atom().
-opaque socket() :: term().
-opaque sslsocket() :: term().
--type ipv4_address() :: {0..255, 0..255, 0..255, 0..255}.
--type ipv6_address() :: {0..65535, 0..65535, 0..65535, 0..65535,
- 0..65535, 0..65535, 0..65535, 0..65535}.
--type ip_address() :: ipv4_address() | ipv6_address().
-type port_number() :: 0..65535.
-type bindings() :: list({Key::atom(), Value::string()}).