(archbits: int, endian: QL_ENDIAN)
| 107 | |
| 108 | |
| 109 | def make_cmsghdr(archbits: int, endian: QL_ENDIAN): |
| 110 | Struct = struct.get_aligned_struct(archbits, endian) |
| 111 | |
| 112 | class cmsghdr(Struct): |
| 113 | _fields_ = ( |
| 114 | ('cmsg_len', ctypes.c_int32), |
| 115 | ('cmsg_level', ctypes.c_int32), |
| 116 | ('cmsg_type', ctypes.c_int32) |
| 117 | ) |
| 118 | |
| 119 | return cmsghdr |
| 120 | |
| 121 | |
| 122 | def make_iovec(archbits: int, endian: QL_ENDIAN): |
no outgoing calls
no test coverage detected