Sha256: 3bffdca350971fc753d5d172cfc5fccc39d774f58a17f5333249b4e5c5aa0733

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

require 'ffi/libc/types'
require 'ffi/libc/sock_addr_family'

module FFI
  module LibC
    #
    # The generic `sock_addr` structure.
    #
    class SockAddr < SockAddrFamily

      layout :len, :uint8,
             :family, :sa_family_t,
             :data, :char

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ffi-libc-0.0.5 lib/ffi/libc/sock_addr.rb
ffi-libc-0.0.4 lib/ffi/libc/sock_addr.rb
ffi-libc-0.0.3 lib/ffi/libc/sock_addr.rb
ffi-libc-0.0.2 lib/ffi/libc/sock_addr.rb