summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/pingmgmt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/usr/pingmgmt.h b/src/include/usr/pingmgmt.h
new file mode 100644
index 000000000..4a2efc3bd
--- /dev/null
+++ b/src/include/usr/pingmgmt.h
@@ -0,0 +1,16 @@
+#ifndef _USR_PINGMGMT_H
+#define _USR_PINGMGMT_H
+
+/** @file
+ *
+ * ICMP ping management
+ *
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <stdint.h>
+
+extern int ping ( const char *hostname, unsigned long timeout_ms, size_t len );
+
+#endif /* _USR_PINGMGMT_H */