summaryrefslogtreecommitdiff
path: root/timer.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:42:01 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 11:42:19 +0200
commit7bd73747fff54cf51642dbbf042c621e59a2c005 (patch)
tree562676064b6eb20b25e6e1fb422d08d54b82e82f /timer.h
parent57968a8ab19b45b5d128656f6bed2581aee2ef22 (diff)
timer: add time management functions
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/timer.h b/timer.h
new file mode 100644
index 0000000..8e869c8
--- /dev/null
+++ b/timer.h
@@ -0,0 +1,9 @@
+#ifndef TIMER_H
+#define TIMER_H
+
+#include <sys/time.h>
+
+extern void set_itimer_interval_value(struct itimerval *itimer, unsigned long sec,
+ unsigned long usec);
+
+#endif /* TIMER_H */