skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: GSSAPI (Generic Security Services Application... GSSAPI (Generic Security Services Application...
go to previous page: gss_process_context_token  Pass a security context to the security service gss_process_context_token Pass a security context to the security...
go to next page: gss_release_cred  Mark a credential for deletiongss_release_cred Mark a credential for deletion
end of book navigation links

gss_release_buffer -- Free storage associated with a buffer 



C Prototype 

OM_uint32 gss_release_buffer(
      OM_uint32           minor_status,
      gss_buffer_t        buffer );

Arguments 

minor_status
(output)
 An implementation-specific status code.
buffer (input/output) The storage associated with the buffer will be deleted. The gss_buffer_desc object will not be freed, but its length field will be zeroed.

Description 

This routine frees storage associated with a buffer. The storage must have been allocated by a GSSAPI routine. In addition to freeing the associated storage, the routine will zero the length field in the descriptor to which the buffer argument refers. Any buffer object returned by a GSSAPI routine may be passed to gss_release_buffer (even if there is no storage associated with the buffer).

Return Values 

This routine returns the following GSS status code:

GSS_S_COMPLETE
Successful completion.


go to previous page: gss_process_context_token  Pass a security context to the security service gss_process_context_token Pass a security context to the security...
go to next page: gss_release_cred  Mark a credential for deletiongss_release_cred Mark a credential for deletion