diff options
author | Linus Nordberg <linus@nordu.net> | 2014-05-05 12:02:55 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2014-05-05 12:02:55 +0200 |
commit | 05401ea36bbd7926fbdc0f792542135f551d3c0b (patch) | |
tree | 87a0e307c98121ae1ea7f32abfa22578d4769910 /include/plop.hrl | |
parent | 68ca71b9fe73eab56306aabc0b510c162d839fed (diff) |
Define #sth{} and have sth() return those.
Diffstat (limited to 'include/plop.hrl')
-rw-r--r-- | include/plop.hrl | 8 |
1 files changed, 8 insertions, 0 deletions
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]). |