Merge pull request #340 from kiwix/perf_kiwix_serve

Perf kiwix serve
This commit is contained in:
Kelson 2016-10-10 07:42:02 +01:00 committed by GitHub
commit e21c1b2c75
1 changed files with 1 additions and 1 deletions

View File

@ -81,6 +81,7 @@ namespace kiwix {
bool parseUrl(const string &url, char *ns, string &title); bool parseUrl(const string &url, char *ns, string &title);
unsigned int getFileSize(); unsigned int getFileSize();
zim::File* getZimFileHandler(); zim::File* getZimFileHandler();
bool getArticleObjectByDecodedUrl(const string &url, zim::Article &article);
protected: protected:
zim::File* zimFileHandler; zim::File* zimFileHandler;
@ -95,7 +96,6 @@ namespace kiwix {
private: private:
std::map<std::string, unsigned int> parseCounterMetadata(); std::map<std::string, unsigned int> parseCounterMetadata();
bool getArticleObjectByDecodedUrl(const string &url, zim::Article &article);
}; };
} }