host_linux_amd64.go 852 字节
Newer Older
S
Shirou WAKAYAMA 已提交
1 2
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_linux.go
3

S
Shirou WAKAYAMA 已提交
4
package host
5

S
Shirou WAKAYAMA 已提交
6
const (
7 8 9 10 11 12
	sizeofPtr      = 0x8
	sizeofShort    = 0x2
	sizeofInt      = 0x4
	sizeofLong     = 0x8
	sizeofLongLong = 0x8
	sizeOfUtmp     = 0x180
S
Shirou WAKAYAMA 已提交
13 14 15
)

type (
16 17 18 19
	_C_short     int16
	_C_int       int32
	_C_long      int64
	_C_long_long int64
S
Shirou WAKAYAMA 已提交
20
)
21 22

type utmp struct {
23 24 25 26 27 28 29 30 31 32 33 34
	Type              int16
	Pad_cgo_0         [2]byte
	Pid               int32
	Line              [32]int8
	Id                [4]int8
	User              [32]int8
	Host              [256]int8
	Exit              exit_status
	Session           int32
	Tv                _Ctype_struct___0
	Addr_v6           [4]int32
	X__glibc_reserved [20]int8
S
Shirou WAKAYAMA 已提交
35 36
}
type exit_status struct {
37 38
	Termination int16
	Exit        int16
S
Shirou WAKAYAMA 已提交
39
}
40
type timeval struct {
41 42
	Sec  int64
	Usec int64
43 44 45
}

type _Ctype_struct___0 struct {
46 47
	Sec  int32
	Usec int32
48
}