Add display version

This commit is contained in:
Nick Peng
2019-06-22 15:41:14 +08:00
parent e7e0a5d4af
commit 4357847641
4 changed files with 48 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
#define SMART_DNS_UTIL_H
#include <netdb.h>
#include <time.h>
#include "stringutil.h"
#define PORT_NOT_DEFINED -1
@@ -56,4 +57,6 @@ int create_pid_file(const char *pid_file);
*/
int parse_tls_header(const char *data, size_t data_len, char *hostname, const char **hostname_ptr);
void get_compiled_time(struct tm *tm);
#endif