Added an sqlite3-based database logging version of catch_surge.c. Requires
commit919443f7bf3f687508691551501b5b522b86c82f
authorpmawhorter <pmawhorter@41346f4f-9218-0410-8fd7-88ad852d3538>
Tue, 10 Jul 2007 20:11:30 +0000 (10 20:11 +0000)
committerpmawhorter <pmawhorter@41346f4f-9218-0410-8fd7-88ad852d3538>
Tue, 10 Jul 2007 20:11:30 +0000 (10 20:11 +0000)
treedc18d9b996007ef62bd2ccbc556de68bfd0207a7
parentce2555c7257adaa9ed60f98b88d9508651e7c143
Added an sqlite3-based database logging version of catch_surge.c. Requires
sqlite3 (available for free), but provides a way to log surge messages into
a database without much setup. Makefile has been updated to provide means for
compiling with sqlite3. README has been updated to discuss new functionality.

I'm not sure that some of the things I did in surge_db.c were good programming practice, particularly my uses of sprintf, so please point out what would be correct if I've gone about things the wrong way and I'll change things.

-Peter Mawhorter

git-svn-id: svn+ssh://projects.nesl.ucla.edu/projects/subversion/public/sos-2x/trunk@559 41346f4f-9218-0410-8fd7-88ad852d3538
tools/sos_catch/Makefile
tools/sos_catch/README
tools/sos_catch/setup_db.c [new file with mode: 0644]
tools/sos_catch/surge_db.c [new file with mode: 0644]