Looks like the original source is in the nagios code directly: http://sourceforge.net/p/nagios/nagios/ci/master/tree/include/common.h