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::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::SockaddrStorage, IpAdapterAddressesLh, IpAdapterUnicastAddressLH, IpAdapterUnicastAddressXPUnionStruct, OsVersionInfoEx, PerformanceInformation, SockAddr, SocketAddress, Sys::Filesystem::Structs::Statvfs, SystemInfo
Class Method Summary collapse
Class Method Details
.read_list(first_address) ⇒ Object
57 58 59 60 61 62 63 |
# File 'lib/facter/resolvers/windows/ffi/ffi.rb', line 57 def self.read_list(first_address) instance = new(first_address) while instance.to_ptr != Pointer::NULL yield(instance) instance = new(instance[:Next]) end end |