5 #ifndef CVMFS_NETWORK_SINK_H_
6 #define CVMFS_NETWORK_SINK_H_
29 virtual int64_t
Write(
const void *buf, uint64_t sz) = 0;
37 virtual int Reset() = 0;
48 virtual int Purge() = 0;
65 virtual int Flush() = 0;
104 #endif // CVMFS_NETWORK_SINK_H_
virtual bool RequiresReserve()=0
virtual std::string Describe()=0
virtual bool Reserve(size_t size)=0
virtual int64_t Write(const void *buf, uint64_t sz)=0