Skip to content

Commit

Permalink
rearr of includefiles
Browse files Browse the repository at this point in the history
git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@202 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information
Claes Wikstrom committed Oct 10, 2002
1 parent b7705eb commit 3c06a9e
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 11 deletions.
3 changes: 1 addition & 2 deletions src/yaws.hrl → include/yaws.hrl
Expand Up @@ -6,8 +6,7 @@
%%%----------------------------------------------------------------------

-author('klacke@hyber.org').
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").


%% global conf
-record(gconf,{file,
Expand Down
8 changes: 7 additions & 1 deletion src/yaws.erl
Expand Up @@ -7,7 +7,13 @@

-module(yaws).
-author('klacke@bluetail.com').
-include ("yaws.hrl").

-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").



-include_lib("kernel/include/file.hrl").

-compile(export_all).
Expand Down
7 changes: 6 additions & 1 deletion src/yaws_api.erl
Expand Up @@ -9,7 +9,12 @@
-author('klacke@hyber.org').

%% -compile(export_all).
-include("yaws.hrl").


-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").


-export([parse_post_data/1, parse_query/1,
code_to_phrase/1, ssi/2, redirect/1]).
Expand Down
7 changes: 6 additions & 1 deletion src/yaws_compile.erl
Expand Up @@ -9,7 +9,12 @@
-author('klacke@hyber.org').

-compile(export_all).
-include("yaws.hrl").



-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").



Expand Down
10 changes: 9 additions & 1 deletion src/yaws_config.erl
Expand Up @@ -7,7 +7,15 @@

-module(yaws_config).
-author('klacke@bluetail.com').
-include("yaws.hrl").




-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").


-include_lib("kernel/include/file.hrl").

-compile(export_all).
Expand Down
6 changes: 5 additions & 1 deletion src/yaws_debug.erl
Expand Up @@ -8,7 +8,11 @@
-module(yaws_debug).
-author('klacke@hyber.org').
-compile(export_all).
-include("yaws.hrl").


-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").


typecheck([{record, Rec, X} | Tail], File, Line) when atom(X),
Expand Down
7 changes: 6 additions & 1 deletion src/yaws_log.erl
Expand Up @@ -18,7 +18,12 @@

%% gen_server callbacks
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2]).
-include("yaws.hrl").

-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").


-record(state, {
running,
dir,
Expand Down
6 changes: 5 additions & 1 deletion src/yaws_ls.erl
Expand Up @@ -9,7 +9,11 @@
-author('klacke@hyber.org').

-compile(export_all).
-include("yaws.hrl").

-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").

-include_lib("kernel/include/file.hrl").


Expand Down
6 changes: 5 additions & 1 deletion src/yaws_server.erl
Expand Up @@ -12,7 +12,11 @@
%%-export([Function/Arity, ...]).

-behaviour(gen_server).
-include("yaws.hrl").

-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").

-include_lib("kernel/include/file.hrl").

%% External exports
Expand Down
7 changes: 6 additions & 1 deletion src/yaws_ssl.erl
Expand Up @@ -9,7 +9,12 @@
-author('klacke@hyber.org').

-compile(export_all).
-include("yaws.hrl").


-include_lib("yaws/include/yaws.hrl").
-include_lib("yaws/include/yaws_api.hrl").
-include("yaws_debug.hrl").

-include_lib("kernel/include/file.hrl").


Expand Down

0 comments on commit 3c06a9e

Please sign in to comment.