monotone

monotone Mtn Source Tree

Root/epoch.hh

1#ifndef __EPOCH_HH__
2#define __EPOCH_HH__
3
4// copyright (C) 2005 nathaniel smith <njs@pobox.com>
5// all rights reserved.
6// licensed to the public under the terms of the GNU GPL (>= 2)
7// see the file COPYING for details
8
9#include "vocab.hh"
10
11#include <string>
12
13// epochs are pairs (branch name, random data)
14
15void read_epoch(std::string const & in,
16 cert_value & branch, epoch_data & epoch);
17void write_epoch(cert_value const & branch, epoch_data const & epoch,
18 std::string & out);
19void epoch_hash_code(cert_value const & branch, epoch_data const & epoch,
20 epoch_id & eid);
21
22#endif

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status