monotone

monotone Mtn Source Tree

Root/netsync.hh

1#ifndef __NETSYNC_H__
2#define __NETSYNC_H__
3
4// Copyright (C) 2004 Graydon Hoare <graydon@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 <vector>
14
15#include "app_state.hh"
16#include "netcmd.hh"
17#include "vocab.hh"
18
19typedef enum
20 {
21 server_voice,
22 client_voice
23 }
24protocol_voice;
25
26void run_netsync_protocol(protocol_voice voice,
27 protocol_role role,
28 utf8 const & addr,
29 utf8 const & include_pattern,
30 utf8 const & exclude_pattern,
31 app_state & app);
32
33// Local Variables:
34// mode: C++
35// fill-column: 76
36// c-file-style: "gnu"
37// indent-tabs-mode: nil
38// End:
39// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
40
41#endif // __NETSYNC_H__

Archive Download this file

Branches

Tags

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