|
|
@ -1,4 +1,4 @@
|
|
|
|
// Created by cgo -godefs - DO NOT EDIT
|
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
|
|
|
// cgo -godefs types_freebsd.go
|
|
|
|
// cgo -godefs types_freebsd.go
|
|
|
|
|
|
|
|
|
|
|
|
package host
|
|
|
|
package host
|
|
|
@ -9,7 +9,7 @@ const (
|
|
|
|
sizeofInt = 0x4
|
|
|
|
sizeofInt = 0x4
|
|
|
|
sizeofLong = 0x8
|
|
|
|
sizeofLong = 0x8
|
|
|
|
sizeofLongLong = 0x8
|
|
|
|
sizeofLongLong = 0x8
|
|
|
|
sizeOfUtmpx = 197 // TODO: why should 197, not 0x118
|
|
|
|
sizeOfUtmpx = 0xc5
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
type (
|
|
|
|
type (
|
|
|
@ -27,18 +27,11 @@ type Utmp struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type Utmpx struct {
|
|
|
|
type Utmpx struct {
|
|
|
|
Type int16
|
|
|
|
Type uint8
|
|
|
|
Tv Timeval
|
|
|
|
Tv uint64
|
|
|
|
Id [8]int8
|
|
|
|
Id [8]int8
|
|
|
|
Pid int32
|
|
|
|
Pid uint32
|
|
|
|
User [32]int8
|
|
|
|
User [32]int8
|
|
|
|
Line [16]int8
|
|
|
|
Line [16]int8
|
|
|
|
Host [125]int8
|
|
|
|
Host [128]int8
|
|
|
|
// Host [128]int8
|
|
|
|
|
|
|
|
// X__ut_spare [64]int8
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type Timeval struct {
|
|
|
|
|
|
|
|
Sec [4]byte
|
|
|
|
|
|
|
|
Usec [3]byte
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|