minor optimize

This commit is contained in:
Nick Peng
2019-08-16 20:13:09 +08:00
parent 6291c17d6a
commit 87f04571b1
14 changed files with 127 additions and 80 deletions

View File

@@ -7,6 +7,10 @@
#include <time.h>
#include "stringutil.h"
#ifdef __cplusplus
extern "C" {
#endif /*__cplusplus */
#define PORT_NOT_DEFINED -1
#define MAX_IP_LEN 64
@@ -61,4 +65,7 @@ int parse_tls_header(const char *data, size_t data_len, char *hostname, const ch
void get_compiled_time(struct tm *tm);
#ifdef __cplusplus
}
#endif /*__cplusplus */
#endif