]> git.ipfire.org Git - thirdparty/squid.git/commit
squidclient: --ping mode module support
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 20 Feb 2014 13:03:07 +0000 (06:03 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 20 Feb 2014 13:03:07 +0000 (06:03 -0700)
commit842cd45accfff4352a768d8106a40fc28d736226
tree1340b211b039f40b4fe1b323432c609fffa967ed
parent34401cfbee292b9b06c1efbe1208a37826ba7a6f
squidclient: --ping mode module support

  Module support:

Update squidclient support modules with different logics
and configuration option sets as a basis for multiple
protocol support.

A mechanism is added to allow each module to have its own
command line option set. Any option unknown to the current
module handler drops back to the main loop for processing.

  --ping mode module:

Break the existing code "ping mode" operations and command
line processing out from the main squidclient.cc into Ping.*

Ping-specific short command line options are now only parsed
after a mode flag (--ping) is presented. This frees up the
-g and -I options for use by other non-ping modules in future.

Also, shuffle squidclient code into its own directory
tools/squidclient/ to keep the tool code files clearly
identifiable now that they are multiplying.
configure.ac
tools/Makefile.am
tools/squidclient/Makefile.am [new file with mode: 0644]
tools/squidclient/Parameters.h [new file with mode: 0644]
tools/squidclient/Ping.cc [new file with mode: 0644]
tools/squidclient/Ping.h [new file with mode: 0644]
tools/squidclient/squidclient.1 [moved from tools/squidclient.1 with 92% similarity]
tools/squidclient/squidclient.cc [moved from tools/squidclient.cc with 77% similarity]