[krbdev.mit.edu #3091] add krb5_cc_new_unique() 
    Ken Raeburn via RT 
    rt-comment at krbdev.mit.edu
       
    Wed Jun  8 15:03:39 EDT 2005
    
    
  
On Jun 8, 2005, at 14:07, Jeffrey Altman via RT wrote:
> /*
>  * Generates a new unique ccache of `type` in `id'. The supplied
>  * `hint' (that can be NULL) is a string that the credential cache
>  * type can use to base the name of the credential on, this is to make
>  * its easier for the user to differentiate the credentials.
>  *
>  *  Returns 0 or an error code.
>  */
>
> krb5_error_code
> krb5_cc_new_unique(krb5_context context, const char *type,
> 		   const char *hint, krb5_ccache *id)
And how is this different from krb5_cc_gen_new, which should also 
create a unique credentials cache?  Oh, yes, that one requires a ccache 
object as input, and this one takes a type name.  The name should 
should reflect that.  The words "new unique" could apply to either 
interface.
How about krb5_cc_gen_by_type(_name)?
    
    
More information about the krb5-bugs
mailing list