eap_fast_add_pac() function
eap_fast_add_pac - Add a copy of a PAC entry to a list @pac_root: Pointer to PAC list root pointer @pac_current: Pointer to the current PAC pointer @entry: New entry to clone and add to the list Returns: 0 on success, -1 on failure This function makes a clone of the given PAC entry and adds this copied entry to the list (pac_root). If an old entry for the same A-ID is found, it will be removed from the PAC list and in this case, pac_current entry is set to %NULL if it was the removed entry.