mirror of git://git.sysmocom.de/ofono
gril: Remove g_ril_request_pin_send
This commit is contained in:
parent
740bac3584
commit
44c04f8c1f
|
@ -72,7 +72,6 @@
|
|||
#define ROOTMF_SZ sizeof(ROOTMF)
|
||||
|
||||
/* RIL_Request* parameter counts */
|
||||
#define ENTER_SIM_PIN_PARAMS 2
|
||||
#define SET_FACILITY_LOCK_PARAMS 5
|
||||
#define ENTER_SIM_PUK_PARAMS 3
|
||||
#define CHANGE_SIM_PIN_PARAMS 3
|
||||
|
@ -581,20 +580,6 @@ error:
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
void g_ril_request_pin_send(GRil *gril,
|
||||
const char *passwd,
|
||||
const gchar *aid_str,
|
||||
struct parcel *rilp)
|
||||
{
|
||||
parcel_init(rilp);
|
||||
|
||||
parcel_w_int32(rilp, ENTER_SIM_PIN_PARAMS);
|
||||
parcel_w_string(rilp, passwd);
|
||||
parcel_w_string(rilp, aid_str);
|
||||
|
||||
g_ril_append_print_buf(gril, "(%s,aid=%s)", passwd, aid_str);
|
||||
}
|
||||
|
||||
gboolean g_ril_request_pin_change_state(GRil *gril,
|
||||
const struct req_pin_change_state *req,
|
||||
struct parcel *rilp)
|
||||
|
|
|
@ -151,11 +151,6 @@ gboolean g_ril_request_sim_write_record(GRil *gril,
|
|||
const struct req_sim_write_record *req,
|
||||
struct parcel *rilp);
|
||||
|
||||
void g_ril_request_pin_send(GRil *gril,
|
||||
const char *passwd,
|
||||
const gchar *aid_str,
|
||||
struct parcel *rilp);
|
||||
|
||||
gboolean g_ril_request_pin_change_state(GRil *gril,
|
||||
const struct req_pin_change_state *req,
|
||||
struct parcel *rilp);
|
||||
|
|
Loading…
Reference in New Issue