summaryrefslogtreecommitdiff
path: root/netcheck.h
diff options
context:
space:
mode:
authorKeuin <[email protected]>2021-12-30 12:20:42 +0800
committerKeuin <[email protected]>2021-12-30 12:20:42 +0800
commitb3fd60e6407b3af029672218b0bff7bb30e7a9d9 (patch)
tree1536fec6761b9913a47117725fd5b4b5f70caa62 /netcheck.h
parent5651bc231389ebfa05e3750a431b33c28f4ed205 (diff)
Add ping check (-p).
Support custom error handling command (-c). Add runtime params validation for logging.
Diffstat (limited to 'netcheck.h')
-rw-r--r--netcheck.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/netcheck.h b/netcheck.h
index 3bea521..173d6fd 100644
--- a/netcheck.h
+++ b/netcheck.h
@@ -6,6 +6,8 @@
#define NETMON_NETCHECK_H
-int check_network(void *logger);
+int check_tcp(void *logger);
+
+int check_ping(void *logger, const char *dest, const char *ping);
#endif //NETMON_NETCHECK_H