mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-19 11:09:42 +00:00
7.0 refactor
This commit is contained in:
1 parent
34d4fb8cf0
commit
f2fba1d200
838 files changed
+14236
-255316
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "net.h"
|
||||
#include "str.h"
|
||||
|
||||
struct mg_dns_message {
|
||||
uint16_t txnid; // Transaction ID
|
||||
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 *);
|
||||
Reference in new issue
Block a user