Class: Ronin::Support::Binary::CTypes::OS::BSD Private
- Inherits:
-
UNIX
- Object
- Ronin::Support::Binary::CTypes::OS
- UNIX
- Ronin::Support::Binary::CTypes::OS::BSD
- Defined in:
- lib/ronin/support/binary/ctypes/os/bsd.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Common types shared by all BSD OSes.
Instance Attribute Summary
Attributes inherited from Ronin::Support::Binary::CTypes::OS
Instance Method Summary collapse
-
#initialize(types) ⇒ BSD
constructor
private
Initializes the common BSD types object.
Methods inherited from Ronin::Support::Binary::CTypes::OS
Constructor Details
#initialize(types) ⇒ BSD
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initializes the common BSD types object.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# 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 |