From 05401ea36bbd7926fbdc0f792542135f551d3c0b Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 5 May 2014 12:02:55 +0200 Subject: Define #sth{} and have sth() return those. --- include/plop.hrl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/plop.hrl') diff --git a/include/plop.hrl b/include/plop.hrl index e8247d8..0f687d0 100644 --- a/include/plop.hrl +++ b/include/plop.hrl @@ -40,4 +40,12 @@ }). -type plop_entry() :: #plop_entry{}. +-record(sth, { + treesize :: integer(), + timestamp :: integer(), + roothash :: binary(), + signature :: binary() + }). +-type sth() :: #sth{}. + -export_type([timestamped_entry/0, mtl/0, entry_type/0]). -- cgit v1.1