Makefile: Add target to run sql-dependant tests
[nagios-reports-module.git] / utils.h
blob1ea1683ac3880fc343c8d22392492c0bc9110fb1
1 #ifndef UTILS_H
2 #define UTILS_H
3 #include "hash.h"
4 #include "mm.h"
6 #define CAT_STATE(__state, __type) ((__state | (__type << 8)))
8 extern int dt_depth_host(int type, char *host_name);
9 extern int dt_depth_svc(int type, char *host_name, char *service_description);
10 extern int prime_initial_states(hash_table *host_states, hash_table *svc_states);
11 #endif /* UTILS_H */