mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Remove disused iovec
iovec is no longer used due to migration from relevant recvmsg ctypes call.
This commit is contained in:
parent
f6fc539df9
commit
90b90ade9c
@ -76,14 +76,6 @@ class sockaddr_ll(ctypes.Structure):
|
||||
('sll_halen', ctypes.c_ubyte),
|
||||
('sll_addr', ctypes.c_ubyte * 20)]
|
||||
|
||||
class iovec(ctypes.Structure): # from uio.h
|
||||
_fields_ = [('iov_base', ctypes.c_void_p),
|
||||
('iov_len', ctypes.c_size_t)]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
sendto = libc.sendto
|
||||
sendto.argtypes = [ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,
|
||||
|
Loading…
Reference in New Issue
Block a user