import: Only read last time from sql if --incremental lacks timestamp
[nagios-reports-module.git] / utils.h
blob873c7643f68d839cb1ad7a9b118cd539ac5c8c7b
1 #ifndef UTILS_H
2 #define UTILS_H
3 #include "hash.h"
5 #define CAT_STATE(__state, __type) ((__state | (__type << 8)))
7 extern int dt_depth_host(int type, char *host_name);
8 extern int dt_depth_svc(int type, char *host_name, char *service_description);
9 extern int prime_initial_states(hash_table *host_states, hash_table *svc_states);
10 #endif /* UTILS_H */