test: add some test and fix some bugs

This commit is contained in:
Nick Peng
2023-03-15 23:57:25 +08:00
parent a14d4a0451
commit 2e3e03bfda
9 changed files with 272 additions and 89 deletions

View File

@@ -21,9 +21,9 @@
#include <netdb.h>
#include <sys/time.h>
#ifdef __cpluscplus
#ifdef __cplusplus
extern "C" {
#endif
#endif /*__cplusplus */
typedef enum {
PING_TYPE_ICMP = 1,
@@ -54,8 +54,8 @@ int fast_ping_init(void);
void fast_ping_exit(void);
#ifdef __cpluscplus
#ifdef __cplusplus
}
#endif
#endif /*__cplusplus */
#endif // !FAST_PING_H