mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
16 lines
425 B
C
16 lines
425 B
C
#ifndef COSMOPOLITAN_LIBC_DNS_DNSQUESTION_H_
|
|
#define COSMOPOLITAN_LIBC_DNS_DNSQUESTION_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
struct DnsQuestion {
|
|
const char *qname;
|
|
uint16_t qtype;
|
|
uint16_t qclass;
|
|
};
|
|
|
|
int SerializeDnsQuestion(uint8_t *, size_t, const struct DnsQuestion *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_DNS_DNSQUESTION_H_ */
|