mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
18 lines
486 B
C
18 lines
486 B
C
|
|
||
|
#include <string>
|
||
|
#include <inttypes.h>
|
||
|
|
||
|
|
||
|
/* NOTE. At the moment only the bootstrapfile is actually used.
|
||
|
* peerId is ignored (a random peerId is searched for). ip & port are not filled in either.
|
||
|
*
|
||
|
* This is mainly to finish testing.
|
||
|
*
|
||
|
* Once the best form of the return functions is decided (ipv4 structure, or strings).
|
||
|
* this can be finished off.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
bool bdSingleShotFindPeer(const std::string bootstrapfile, const std::string peerId, std::string &ip, uint16_t &port);
|
||
|
|