mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
reseed from SU3
This commit is contained in:
12
Reseed.h
12
Reseed.h
@@ -1,6 +1,7 @@
|
||||
#ifndef RESEED_H
|
||||
#define RESEED_H
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -12,12 +13,19 @@ namespace data
|
||||
class Reseeder
|
||||
{
|
||||
public:
|
||||
|
||||
Reseeder();
|
||||
~Reseeder();
|
||||
bool reseedNow();
|
||||
bool reseedNow(); // depreacted
|
||||
int ReseedNowSU3 ();
|
||||
|
||||
private:
|
||||
|
||||
int ReseedFromSU3 (const std::string& host);
|
||||
};
|
||||
|
||||
void ProcessSU3File (const char * filename);
|
||||
int ProcessSU3File (const char * filename);
|
||||
int ProcessSU3Stream (std::istream& s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user