host_freebsd_amd64.go 530 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs types_freebsd.go
  3. package host
  4. const (
  5. sizeofPtr = 0x8
  6. sizeofShort = 0x2
  7. sizeofInt = 0x4
  8. sizeofLong = 0x8
  9. sizeofLongLong = 0x8
  10. sizeOfUtmpx = 0xc5
  11. )
  12. type (
  13. _C_short int16
  14. _C_int int32
  15. _C_long int64
  16. _C_long_long int64
  17. )
  18. type Utmp struct {
  19. Line [8]int8
  20. Name [16]int8
  21. Host [16]int8
  22. Time int32
  23. }
  24. type Utmpx struct {
  25. Type uint8
  26. Tv uint64
  27. Id [8]int8
  28. Pid uint32
  29. User [32]int8
  30. Line [16]int8
  31. Host [128]int8
  32. }