qmsk/net/socket/platform.pxd
changeset 11 7ae92c2b433f
parent 10 94b0d5a208c1
child 14 c44754cc1ffe
equal deleted inserted replaced
10:94b0d5a208c1 11:7ae92c2b433f
     1 """
     1 """
     2     Platform definitions for... 64-bit linux. They're all the same, right?
     2     Platform definitions for... 64-bit linux. They're all the same, right?
     3 """
     3 """
     4 
     4 
     5 from libc cimport *
     5 from qmsk.net.libc cimport *
     6 
     6 
     7 cdef extern from "arpa/inet.h" :
     7 cdef extern from "arpa/inet.h" :
     8     # XXX: correct?!
     8     # XXX: correct?!
     9     ctypedef uint32_t socklen_t
     9     ctypedef uint32_t socklen_t
    10     
    10