From b3fd60e6407b3af029672218b0bff7bb30e7a9d9 Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 30 Dec 2021 12:20:42 +0800 Subject: Add ping check (-p). Support custom error handling command (-c). Add runtime params validation for logging. --- netcheck.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'netcheck.h') 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 -- cgit v1.2.3