mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-01-06 10:16:51 -05:00
16 lines
253 B
C
16 lines
253 B
C
#ifndef HV_ICMP_H_
|
|
#define HV_ICMP_H_
|
|
|
|
#include "hexport.h"
|
|
|
|
BEGIN_EXTERN_C
|
|
|
|
// @param cnt: ping count
|
|
// @return: ok count
|
|
// @note: printd $CC -DPRINT_DEBUG
|
|
HV_EXPORT int ping(const char* host, int cnt DEFAULT(4));
|
|
|
|
END_EXTERN_C
|
|
|
|
#endif // HV_ICMP_H_
|