Class: FFI::Struct
- Inherits:
-
Object
- Object
- FFI::Struct
- Defined in:
- lib/facter/resolvers/windows/ffi/ffi.rb
Direct Known Subclasses
AdapterAddressStruct, DummyStructName, Facter::Resolvers::Aix::FFI::IfMsghdr, Facter::Resolvers::Aix::FFI::In6Addr, Facter::Resolvers::Aix::FFI::InAddr, Facter::Resolvers::Aix::FFI::Sockaddr, Facter::Resolvers::Aix::FFI::SockaddrDl, Facter::Resolvers::Aix::FFI::SockaddrIn, Facter::Resolvers::Aix::FFI::SockaddrIn6, Facter::Resolvers::Aix::FFI::SockaddrStorage, Facter::Resolvers::Solaris::FFI::Arpreq, Facter::Resolvers::Solaris::FFI::In6Addr, Facter::Resolvers::Solaris::FFI::InAddr, Facter::Resolvers::Solaris::FFI::Lifconf, Facter::Resolvers::Solaris::FFI::Lifnum, Facter::Resolvers::Solaris::FFI::Lifreq, Facter::Resolvers::Solaris::FFI::Sockaddr, Facter::Resolvers::Solaris::FFI::SockaddrIn, Facter::Resolvers::Solaris::FFI::SockaddrIn6, Facter::Resolvers::Solaris::FFI::SockaddrStorage, Facter::Util::Resolvers::Ffi::AddrInfo, IpAdapterAddressesLh, IpAdapterUnicastAddressLH, IpAdapterUnicastAddressXPUnionStruct, OsVersionInfoEx, PerformanceInformation, SockAddr, SocketAddress, SystemInfo
Class Method Summary collapse
Class Method Details
.read_list(first_address) ⇒ Object
64 65 66 67 68 69 70 |
# File 'lib/facter/resolvers/windows/ffi/ffi.rb', line 64 def self.read_list(first_address) instance = new(first_address) while instance.to_ptr != Pointer::NULL yield(instance) instance = new(instance[:Next]) end end |