cred_union
cc_uint32 cci_cred_union_release (cred_union *io_cred_union)
cred_union **out_cred_union)
cred_union *compat_cred_union = NULL;
cc_uint32 cci_cred_union_to_credentials_union (const cred_union *in_cred_union,
cc_uint32 cci_cred_union_compare_to_credentials_union (const cred_union *in_cred_union_compat,
cc_uint32 cci_cred_union_release (cred_union *io_cred_union);
cred_union **out_cred_union);
cc_uint32 cci_cred_union_to_credentials_union (const cred_union *in_cred_union,
cc_uint32 cci_cred_union_compare_to_credentials_union (const cred_union *in_cred_union_compat,
cred_union in_credentials)
cred_union in_credentials)
cred_union **out_creds,
cred_union **io_credentials)
err = cci_credentials_union_write (in_credentials->cred_union, io_stream);
cc_credentials_union *cred_union;
err = cci_credentials_union_read (&credentials->cred_union, in_stream);
if (!err && !(credentials->cred_union->version & in_ccache_version)) {
cci_credentials_union_release (io_credentials->cred_union);
cc_credentials_union *cred_union = NULL;
cred_union = malloc (sizeof (*cred_union));
if (cred_union) {
cred_union->version = cc_credentials_v5;
cred_union->credentials.credentials_v5 = v5creds;
*out_union = *cred_union;
cred_union = NULL;
cc_result check_once_cc_store(apiCB *context, ccache_p *ccache, const cred_union in_creds, cc_int32 expected_err, const char *description) {
cred_union *creds = NULL;
cred_union *creds_array[10];
cred_union creds;
cc_result check_once_cc_remove_cred(apiCB *context, ccache_p *ccache, cred_union in_creds, cc_int32 expected_err, const char *description) {
cred_union *creds = NULL;
static void release_v5_creds_union_compat(cred_union *creds_union) {
cred_union creds_union;
cred_union *creds = NULL;
cred_union creds_union;
static int compare_v5_creds_unions_compat(const cred_union *a, const cred_union *b) {
static cc_result new_v5_creds_union_compat (cred_union *out_union, const char *realm)
cred_union *creds_union = NULL;
cred_union creds_union;
cc_result check_once_cc_store(apiCB *context, ccache_p *ccache, const cred_union in_creds, cc_int32 expected_err, const char *description);
cc_result check_once_cc_remove_cred(apiCB *context, ccache_p *ccache, cred_union in_creds, cc_int32 expected_err, const char *description);
cred_union in_credentials)
cred_union in_credentials)
cred_union **out_cred_union,
cred_union **io_cred_union)
cc_credentials_union *cred_union = NULL;
err = k5_krb5_to_ccapi_creds (context, creds, &cred_union);
err = cc_ccache_store_credentials (ccapi_data->NamedCache, cred_union);
if (cred_union) { k5_release_ccapi_cred (cred_union); }
cc_credentials_union *cred_union = NULL;
cred_union = k5alloc(sizeof(*cred_union), &ret);
if (cred_union == NULL)
cred_union->version = cc_credentials_v5;
cred_union->credentials.credentials_v5 = cv5;
*ccapi_cred_out = cred_union;
cred_union = NULL;
free(cred_union);
const cred_union creds // > credentials to be copied into NC
const cred_union cred // > credentials to remove from NC
cred_union** creds, // < filled in by DLL, free via cc_free_creds()
cred_union** cred,
cred_union** pCred // <> cred (from cc_seq_fetch_creds()) to be freed