You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
477 B
30 lines
477 B
/*
|
|
* 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_ */
|
|
|