diff options
-rw-r--r-- | c_src/hsmhelper.h | 5 | ||||
-rw-r--r-- | c_src/permdb.c | 2 | ||||
-rw-r--r-- | c_src/permdb.h | 2 | ||||
-rw-r--r-- | c_src/permdbport.c | 2 | ||||
-rw-r--r-- | c_src/permdbtest.py | 3 | ||||
-rw-r--r-- | ebin/plop.app | 2 | ||||
-rw-r--r-- | src/atomic.erl | 8 | ||||
-rw-r--r-- | src/db.erl | 2 | ||||
-rw-r--r-- | src/frontend.erl | 2 | ||||
-rw-r--r-- | src/fsyncport.erl | 2 | ||||
-rw-r--r-- | src/index.erl | 2 | ||||
-rw-r--r-- | src/permdb.erl | 2 | ||||
-rw-r--r-- | src/plop.erl | 2 | ||||
-rw-r--r-- | src/plop.hrl | 2 | ||||
-rw-r--r-- | src/plop_app.erl | 2 | ||||
-rw-r--r-- | src/plop_compat.erl | 3 | ||||
-rw-r--r-- | src/sign.erl | 2 | ||||
-rw-r--r-- | src/timeouts.hrl | 2 | ||||
-rw-r--r-- | src/util.erl | 2 |
19 files changed, 33 insertions, 16 deletions
diff --git a/c_src/hsmhelper.h b/c_src/hsmhelper.h index e8e8699..4099906 100644 --- a/c_src/hsmhelper.h +++ b/c_src/hsmhelper.h @@ -1,3 +1,8 @@ +/* + * Copyright (c) 2015, NORDUnet A/S. + * See LICENSE for licensing information. + */ + #ifndef HSMHELPER_H #define HSMHELPER_H diff --git a/c_src/permdb.c b/c_src/permdb.c index b5784d5..6117ff6 100644 --- a/c_src/permdb.c +++ b/c_src/permdb.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015,2016, NORDUnet A/S. + * Copyright (c) 2015-2016, NORDUnet A/S. * See LICENSE for licensing information. */ diff --git a/c_src/permdb.h b/c_src/permdb.h index 4625a7b..314b873 100644 --- a/c_src/permdb.h +++ b/c_src/permdb.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, NORDUnet A/S. + * Copyright (c) 2015-2016, NORDUnet A/S. * See LICENSE for licensing information. */ diff --git a/c_src/permdbport.c b/c_src/permdbport.c index 1db6df7..01e5859 100644 --- a/c_src/permdbport.c +++ b/c_src/permdbport.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, NORDUnet A/S. + * Copyright (c) 2015-2016, NORDUnet A/S. * See LICENSE for licensing information. */ diff --git a/c_src/permdbtest.py b/c_src/permdbtest.py index 58debe7..7059bc5 100644 --- a/c_src/permdbtest.py +++ b/c_src/permdbtest.py @@ -1,3 +1,6 @@ +# Copyright (c) 2016, NORDUnet A/S. +# See LICENSE for licensing information. + import argparse import struct import sys diff --git a/ebin/plop.app b/ebin/plop.app index be82c60..7473b6a 100644 --- a/ebin/plop.app +++ b/ebin/plop.app @@ -5,7 +5,7 @@ {application, plop, [{description, "The plop store"}, - {vsn, "0.9.0"}, + {vsn, "0.10.0-dev"}, {modules, [plop_app, plop_sup, plop, db, ht, hex, tlv]}, {applications, [kernel, stdlib]}, % crypto, public_key {registered, [plop, ht, db]}, diff --git a/src/atomic.erl b/src/atomic.erl index 36fba81..580fd17 100644 --- a/src/atomic.erl +++ b/src/atomic.erl @@ -2,7 +2,7 @@ %%% See LICENSE for licensing information. -module(atomic). --export([replacefile/2, readfile/1]). +-export([replacefile/2, readfile/1, openfile/2, readline/1]). -spec replacefile(string(), binary()) -> ok. replacefile(Path, Content) -> @@ -20,3 +20,9 @@ readfile(Path) -> {error, Error} -> util:exit_with_error(readfile, Error, "Error reading file") end. + +openfile(Path, Modes) -> + file:open(Path, Modes). + +readline(IoDevice) -> + file:read_line(IoDevice). @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014-2015, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. -module(db). diff --git a/src/frontend.erl b/src/frontend.erl index a3ea885..e4d8e40 100644 --- a/src/frontend.erl +++ b/src/frontend.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014-2015, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. %%% @doc Frontend node API diff --git a/src/fsyncport.erl b/src/fsyncport.erl index f6a8ae3..55d21ff 100644 --- a/src/fsyncport.erl +++ b/src/fsyncport.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014, NORDUnet A/S. +%%% Copyright (c) 2014-2015, NORDUnet A/S. %%% See LICENSE for licensing information. -module(fsyncport). diff --git a/src/index.erl b/src/index.erl index 5fe1dd6..bb9a7c9 100644 --- a/src/index.erl +++ b/src/index.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014-2015, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. %% Implements an interface to a file pair (basename and diff --git a/src/permdb.erl b/src/permdb.erl index ba9fd72..0a1765e 100644 --- a/src/permdb.erl +++ b/src/permdb.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2015, NORDUnet A/S. +%%% Copyright (c) 2015-2016, NORDUnet A/S. %%% See LICENSE for licensing information. -module(permdb). diff --git a/src/plop.erl b/src/plop.erl index 3c2b8a5..4ad0b98 100644 --- a/src/plop.erl +++ b/src/plop.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014-2015, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. %%% %%% @doc Server holding log entries in a database and hashes in a diff --git a/src/plop.hrl b/src/plop.hrl index e388b6f..9737743 100644 --- a/src/plop.hrl +++ b/src/plop.hrl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014, NORDUnet A/S. +%%% Copyright (c) 2014,2016, NORDUnet A/S. %%% See LICENSE for licensing information. %%% Plop data structures. Heavily based on RFC 6962. Some are for diff --git a/src/plop_app.erl b/src/plop_app.erl index 721623c..12f52ee 100644 --- a/src/plop_app.erl +++ b/src/plop_app.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014-2015, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. -module(plop_app). diff --git a/src/plop_compat.erl b/src/plop_compat.erl index 7466cbc..4c212de 100644 --- a/src/plop_compat.erl +++ b/src/plop_compat.erl @@ -1,3 +1,6 @@ +%%% Copyright (c) 2016, NORDUnet A/S. +%%% See LICENSE for licensing information. + -module(plop_compat). -export([unpack_spki/1, timestamp/0]). -include_lib("public_key/include/public_key.hrl"). diff --git a/src/sign.erl b/src/sign.erl index 492279f..99b83e6 100644 --- a/src/sign.erl +++ b/src/sign.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014-2015, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. %%% %%% @doc Signing service diff --git a/src/timeouts.hrl b/src/timeouts.hrl index 495ea90..2c2b626 100644 --- a/src/timeouts.hrl +++ b/src/timeouts.hrl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014, NORDUnet A/S. +%%% Copyright (c) 2014-2015, NORDUnet A/S. %%% See LICENSE for licensing information. -define(SYNC_INDEXFORHASH_TIMEOUT, 300000). diff --git a/src/util.erl b/src/util.erl index 234b040..206bdd3 100644 --- a/src/util.erl +++ b/src/util.erl @@ -1,4 +1,4 @@ -%%% Copyright (c) 2014, NORDUnet A/S. +%%% Copyright (c) 2014-2016, NORDUnet A/S. %%% See LICENSE for licensing information. -module(util). |