diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-03 17:58:36 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-03 17:58:36 +0200 |
commit | 92ba06d58475fd4ab07d8e3b1efa6993f1f02340 (patch) | |
tree | 385a511835136fb2d190df05651b03c015690e91 /include | |
parent | ee52b3eab8cc7feb49fa6db964b94b35e2bc8bac (diff) | |
download | crawler-92ba06d58475fd4ab07d8e3b1efa6993f1f02340.tar.gz crawler-92ba06d58475fd4ab07d8e3b1efa6993f1f02340.tar.bz2 |
added an experimental curl fetcher
Diffstat (limited to 'include')
-rwxr-xr-x | include/crawler/SpoolRewindInputStream.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crawler/SpoolRewindInputStream.hpp b/include/crawler/SpoolRewindInputStream.hpp index f065271..523c1b6 100755 --- a/include/crawler/SpoolRewindInputStream.hpp +++ b/include/crawler/SpoolRewindInputStream.hpp @@ -18,9 +18,11 @@ class spool_streambuf : public std::streambuf protected: CRAWLER_DLL_VISIBLE virtual std::streambuf::int_type readFromSource( ) = 0; + CRAWLER_DLL_VISIBLE std::streambuf::int_type spoolSourceData( char *data, size_t n ); private: CRAWLER_DLL_VISIBLE int_type underflow( ); + CRAWLER_DLL_VISIBLE void spoolData( size_t n ); private: const size_t m_putBack; |