mirror of
https://github.com/transmission/transmission
synced 2024-12-28 10:38:45 +00:00
3b72a1feea
* refactor: use C++ inheritance for tr_peer, tr_peerMsgs, and tr_webseed
19 lines
441 B
C++
19 lines
441 B
C++
/*
|
|
* This file Copyright (C) 2008-2014 Mnemosyne LLC
|
|
*
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#ifndef __TRANSMISSION__
|
|
#error only libtransmission should #include this header.
|
|
#endif
|
|
|
|
#include <string_view>
|
|
|
|
#include "peer-common.h"
|
|
|
|
tr_peer* tr_webseedNew(struct tr_torrent* torrent, std::string_view, tr_peer_callback callback, void* callback_data);
|