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: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_c_verify_checksum  Verify a checksum krb5_c_verify_checksum Verify a checksum
go to next page: krb5_cc_copy_creds  Copy a set of credentialskrb5_cc_copy_creds Copy a set of credentials
end of book navigation links

krb5_cc_close -- Close the credentials cache 



C Prototype 

krb5_error_code krb5_cc_close(
         krb5_context      context,
         krb5_ccache       id );

Arguments 

context
(input/output)
 The context structure.
id (input/output)  A credentials cache identifier.

Description 

This routine closes the credentials cache id, invalidates id, and releases id and any other resources acquired during use of the credentials cache. It requires that id identifies a valid credentials cache. After return, id must not be used unless it is first reinitialized using krb5_cc_resolve or krb5_cc_gen_new.

Return Values 

This routine returns the following KRB5 status code:

Successful completion.



go to previous page: krb5_c_verify_checksum  Verify a checksum krb5_c_verify_checksum Verify a checksum
go to next page: krb5_cc_copy_creds  Copy a set of credentialskrb5_cc_copy_creds Copy a set of credentials