summaryrefslogtreecommitdiffhomepage
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-10 19:12:43 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-10 19:12:43 +0200
commit34a1a4bad31ba6f138cd6a98249c774ff66285d1 (patch)
tree0e6f0b0af6edbb66490145b47fc5b60c9d58608c /system.h
parent3085170188cc5bf04f4cfb6f07c292e06d2b40a8 (diff)
add interface uptime to the status info
Diffstat (limited to 'system.h')
-rw-r--r--system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/system.h b/system.h
index 7600417..392e46b 100644
--- a/system.h
+++ b/system.h
@@ -1,6 +1,7 @@
#ifndef __NETIFD_SYSTEM_H
#define __NETIFD_SYSTEM_H
+#include <sys/time.h>
#include <sys/socket.h>
#include "device.h"
#include "interface-ip.h"
@@ -43,4 +44,6 @@ int system_del_address(struct device *dev, struct device_addr *addr);
int system_add_route(struct device *dev, struct device_route *route);
int system_del_route(struct device *dev, struct device_route *route);
+time_t system_get_rtime(void);
+
#endif