// goal: creates a Cred struct given the username, password, and next credential // param username: char* representing the username // param password: char* representing the password // param next: Cred struct pointer representing the next credential // return: a Cred struct pointer to a credential with the specified fields // // TODO: complete the function struct Cred* cred(char* username, char* password, struct Cred* next) { return NULL; } // goal: frees a list of credentials // param head: pointer to first credential in the list // // TODO: complete the function void cred_free(struct Cred* head) { }