monotone

monotone Mtn Source Tree

Root/network.hh

1#ifndef __NETWORK_HH__
2#define __NETWORK_HH__
3
4// copyright (C) 2002, 2003 graydon hoare <graydon@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 <boost/shared_ptr.hpp>
10#include <boost/lexical_cast.hpp>
11#include <string>
12#include <set>
13#include <iostream>
14
15#include "vocab.hh"
16
17void open_connection(std::string const & proto_name,
18 std::string const & host,
19 unsigned long port,
20 boost::shared_ptr<std::iostream> & stream,
21 app_state & app);
22
23void post_queued_blobs_to_network(std::set<url> const & targets,
24 app_state & app);
25
26void fetch_queued_blobs_from_network(std::set<url> const & sources,
27 app_state & app);
28
29
30#endif // __NETWORK_HH__

Archive Download this file

Branches

Tags

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