1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-24 10:14:13 +00:00
i2pd/Reseed.h

33 lines
416 B
C
Raw Normal View History

#ifndef RESEED_H
#define RESEED_H
2014-12-11 15:41:04 -05:00
#include <iostream>
#include <string>
#include <vector>
namespace i2p
{
namespace data
{
class Reseeder
{
public:
2014-12-11 15:41:04 -05:00
Reseeder();
~Reseeder();
2014-12-11 15:41:04 -05:00
bool reseedNow(); // depreacted
int ReseedNowSU3 ();
private:
int ReseedFromSU3 (const std::string& host);
};
2014-12-11 15:41:04 -05:00
int ProcessSU3File (const char * filename);
int ProcessSU3Stream (std::istream& s);
}
}
2014-11-20 14:29:22 -05:00
#endif