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//
6// This program is made available under the GNU GPL version 2.0 or
7// greater. See the accompanying file COPYING for details.
8//
9// This program is distributed WITHOUT ANY WARRANTY; without even the
10// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11// PURPOSE.
12
13#include "vocab.hh"
14
15#include <string>
16
17// epochs are pairs (branch name, random data)
18
19void read_epoch(std::string const & in,
20 branch_name & branch, epoch_data & epoch);
21void write_epoch(branch_name const & branch, epoch_data const & epoch,
22 std::string & out);
23void epoch_hash_code(branch_name const & branch, epoch_data const & epoch,
24 epoch_id & eid);
25
26// Local Variables:
27// mode: C++
28// fill-column: 76
29// c-file-style: "gnu"
30// indent-tabs-mode: nil
31// End:
32// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
33
34#endif

Archive Download this file

Branches

Tags

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