typedef struct {
char *app_id;
char *ifname;
- char *imsi;
+ char *subscriber_id;
stc_iface_type_e iftype;
stc_restriction_state_e rst_state;
stc_roaming_type_e roaming;
void *user_data);
-stc_error_e table_restrictions_get_restriction_state_imsi(const char *app_id,
+stc_error_e table_restrictions_get_restriction_state_subscriber_id(const char *app_id,
stc_iface_type_e iftype,
- const char *imsi_hash,
+ const char *subscriber_id,
stc_restriction_state_e *state);
stc_error_e table_restrictions_get_restriction_state(const char *app_id,
stc_error_e table_restrictions_delete(const char *app_id,
const stc_iface_type_e iftype,
- const char *imsi);
+ const char *subscriber_id);
stc_error_e table_restrictions_prepare(sqlite3 *db);