Commit c13cb9b8 authored by Sean Zeng's avatar Sean Zeng

optimize the ctypes import

parent 0fe48a46
...@@ -13,7 +13,7 @@ import sys ...@@ -13,7 +13,7 @@ import sys
from ssnet import SockWrapper, Handler, Proxy, Mux, MuxWrapper from ssnet import SockWrapper, Handler, Proxy, Mux, MuxWrapper
from helpers import log, debug1, debug2, debug3, Fatal, islocal from helpers import log, debug1, debug2, debug3, Fatal, islocal
from fcntl import ioctl from fcntl import ioctl
from ctypes import * from ctypes import c_char, c_uint8, c_uint16, c_uint32, Union, Structure, sizeof, addressof, memmove
recvmsg = None recvmsg = None
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment