aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/include/mod_auth.hrl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2010-12-09 15:01:24 +0100
committerIngela Anderton Andin <[email protected]>2010-12-16 16:25:46 +0100
commite11350655b27b87c891bdf4e420472a220521f99 (patch)
treefd762fd4bd3928feb2adb45060d9745745987680 /lib/inets/include/mod_auth.hrl
parentada2a055fd183082bcefd5e4b94477959e75ebee (diff)
downloadotp-e11350655b27b87c891bdf4e420472a220521f99.tar.gz
otp-e11350655b27b87c891bdf4e420472a220521f99.tar.bz2
otp-e11350655b27b87c891bdf4e420472a220521f99.zip
External include files
HTTPD header file install "fixed". That is, the include files in the include dir are installed in the include dir (by the Makefile in the src/inets_app). New wrapper header files (with the same names httpd.hrl and mod_auth.hrl) has been created in the src/http_server dir (which in turn is installed in the src/http_server dir by the Makefile in the src/http_server dir).
Diffstat (limited to 'lib/inets/include/mod_auth.hrl')
-rw-r--r--lib/inets/include/mod_auth.hrl33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/inets/include/mod_auth.hrl b/lib/inets/include/mod_auth.hrl
new file mode 100644
index 0000000000..cf931e681a
--- /dev/null
+++ b/lib/inets/include/mod_auth.hrl
@@ -0,0 +1,33 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 1998-2010. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%%
+%%
+
+-ifndef(mod_auth_hrl).
+-define(mod_auth_hrl, true).
+
+-record(httpd_user,
+ {username,
+ password,
+ user_data}).
+
+-record(httpd_group,
+ {name,
+ userlist}).
+
+-endif. % -ifdef(mod_auth_hrl).