Lines Matching refs:credential
220 http_credential_t *credential; /* Credential data */ in httpAddCredential() local
223 if ((credential = malloc(sizeof(http_credential_t))) != NULL) in httpAddCredential()
225 credential->datalen = datalen; in httpAddCredential()
227 if ((credential->data = malloc(datalen)) != NULL) in httpAddCredential()
229 memcpy(credential->data, data, datalen); in httpAddCredential()
230 cupsArrayAdd(credentials, credential); in httpAddCredential()
234 free(credential); in httpAddCredential()
734 http_credential_t *credential; /* Credential */ in httpFreeCredentials() local
737 for (credential = (http_credential_t *)cupsArrayFirst(credentials); in httpFreeCredentials()
738 credential; in httpFreeCredentials()
739 credential = (http_credential_t *)cupsArrayNext(credentials)) in httpFreeCredentials()
741 cupsArrayRemove(credentials, credential); in httpFreeCredentials()
742 free((void *)credential->data); in httpFreeCredentials()
743 free(credential); in httpFreeCredentials()