Replaced imsi to subscriber ID
[platform/core/connectivity/stc-manager.git] / src / database / include / table-restrictions.h
index fe275e1..d972b87 100755 (executable)
@@ -20,7 +20,7 @@
 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;
@@ -41,9 +41,9 @@ stc_error_e table_restrictions_per_app(const gchar *app_id,
                                       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,
@@ -54,7 +54,7 @@ stc_error_e table_restrictions_update(table_restrictions_info *info);
 
 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);