Stupid winsock needs special way to close sockets.
[dftpd.git] / DataBufferListing.hpp
blob0803e4a567cf480c203a0dd7b410c418dcfc5a37
1 #ifndef __DFTPD__DATABUFFERLISTING_HPP__
2 #define __DFTPD__DATABUFFERLISTING_HPP__
4 #include <string>
5 #include <list>
6 #include "DataBuffer.hpp"
8 class DataBufferListing : public DataBuffer
10 public:
11 DataBufferListing( const std::list<std::string>& list );
12 ~DataBufferListing();
14 int Read( void* ptr, int size );
16 private:
17 std::string m_buf;
18 int m_offset;
21 #endif