Furrent
Classes | Namespaces | Typedefs | Enumerations | Functions
peer.hpp File Reference
#include <cstdint>
#include <string>
#include <vector>
#include "util/result.hpp"
Include dependency graph for peer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fur::peer::Peer
 Represents a single peer as given by the tracker. More...
 
struct  fur::peer::Announce
 The response sent from the tracker when announcing. More...
 

Namespaces

 fur
 Common types used in all the project.
 
 fur::peer
 

Typedefs

using fur::peer::PeerResult = util::Result< Announce, PeerError >
 

Enumerations

enum  fur::peer::PeerError { fur::peer::PeerError::ParserError, fur::peer::PeerError::AnnounceError }
 

Functions

PeerResult fur::peer::announce (const TorrentFile &torrent_f)