Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: speed up writing outgoing dns records #1259

Merged
merged 3 commits into from
Sep 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/zeroconf/_dns.pxd
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

import cython

from ._protocol.outgoing cimport DNSOutgoing


cdef object _LEN_BYTE
cdef object _LEN_SHORT
Expand Down Expand Up @@ -66,6 +68,8 @@ cdef class DNSAddress(DNSRecord):

cdef _eq(self, DNSAddress other)

cpdef write(self, DNSOutgoing out)


cdef class DNSHinfo(DNSRecord):

Expand All @@ -75,6 +79,7 @@ cdef class DNSHinfo(DNSRecord):

cdef _eq(self, DNSHinfo other)

cpdef write(self, DNSOutgoing out)

cdef class DNSPointer(DNSRecord):

Expand All @@ -84,6 +89,7 @@ cdef class DNSPointer(DNSRecord):

cdef _eq(self, DNSPointer other)

cpdef write(self, DNSOutgoing out)

cdef class DNSText(DNSRecord):

Expand All @@ -92,6 +98,7 @@ cdef class DNSText(DNSRecord):

cdef _eq(self, DNSText other)

cpdef write(self, DNSOutgoing out)

cdef class DNSService(DNSRecord):

Expand All @@ -104,6 +111,7 @@ cdef class DNSService(DNSRecord):

cdef _eq(self, DNSService other)

cpdef write(self, DNSOutgoing out)

cdef class DNSNsec(DNSRecord):

Expand All @@ -113,6 +121,7 @@ cdef class DNSNsec(DNSRecord):

cdef _eq(self, DNSNsec other)

cpdef write(self, DNSOutgoing out)

cdef class DNSRRSet:

Expand Down