summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@sunet.se>2019-07-02 21:41:53 +0200
committerLinus Nordberg <linus@sunet.se>2019-07-02 21:41:53 +0200
commitb3ef888e09a51d0426c84f77f844b36060146fa3 (patch)
treec82003b55436a26b6c2a7e4badb658d8f7602640
parentba44cc2dd448427e39695b2068f6cd74a62072f4 (diff)
add copyright and license info headers
-rw-r--r--p11p-daemon/src/p11p.erl3
-rw-r--r--p11p-daemon/src/p11p_app.erl3
-rw-r--r--p11p-daemon/src/p11p_config.erl3
-rw-r--r--p11p-daemon/src/p11p_remote.erl3
-rw-r--r--p11p-daemon/src/p11p_remote_manager.erl3
-rw-r--r--p11p-daemon/src/p11p_rpc.erl3
-rw-r--r--p11p-daemon/src/p11p_rpc.hrl3
-rw-r--r--p11p-daemon/src/p11p_server.erl3
-rw-r--r--p11p-daemon/src/p11p_server_sup.erl3
-rw-r--r--p11p-daemon/src/p11p_sup.erl3
10 files changed, 30 insertions, 0 deletions
diff --git a/p11p-daemon/src/p11p.erl b/p11p-daemon/src/p11p.erl
index 40ca5c7..c84de8e 100644
--- a/p11p-daemon/src/p11p.erl
+++ b/p11p-daemon/src/p11p.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
-module(p11p).
%% API
diff --git a/p11p-daemon/src/p11p_app.erl b/p11p-daemon/src/p11p_app.erl
index 8bcb41a..91c9feb 100644
--- a/p11p-daemon/src/p11p_app.erl
+++ b/p11p-daemon/src/p11p_app.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
-module(p11p_app).
-behaviour(application).
diff --git a/p11p-daemon/src/p11p_config.erl b/p11p-daemon/src/p11p_config.erl
index 6c4cfb6..187fa8b 100644
--- a/p11p-daemon/src/p11p_config.erl
+++ b/p11p-daemon/src/p11p_config.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
-module(p11p_config).
-behaviour(gen_server).
diff --git a/p11p-daemon/src/p11p_remote.erl b/p11p-daemon/src/p11p_remote.erl
index 30365cd..1247f12 100644
--- a/p11p-daemon/src/p11p_remote.erl
+++ b/p11p-daemon/src/p11p_remote.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
%% A remote spawns an Erlang port running the 'remote' program from
%% p11-kit.
diff --git a/p11p-daemon/src/p11p_remote_manager.erl b/p11p-daemon/src/p11p_remote_manager.erl
index 23c69a7..10b9d22 100644
--- a/p11p-daemon/src/p11p_remote_manager.erl
+++ b/p11p-daemon/src/p11p_remote_manager.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
%% A remote manager is a genserver for coordination of remotes for all
%% tokens.
diff --git a/p11p-daemon/src/p11p_rpc.erl b/p11p-daemon/src/p11p_rpc.erl
index 35d0793..956cb34 100644
--- a/p11p-daemon/src/p11p_rpc.erl
+++ b/p11p-daemon/src/p11p_rpc.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
%% TODO: deduplicate code in parse/2 once there's proper tests
-module(p11p_rpc).
diff --git a/p11p-daemon/src/p11p_rpc.hrl b/p11p-daemon/src/p11p_rpc.hrl
index 96af9f1..fa73581 100644
--- a/p11p-daemon/src/p11p_rpc.hrl
+++ b/p11p-daemon/src/p11p_rpc.hrl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
-record(p11rpc_msg, {
call_code = -1 :: integer(), % len = 4
opt_len = -1 :: integer(), % len = 4
diff --git a/p11p-daemon/src/p11p_server.erl b/p11p-daemon/src/p11p_server.erl
index 55893de..5b37952 100644
--- a/p11p-daemon/src/p11p_server.erl
+++ b/p11p-daemon/src/p11p_server.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
%% Create an AF_UNIX socket and accept connections. On connect, spawn
%% another p11p_server process.
diff --git a/p11p-daemon/src/p11p_server_sup.erl b/p11p-daemon/src/p11p_server_sup.erl
index d488d98..3e6a764 100644
--- a/p11p-daemon/src/p11p_server_sup.erl
+++ b/p11p-daemon/src/p11p_server_sup.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
-module(p11p_server_sup).
-behaviour(supervisor).
diff --git a/p11p-daemon/src/p11p_sup.erl b/p11p-daemon/src/p11p_sup.erl
index 6a317c6..9eeb83b 100644
--- a/p11p-daemon/src/p11p_sup.erl
+++ b/p11p-daemon/src/p11p_sup.erl
@@ -1,3 +1,6 @@
+%%% Copyright (c) 2019, Sunet.
+%%% See LICENSE for licensing information.
+
-module(p11p_sup).
-behaviour(supervisor).