mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
c46ce2da06
* refactor: add tr_torrentWebseedCount()
21 lines
495 B
C++
21 lines
495 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);
|
|
|
|
tr_webseed_view tr_webseedView(tr_peer const* peer);
|