mirror of git://git.sysmocom.de/ofono
simutil: Add sim_app_record free
This commit is contained in:
parent
984d88492d
commit
134b163182
|
@ -1549,6 +1549,12 @@ gboolean sim_cphs_is_active(unsigned char *cphs, enum sim_cphs_service index)
|
||||||
return ((cphs[index / 4] >> ((index % 4) * 2)) & 3) == 3;
|
return ((cphs[index / 4] >> ((index % 4) * 2)) & 3) == 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void sim_app_record_free(struct sim_app_record *app)
|
||||||
|
{
|
||||||
|
g_free(app->label);
|
||||||
|
g_free(app);
|
||||||
|
}
|
||||||
|
|
||||||
GSList *sim_parse_app_template_entries(const unsigned char *buffer, int len)
|
GSList *sim_parse_app_template_entries(const unsigned char *buffer, int len)
|
||||||
{
|
{
|
||||||
GSList *ret = NULL;
|
GSList *ret = NULL;
|
||||||
|
|
|
@ -517,6 +517,7 @@ gboolean sim_sst_is_active(unsigned char *service_sst, unsigned char len,
|
||||||
gboolean sim_cphs_is_active(unsigned char *service_cphs,
|
gboolean sim_cphs_is_active(unsigned char *service_cphs,
|
||||||
enum sim_cphs_service index);
|
enum sim_cphs_service index);
|
||||||
|
|
||||||
|
void sim_app_record_free(struct sim_app_record *app);
|
||||||
GSList *sim_parse_app_template_entries(const unsigned char *buffer, int len);
|
GSList *sim_parse_app_template_entries(const unsigned char *buffer, int len);
|
||||||
|
|
||||||
int sim_build_umts_authenticate(unsigned char *buffer, int len,
|
int sim_build_umts_authenticate(unsigned char *buffer, int len,
|
||||||
|
|
Loading…
Reference in New Issue