From a9bb4776d6000ced0fdbcbee731a13d5ebf1922c Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 19 Jul 2007 10:36:05 +0000 Subject: New function time_diff() (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@4461 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- include/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h index 2ed7607c..24416616 100644 --- a/include/common.h +++ b/include/common.h @@ -627,6 +627,9 @@ int int_in_list(char *list, int value); int uint64_in_list(char *list, zbx_uint64_t value); int ip_in_list(char *list, char *ip); +/* Time related functions */ +double time_diff(struct timeval *from, struct timeval *to); + int MAIN_ZABBIX_ENTRY(void); -- cgit