class Ronin::Support::Binary::CTypes::OS::BSD

Common types shared by all BSD OSes.

@api private

@since 1.0.0

Public Class Methods

new(types) click to toggle source

Initializes the common BSD types object.

@param [#[]] types

The base types module.
Calls superclass method
# File lib/ronin/support/binary/ctypes/os/bsd.rb, line 41
def initialize(types)
  super(types)

  typedef :long_long,  :__int64_t
  typedef :ulong_long, :__uint64_t
  typedef :long_long,  :int64_t

  typedef :long_long,  :quad_t
  typedef :ulong_long, :u_quad_t

  typedef :string, :caddr_t
  typedef :uint, :fixpt_t
  typedef :long_long, :off_t
  typedef :pointer, :qaddr_t
  typedef :uchar, :sa_family_t
  typedef :int, :segsz_t
  typedef :uint, :useconds_t
end