]> git.ipfire.org Git - thirdparty/squid.git/commit
Moved KidIdentifier to globals to make pinger happy.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 7 Jul 2010 03:17:47 +0000 (21:17 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 7 Jul 2010 03:17:47 +0000 (21:17 -0600)
commit710d3d1d9736cad987dbc1bc3f1262b31909b377
tree6836fb2ae6cfb9c44788fbfc5da824995b5930ff
parent16c8591592e935d1c4a539117a6d27fa900eb495
Moved KidIdentifier to globals to make pinger happy.

Pinger and possibly other optional externals require KidIdentifier via
debugs(). Instead of making KidIdentifier global, we could add a "plugin" API
to add program-dependent stuff to debugs() and friends, but we should not add
that kind of complexity unless really necessary. We could also link pinger
with libipc.la but that will probably cause more problems with IPC
dependencies.
src/globals.h
src/ipc/Kids.cc
src/ipc/Kids.h