nfqws: special case for ip looking hostnames

This commit is contained in:
bol-van
2025-08-01 11:21:23 +03:00
parent 2d704a859d
commit dfe36aee4c
9 changed files with 109 additions and 35 deletions

View File

@@ -33,6 +33,8 @@ bool append_to_list_file(const char *filename, const char *s);
void expand_bits(void *target, const void *source, unsigned int source_bitlen, unsigned int target_bytelen);
bool strip_host_to_ip(char *host);
void print_sockaddr(const struct sockaddr *sa);
void ntop46(const struct sockaddr *sa, char *str, size_t len);
void ntop46_port(const struct sockaddr *sa, char *str, size_t len);