1
0
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:
Jerry Gamblin
2016-10-02 18:44:20 -05:00
commit 6a5941be68
63 changed files with 10956 additions and 0 deletions

12
mirai/bot/resolv.h Executable file
View 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 *);