plugin.audio.librespot/resources/lib/deps/zeroconf/_utils/ipaddress.pxd

15 lines
336 B
Cython
Raw Normal View History

2024-02-21 06:17:59 +00:00
cdef bint TYPE_CHECKING
cdef bint IPADDRESS_SUPPORTS_SCOPE_ID
from .._dns cimport DNSAddress
cpdef get_ip_address_object_from_record(DNSAddress record)
@cython.locals(address_str=str)
cpdef str_without_scope_id(object addr)
cpdef ip_bytes_and_scope_to_address(object addr, object scope_id)
cdef object cached_ip_addresses_wrapper