mirror of
https://github.com/estkme-group/lpac
synced 2024-07-07 09:16:56 +02:00
es10c: refactor api name
This commit is contained in:
parent
abdf1e9bbf
commit
921390dce5
|
@ -188,7 +188,7 @@ int es10c_get_profiles_info(struct euicc_ctx *ctx, struct es10c_profile_info_lis
|
|||
|
||||
err:
|
||||
fret = -1;
|
||||
es10c_profile_info_free_all(*profileInfoList);
|
||||
es10c_profile_info_list_free_all(*profileInfoList);
|
||||
exit:
|
||||
free(respbuf);
|
||||
respbuf = NULL;
|
||||
|
@ -510,7 +510,7 @@ exit:
|
|||
return fret;
|
||||
}
|
||||
|
||||
void es10c_profile_info_free_all(struct es10c_profile_info_list *profileInfoList)
|
||||
void es10c_profile_info_list_free_all(struct es10c_profile_info_list *profileInfoList)
|
||||
{
|
||||
while (profileInfoList)
|
||||
{
|
||||
|
|
|
@ -66,4 +66,4 @@ int es10c_euicc_memory_reset(struct euicc_ctx *ctx);
|
|||
int es10c_get_eid(struct euicc_ctx *ctx, char **eidValue);
|
||||
int es10c_set_nickname(struct euicc_ctx *ctx, const char *iccid, const char *profileNickname);
|
||||
|
||||
void es10c_profile_info_free_all(struct es10c_profile_info_list *profileInfoList);
|
||||
void es10c_profile_info_list_free_all(struct es10c_profile_info_list *profileInfoList);
|
||||
|
|
|
@ -40,7 +40,7 @@ static int applet_main(int argc, char **argv)
|
|||
|
||||
rptr = rptr->next;
|
||||
}
|
||||
es10c_profile_info_free_all(profiles);
|
||||
es10c_profile_info_list_free_all(profiles);
|
||||
|
||||
jprint_success(jdata);
|
||||
|
||||
|
|
Loading…
Reference in a new issue