dns_conf: fix relative path issue

This commit is contained in:
Nick Peng
2023-02-09 21:37:35 +08:00
parent 69a2f3bb7f
commit be71e085ad
5 changed files with 26 additions and 3 deletions

View File

@@ -55,6 +55,8 @@ void bug_ext(const char *file, int line, const char *func, const char *errfmt, .
unsigned long get_tick_count(void);
char *dir_name(char *path);
char *get_host_by_addr(char *host, int maxsize, struct sockaddr *addr);
int getaddr_by_host(const char *host, struct sockaddr *addr, socklen_t *addr_len);