Class: GSSAPI::LibGSSAPI::GssCredIdT

Inherits:
GssPointer
  • Object
show all
Defined in:
lib/gssapi/lib_gssapi.rb

Overview

gss_cred_id_t

Class Method Summary collapse

Methods inherited from GssPointer

#address_of, release

Class Method Details

.release_ptr(cred_ptr) ⇒ Object


192
193
194
195
196
# File 'lib/gssapi/lib_gssapi.rb', line 192

def self.release_ptr(cred_ptr)
  puts "Releasing gss_cred_id_t at #{cred_ptr.address.to_s(16)}" if $DEBUG
  min_stat = FFI::MemoryPointer.new :OM_uint32
  maj_stat = LibGSSAPI.gss_release_cred(min_stat, cred_ptr)
end