/*
 * Copyright (c) 2021, Erich Styger
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef MAIN_PING_H_
#define MAIN_PING_H_

#ifdef __cplusplus
extern "C" {
#endif

/*!
 * \brief performs a network ping
 * \param host host name or address
 * \return 0 for ok, negative values for error
 */
int PING_cmd_do_ping(const char *host);

/*!
 * \brief Module initialization
 */
void PING_cmd_Init(void);

#ifdef __cplusplus
}  /* extern "C" */
#endif

#endif /* MAIN_PING_H_ */
