A simple C/C++ database daemon
Here is a simple C/C++ daemon for watching MySQL tables for updates. This is a full working program that illustrates how to build a daemon, that uses MySQL C/C++ connector and Google glog for logging. This daemon also uses a simple emailer that employs a pipe to execute the mail trasport agent (MTA) in our Debian system. Postfix sendmail is our MTA.