0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Remove the include/types.hrl file.

This commit is contained in:
Loïc Hoguin 2011-04-18 13:56:38 +02:00
parent 63a92df14e
commit e8286e18e6
11 changed files with 0 additions and 27 deletions

View file

@ -1,13 +0,0 @@
%% Copyright (c) 2011, Loïc Hoguin <essen@dev-extend.eu>
%%
%% Permission to use, copy, modify, and/or distribute this software for any
%% purpose with or without fee is hereby granted, provided that the above
%% copyright notice and this permission notice appear in all copies.
%%
%% THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
%% WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
%% MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
%% ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
%% WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
%% ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View file

@ -16,8 +16,6 @@
-export([start_link/5]). %% API. -export([start_link/5]). %% API.
-export([acceptor/5]). %% Internal. -export([acceptor/5]). %% Internal.
-include("include/types.hrl").
%% API. %% API.
-spec start_link(LSocket::inet:socket(), Transport::module(), -spec start_link(LSocket::inet:socket(), Transport::module(),

View file

@ -18,8 +18,6 @@
-export([start_link/6]). %% API. -export([start_link/6]). %% API.
-export([init/1]). %% supervisor. -export([init/1]). %% supervisor.
-include("include/types.hrl").
%% API. %% API.
-spec start_link(NbAcceptors::non_neg_integer(), Transport::module(), -spec start_link(NbAcceptors::non_neg_integer(), Transport::module(),

View file

@ -20,8 +20,6 @@
-type application_start_type() :: normal | -type application_start_type() :: normal |
{takeover, Node::node()} | {failover, Node::node()}. {takeover, Node::node()} | {failover, Node::node()}.
-include("include/types.hrl").
%% API. %% API.
-spec start(Type::application_start_type(), Args::term()) -> {ok, Pid::pid()}. -spec start(Type::application_start_type(), Args::term()) -> {ok, Pid::pid()}.

View file

@ -24,7 +24,6 @@
-export_type([bindings/0, path_tokens/0, dispatch_rules/0]). -export_type([bindings/0, path_tokens/0, dispatch_rules/0]).
-include("include/types.hrl").
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").
%% API. %% API.

View file

@ -16,7 +16,6 @@
-export([start_link/3]). %% API. -export([start_link/3]). %% API.
-export([init/3, wait_request/1]). %% FSM. -export([init/3, wait_request/1]). %% FSM.
-include("include/types.hrl").
-include("include/http.hrl"). -include("include/http.hrl").
-record(state, { -record(state, {

View file

@ -33,7 +33,6 @@
reply/4 reply/4
]). %% Response API. ]). %% Response API.
-include("include/types.hrl").
-include("include/http.hrl"). -include("include/http.hrl").
-include_lib("eunit/include/eunit.hrl"). -include_lib("eunit/include/eunit.hrl").

View file

@ -15,7 +15,6 @@
-module(cowboy_http_websocket). -module(cowboy_http_websocket).
-export([upgrade/3]). -export([upgrade/3]).
-include("include/types.hrl").
-include("include/http.hrl"). -include("include/http.hrl").
-record(state, { -record(state, {

View file

@ -18,8 +18,6 @@
-export([start_link/0, start_request/4]). %% API. -export([start_link/0, start_request/4]). %% API.
-export([init/1]). %% supervisor. -export([init/1]). %% supervisor.
-include("include/types.hrl").
%% API. %% API.
-spec start_link() -> {ok, Pid::pid()}. -spec start_link() -> {ok, Pid::pid()}.

View file

@ -18,7 +18,6 @@
-opaque sslsocket() :: term(). -opaque sslsocket() :: term().
-include("include/types.hrl").
-include_lib("kernel/include/inet.hrl"). -include_lib("kernel/include/inet.hrl").
%% API. %% API.

View file

@ -16,7 +16,6 @@
-export([name/0, messages/0, listen/1, accept/2, recv/3, send/2, setopts/2, -export([name/0, messages/0, listen/1, accept/2, recv/3, send/2, setopts/2,
controlling_process/2, peername/1, close/1]). %% API. controlling_process/2, peername/1, close/1]). %% API.
-include("include/types.hrl").
-include_lib("kernel/include/inet.hrl"). -include_lib("kernel/include/inet.hrl").
%% API. %% API.