blob: d2acca0f4ce538998019356ebe6209f2ac1b08dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* src/record.h
* (c) 2021 Jonas Gunz <himself@jonasgunz.de>
* License: MIT
*/
#pragma once
#include <stdint.h>
#include <strings.h>
#include <sys/types.h>
#include "log.h"
#include "dns.h"
uint16_t record_class_from_str(char* _str);
uint16_t record_type_from_str(char* _str);
ssize_t record_rdata_from_str(void** _rdata, char *_str, uint16_t _rdtype);
|