mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Added option to reseed from ZIP file
This commit is contained in:
parent
8a2c4ab3de
commit
21e23d5511
4 changed files with 43 additions and 25 deletions
8
Reseed.h
8
Reseed.h
|
@ -21,7 +21,10 @@ namespace data
|
|||
|
||||
Reseeder();
|
||||
~Reseeder();
|
||||
int ReseedNowSU3 ();
|
||||
int ReseedFromServers ();
|
||||
int ReseedFromSU3Url (const std::string& url);
|
||||
int ProcessSU3File (const char * filename);
|
||||
int ProcessZIPFile (const char * filename);
|
||||
|
||||
void LoadCertificates ();
|
||||
|
||||
|
@ -29,9 +32,6 @@ namespace data
|
|||
|
||||
void LoadCertificate (const std::string& filename);
|
||||
|
||||
int ReseedFromSU3 (const std::string& url);
|
||||
int ProcessSU3File (const char * filename);
|
||||
int ProcessZIPFile (const char * filename);
|
||||
int ProcessSU3Stream (std::istream& s);
|
||||
int ProcessZIPStream (std::istream& s, uint64_t contentLength);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue