]> git.ipfire.org Git - thirdparty/squid.git/commit - src/acl/HierCodeData.cc
Cleanup: Split some enums into their own files. auto-generate their text name arrays.
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 23 Aug 2009 05:13:09 +0000 (17:13 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 23 Aug 2009 05:13:09 +0000 (17:13 +1200)
commit4b9818146759f53eed44b7f1541acf7c7e3c5e69
tree57ccec93361788697d7b55ff0662fa6e87a5439a
parent33380a2d5fbf3ee58c1b8026347e461356c2ba57
Cleanup: Split some enums into their own files. auto-generate their text name arrays.

Also updates the enum strings generator to work with any given header file.
The header does however need to be named identical to the enum and not pull
in any other definitions that require .cc content. The generated .cc will
only contain the minimal includes and enum string array global.
24 files changed:
configure.in
src/HierarchyLogEntry.h
src/Makefile.am
src/StoreSwapLogData.cc
src/access_log.cc
src/acl/Gadgets.h
src/acl/HierCodeData.cc
src/enums.h
src/err_type.h [new file with mode: 0644]
src/fs/ufs/store_dir_ufs.cc
src/fs/ufs/ufscommon.cc
src/globals.h
src/hier_code.cc [deleted file]
src/hier_code.h
src/icp_opcode.h [new file with mode: 0644]
src/mk-string-arrays.awk
src/neighbors.cc
src/peer_select.cc
src/protos.h
src/store.cc
src/store_dir.cc
src/store_swapout.cc
src/structs.h
src/swap_log_op.h [new file with mode: 0644]