krb5_rc_register_type()--Define New Replay Cache Type


  Syntax
 #include <krb5.h>

 krb5_error_code krb5_rc_register_type(  
     krb5_context     context,  
     krb5_rc_ops *      ops); 
  Service Program Name: QSYS/QKRBGSS

  Default Public Authority: *USE

  Threadsafe: Yes

The krb5_rc_register_type() function allows an application to define a new replay cache type. An error is returned if the replay cache type has already been registered. Once the new type is registered, it can be used by any thread in the current process and activation group. The type is not known outside the current process and activation group, and is no longer registered when the application ends.


Authorities

No authorities are required.


Parameters

context  (Input)
The Kerberos context.

ops  (Input)
The replay cache operations vector. This vector defines the routines that will be called to perform the various replay cache operations for the new type.

Return Value

If no errors occur, the return value is 0. Otherwise, a Kerberos error code is returned.


Error Messages

Message ID Error Message Text
CPE3418 E Possible APAR condition or hardware failure.



API introduced: V5R1

[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]