diff options
author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-07-19 10:36:05 +0000 |
---|---|---|
committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-07-19 10:36:05 +0000 |
commit | a9bb4776d6000ced0fdbcbee731a13d5ebf1922c (patch) | |
tree | bb55302f74ab87da31abcc755de006abef89ee9d /include/common.h | |
parent | b333c78f6f1754b469019f5e25f0a700d0c47474 (diff) | |
download | zabbix-a9bb4776d6000ced0fdbcbee731a13d5ebf1922c.tar.gz zabbix-a9bb4776d6000ced0fdbcbee731a13d5ebf1922c.tar.xz zabbix-a9bb4776d6000ced0fdbcbee731a13d5ebf1922c.zip |
New function time_diff() (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@4461 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |