/* * File: bronx_foundation.h * Author: dfeinsmith * * Created on September 17, 2007, 1:00 PM */ #ifndef _UTILS_H #define _UTILS_H // Set DEBUG to 1 if you want a profusion of output in your [nagios.log] and console, // otherwise, set it to 0, and it will complain only when there is something wrong. #define DEBUG 1 // Define off64_t for non-64-bit platforms, for use with apr 1.0 or higher #ifndef off64_t #define off64_t long #endif // Define NSCORE so we get access to the extended fields in Nagios objects #ifndef NSCORE #define NSCORE // We do this so we can get extended information from our structures #endif /* include the needed NAGIOS event broker header files */ #include "nebstructs.h" /* Include required APR libraries */ #include #include #include #include #include #include #include #include #include #ifdef __cplusplus extern "C" { #endif apr_status_t foundationConnect(configuration_criteria *, apr_socket_t **sock, apr_pool_t *mp); #ifdef __cplusplus } #endif #endif /* _UTILS_H */