Methods

Files

GSSAPI::LibGSSAPI::ManagedGssBufferDesc

This class implements the gss_buffer_desc type. Use pointer to emulate gss_buffer_t Only functions that need to call gss_release_buffer should use this type. It states in the manpage for each function whether or not it should be called. If it does not you should be using UnManagedGssBufferDesc instead.

Public Class Methods

new(ptr = nil) click to toggle source
# File lib/gssapi/lib_gssapi.rb, line 123
def initialize(ptr = nil)
  if(ptr.nil?)
    super(FFI::Pointer.new(FFI::MemoryPointer.new(self.size)))
  else
    super(ptr)
  end
end
release(ptr) click to toggle source
# File lib/gssapi/lib_gssapi.rb, line 131
def self.release(ptr)
  puts "Releasing ManagedGssBufferDesc at #{ptr.address.to_s(16)}" if $DEBUG
  min_stat = FFI::MemoryPointer.new :OM_uint32
  maj_stat = LibGSSAPI.gss_release_buffer(min_stat, ptr)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.