mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
IPv6 related refactoring
This commit is contained in:
1 parent
d7abd53062
commit
29534218d7
11 files changed
+193
-89
No files matched your search
@@ -5,10 +5,11 @@
|
||||
|
||||
struct mg_dns_message {
|
||||
uint16_t txnid; // Transaction ID
|
||||
bool resolved; // Resolve successful, ipaddr is set
|
||||
uint32_t ipaddr; // Resolved IPv4 address
|
||||
char name[256]; // Host name
|
||||
};
|
||||
|
||||
void mg_resolve(struct mg_mgr *, struct mg_connection *, struct mg_str *, int);
|
||||
void mg_resolve_cancel(struct mg_mgr *, struct mg_connection *);
|
||||
int mg_dns_parse(const uint8_t *buf, size_t len, struct mg_dns_message *);
|
||||
bool mg_dns_parse(const uint8_t *buf, size_t len, struct mg_dns_message *);
|
||||
Reference in new issue
Block a user