Sha256: fc3e91b5909f693fd94b17c48f1d80b2d1589c791bbd5b9e4cb52412d605618f

Contents?: true

Size: 1.12 KB

Versions: 27

Compression:

Stored size: 1.12 KB

Contents

module RubySMB
  module Fscc
    module FileInformation
      # The FileModeInformation Class as defined in
      # [2.4.26 FileModeInformation](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/52df7798-8330-474b-ac31-9afe8075640c)
      class FileModeInformation < BinData::Record
        CLASS_LEVEL = FileInformation::FILE_MODE_INFORMATION

        endian :little

        struct  :flags do
          bit2   :reserved
          bit1   :file_synchronous_io_nonalert,   label: 'File Synchronous IO Nonalert'
          bit1   :file_synchronous_io_alert,      label: 'File Synchronous IO Alert'
          bit1   :file_no_intermediate_buffering, label: 'File No Intermediate Buffering'
          bit1   :file_sequential_only,           label: 'File Sequential Only'
          bit1   :file_write_through,             label: 'File Write Through'
          bit1   :reserved2
          # byte boundary
          bit3   :reserved3
          bit1   :file_delete_on_close,           label: 'File Delete On Close'
          bit4   :reserved4
          # byte boundary
          bit16  :reserved5
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby_smb-3.3.12 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.11 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.10 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.9 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.7 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.6 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.5 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.4 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.3 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.2 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.1 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.3.0 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.8 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.7 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.6 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.5 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.4 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.3 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.2 lib/ruby_smb/fscc/file_information/file_mode_information.rb
ruby_smb-3.2.1 lib/ruby_smb/fscc/file_information/file_mode_information.rb