]> git.ipfire.org Git - thirdparty/squid.git/commit
Update Packable API to implement vappendf() method
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Mar 2015 14:06:31 +0000 (06:06 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Mar 2015 14:06:31 +0000 (06:06 -0800)
commit7ea88f0a88ed01623e2ef6ce608adc6701d590c4
treea3bacae59226a201ba6144c5c423cc73d7ae72e5
parent17802cf1f353c3f32d31b4767d4cb76bad35c4c8
Update Packable API to implement vappendf() method

The backend classes actually implement the vappendf()
base function receiving va_list args object.

The Printf() implementations are all duplicate code. So
provide that function in terms of a virtual vappendf().

vappendf() is incidentally the name used by SBuf API for
this operation and avoids the global vprintf() libc
definition.
src/Packer.cc
src/Packer.h
src/base/Packable.h