monotone

monotone Mtn Source Tree

Root/src/netsync.hh

1// Copyright (C) 2005 and later by various people
2// see monotone commit logs for details and authors
3//
4// This program is made available under the GNU GPL version 2.0 or
5// greater. See the accompanying file COPYING for details.
6//
7// This program is distributed WITHOUT ANY WARRANTY; without even the
8// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9// PURPOSE.
10
11#ifndef __NETSYNC_HH__
12#define __NETSYNC_HH__
13
14#include "netcmd.hh"
15#include "network/connection_info.hh"
16
17struct server_initiated_sync_request
18{
19 std::string address;
20 std::string include;
21 std::string exclude;
22 protocol_role role;
23};
24
25void run_netsync_protocol(app_state & app,
26 options & opts, lua_hooks & lua,
27 project_t & project, key_store & keys,
28 protocol_voice voice,
29 protocol_role role,
30 shared_conn_info & info,
31 shared_conn_counts const & counts);
32
33#endif
34
35// Local Variables:
36// mode: C++
37// fill-column: 76
38// c-file-style: "gnu"
39// indent-tabs-mode: nil
40// End:
41// vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:

Archive Download this file

Branches

Tags

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