11
22import cython
33
4+ from ._protocol.outgoing cimport DNSOutgoing
5+
46
57cdef object _LEN_BYTE
68cdef object _LEN_SHORT
@@ -66,6 +68,8 @@ cdef class DNSAddress(DNSRecord):
6668
6769 cdef _eq(self , DNSAddress other)
6870
71+ cpdef write(self , DNSOutgoing out)
72+
6973
7074cdef class DNSHinfo(DNSRecord):
7175
@@ -75,6 +79,7 @@ cdef class DNSHinfo(DNSRecord):
7579
7680 cdef _eq(self , DNSHinfo other)
7781
82+ cpdef write(self , DNSOutgoing out)
7883
7984cdef class DNSPointer(DNSRecord):
8085
@@ -84,6 +89,7 @@ cdef class DNSPointer(DNSRecord):
8489
8590 cdef _eq(self , DNSPointer other)
8691
92+ cpdef write(self , DNSOutgoing out)
8793
8894cdef class DNSText(DNSRecord):
8995
@@ -92,6 +98,7 @@ cdef class DNSText(DNSRecord):
9298
9399 cdef _eq(self , DNSText other)
94100
101+ cpdef write(self , DNSOutgoing out)
95102
96103cdef class DNSService(DNSRecord):
97104
@@ -104,6 +111,7 @@ cdef class DNSService(DNSRecord):
104111
105112 cdef _eq(self , DNSService other)
106113
114+ cpdef write(self , DNSOutgoing out)
107115
108116cdef class DNSNsec(DNSRecord):
109117
@@ -113,6 +121,7 @@ cdef class DNSNsec(DNSRecord):
113121
114122 cdef _eq(self , DNSNsec other)
115123
124+ cpdef write(self , DNSOutgoing out)
116125
117126cdef class DNSRRSet:
118127
0 commit comments