1 pub type c_long = i32; 2 pub type c_ulong = u32; 3 pub type time_t = i32; 4 5 pub type Elf_Addr = ::Elf32_Addr; 6 pub type Elf_Half = ::Elf32_Half; 7 pub type Elf_Phdr = ::Elf32_Phdr; 8 9 s! { 10 pub struct Elf32_Phdr { 11 pub p_type: ::Elf32_Word, 12 pub p_offset: ::Elf32_Off, 13 pub p_vaddr: ::Elf32_Addr, 14 pub p_paddr: ::Elf32_Addr, 15 pub p_filesz: ::Elf32_Word, 16 pub p_memsz: ::Elf32_Word, 17 pub p_flags: ::Elf32_Word, 18 pub p_align: ::Elf32_Word, 19 } 20 } 21