Skip to content

Commit

Permalink
feat: speed up writing outgoing dns records (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Sep 7, 2023
1 parent cd41743 commit 248655f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/zeroconf/_dns.pxd
@@ -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

0 comments on commit 248655f

Please sign in to comment.