mirror of
https://github.com/jgamblin/Mirai-Source-Code
synced 2025-11-09 20:12:59 +00:00
Code Upload
Code Upload
This commit is contained in:
12
mirai/bot/resolv.h
Executable file
12
mirai/bot/resolv.h
Executable file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
struct resolv_entries {
|
||||
uint8_t addrs_len;
|
||||
ipv4_t *addrs;
|
||||
};
|
||||
|
||||
void resolv_domain_to_hostname(char *, char *);
|
||||
struct resolv_entries *resolv_lookup(char *);
|
||||
void resolv_entries_free(struct resolv_entries *);
|
||||
Reference in New Issue
Block a user