initial commit
This commit is contained in:
15
third_party/libhv/protocol/icmp.h
vendored
Executable file
15
third_party/libhv/protocol/icmp.h
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#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_
|
||||
Reference in New Issue
Block a user