1
0

icmp.h 243 B

123456789101112131415
  1. #ifndef HV_ICMP_H_
  2. #define HV_ICMP_H_
  3. #include "hexport.h"
  4. BEGIN_EXTERN_C
  5. // @param cnt: ping count
  6. // @return: ok count
  7. // @note: printd $CC -DPRINT_DEBUG
  8. int ping(const char* host, int cnt DEFAULT(4));
  9. END_EXTERN_C
  10. #endif // HV_ICMP_H_