]> git.ipfire.org Git - thirdparty/squid.git/commit - src/base/Makefile.am
Packable API: Rename StoreEntryStream to PackableStream
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 31 Aug 2015 09:38:51 +0000 (02:38 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 31 Aug 2015 09:38:51 +0000 (02:38 -0700)
commit7e10ac870f7e7a03d3f94ab138e04b8eb1f3bc96
treefe30d5b446d48ae1b9f6968b7049b224ff31aa42
parent67cbbef0c8ae18d6f50c479ea2dc70012840bd48
Packable API: Rename StoreEntryStream to PackableStream

PackableStream has some implicit new properties different from
the original StoreEntryStream type:

* lack of Store.h dependency

* ability to stream into a MemBuf if its creator desires that

Meaning PackableStream can be used in a wider range of the code
without increasing library dependencies.
12 files changed:
src/Makefile.am
src/SBufStatsAction.cc
src/Store.h
src/StoreEntryStream.h [deleted file]
src/base/Makefile.am
src/base/Packable.h
src/base/PackableStream.h [new file with mode: 0644]
src/mem/old_api.cc
src/ssl/context_storage.cc
src/store.cc
src/tests/testPackableStream.cc [moved from src/tests/testStoreEntryStream.cc with 79% similarity]
src/tests/testPackableStream.h [moved from src/tests/testStoreEntryStream.h with 63% similarity]