diff options
author | Marvin Borner | 2021-03-26 21:55:50 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-26 22:02:20 +0100 |
commit | 05498860e8f7b1e8bb27880bc7526de026694804 (patch) | |
tree | 3bddf16e9439a950a3810d45e42a5cefdbcb7663 /libs/libnet/dns.h | |
parent | a96e9c4c858d47f61b89d879aa0ce6a02bdacb38 (diff) |
Renamed libs
Cleaner and more flexible.
Diffstat (limited to 'libs/libnet/dns.h')
-rw-r--r-- | libs/libnet/dns.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libs/libnet/dns.h b/libs/libnet/dns.h new file mode 100644 index 0000000..d6673e6 --- /dev/null +++ b/libs/libnet/dns.h @@ -0,0 +1,21 @@ +// MIT License, Copyright (c) 2020 Marvin Borner + +#ifndef DNS_H +#define DNS_H + +#include <def.h> + +#define DNS_NOERROR 0 +#define DNS_FORMERR 1 +#define DNS_SERVFAIL 2 +#define DNS_NXDOMAIN 3 +#define DNS_NOTIMP 4 +#define DNS_REFUSED 5 +#define DNS_YXDOMAIN 6 +#define DNS_XRRSET 7 +#define DNS_NOTAUTH 8 +#define DNS_NOTZONE 9 + +u32 dns_request(const char *name); + +#endif |