Fix type for iniparser upgrade 13/223013/1 accepted/tizen/unified/20200203.125835 submit/tizen/20200123.014139 submit/tizen/20200130.043231
authorsinikang <sinikang@samsung.com>
Wed, 22 Jan 2020 06:37:38 +0000 (15:37 +0900)
committersinikang <sinikang@samsung.com>
Wed, 22 Jan 2020 06:37:38 +0000 (15:37 +0900)
Change-Id: I8ff13aa22472d08d2993b381e630ca204333c42a
Signed-off-by: sinikang <sinikang@samsung.com>
packaging/tel-plugin-packetservice.spec
src/ps_context.c

index d80d949326dae301a75d462ef846d77dc3a073e2..50354e131c1e353a5d621bab94dcc76a0323ecf9 100644 (file)
@@ -4,7 +4,7 @@
 
 %define major 0
 %define minor 4
-%define patchlevel 29
+%define patchlevel 30
 
 Name:           tel-plugin-packetservice
 Version:        %{major}.%{minor}.%{patchlevel}
index aba68821cafb1fd3aea2e07e8d9da4d300274a32..b958a419644b91eff0e3716d6afd4873ce7369bd 100644 (file)
@@ -1055,7 +1055,7 @@ static gboolean __ps_context_remove_profile_tuple(dictionary *dic, int profile_i
        gpointer handle;
        gboolean rv = FALSE;
        GHashTable *in_param;
-       gchar *network_info_id;
+       const char *network_info_id;
        gchar *section_key = NULL;
        char szQuery[5000];
 
@@ -1105,7 +1105,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        in_param = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, g_free);
 
        { /* profile id */
-               gchar *profile_id;
+               const char *profile_id;
                gchar *item_key = NULL;
                int max_profile_id = -1;
                item_key = g_strdup_printf("connection:profile_id_%d", profile_index);
@@ -1130,7 +1130,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* profile name */
-               gchar *profile_name;
+               const char *profile_name;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:profile_name_%d", profile_index);
                profile_name = iniparser_getstring(dic, item_key, NULL);
@@ -1142,7 +1142,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* apn */
-               gchar *apn;
+               const char *apn;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:apn_%d", profile_index);
                apn = iniparser_getstring(dic, item_key, NULL);
@@ -1155,7 +1155,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* auth type */
-               gchar *auth_type;
+               const char *auth_type;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:auth_type_%d", profile_index);
                auth_type = iniparser_getstring(dic, item_key, NULL);
@@ -1167,7 +1167,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* auth id */
-               gchar *auth_id;
+               const char *auth_id;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:auth_id_%d", profile_index);
                auth_id = iniparser_getstring(dic, item_key, NULL);
@@ -1176,7 +1176,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* auth pwd */
-               gchar *auth_pwd;
+               const char *auth_pwd;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:auth_pwd_%d", profile_index);
                auth_pwd = iniparser_getstring(dic, item_key, NULL);
@@ -1185,7 +1185,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* pdp protocol */
-               gchar *pdp_protocol;
+               const char *pdp_protocol;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:pdp_protocol_%d", profile_index);
                pdp_protocol = iniparser_getstring(dic, item_key, NULL);
@@ -1197,7 +1197,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* roam pdp protocol */
-               gchar *roam_pdp_protocol;
+               const char *roam_pdp_protocol;
                gchar *item_key = NULL;
                item_key = g_strdup_printf("connection:roam_pdp_protocol_%d", profile_index);
                roam_pdp_protocol = iniparser_getstring(dic, item_key, NULL);
@@ -1209,7 +1209,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* proxy ip */
-               gchar *proxy_ip_addr;
+               const char *proxy_ip_addr;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:proxy_ip_addr_%d", profile_index);
                proxy_ip_addr = iniparser_getstring(dic, section_key, NULL);
@@ -1218,7 +1218,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* home url */
-               gchar *home_url;
+               const char *home_url;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:home_url_%d", profile_index);
                home_url = iniparser_getstring(dic, section_key, NULL);
@@ -1227,7 +1227,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* linger time */
-               gchar *linger_time;
+               const char *linger_time;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:linger_time_%d", profile_index);
                linger_time = iniparser_getstring(dic, section_key, NULL);
@@ -1236,7 +1236,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* traffic class */
-               gchar *traffic_class;
+               const char *traffic_class;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:traffic_class_%d", profile_index);
                traffic_class = iniparser_getstring(dic, section_key, NULL);
@@ -1245,7 +1245,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* is static ip address */
-               gchar *is_static_ip_addr;
+               const char *is_static_ip_addr;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:is_static_ip_addr_%d", profile_index);
                is_static_ip_addr = iniparser_getstring(dic, section_key, NULL);
@@ -1254,7 +1254,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* ip address if static ip is true */
-               gchar *ip_addr;
+               const char *ip_addr;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:ip_addr_%d", profile_index);
                ip_addr = iniparser_getstring(dic, section_key, NULL);
@@ -1263,7 +1263,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* is static dns address */
-               gchar *is_static_dns_addr;
+               const char *is_static_dns_addr;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:is_static_dns_addr_%d", profile_index);
                is_static_dns_addr = iniparser_getstring(dic, section_key, NULL);
@@ -1272,7 +1272,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* dns address 1 */
-               gchar *dns_addr1;
+               const char *dns_addr1;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:dns_addr1_%d", profile_index);
                dns_addr1 = iniparser_getstring(dic, section_key, NULL);
@@ -1281,7 +1281,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* dns address 2 */
-               gchar *dns_addr2;
+               const char *dns_addr2;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:dns_addr2_%d", profile_index);
                dns_addr2 = iniparser_getstring(dic, section_key, NULL);
@@ -1290,7 +1290,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* network info id */
-               gchar *network_info_id;
+               const char *network_info_id;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:network_info_id_%d", profile_index);
                network_info_id = iniparser_getstring(dic, section_key, NULL);
@@ -1299,7 +1299,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* service category id */
-               gchar *svc_category_id;
+               const char *svc_category_id;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:svc_category_id_%d", profile_index);
                svc_category_id = iniparser_getstring(dic, section_key, NULL);
@@ -1311,7 +1311,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* hidden */
-               gchar *hidden;
+               const char *hidden;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:hidden_%d", profile_index);
                hidden = iniparser_getstring(dic, section_key, NULL);
@@ -1323,7 +1323,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* editable */
-               gchar *editable;
+               const char *editable;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:editable_%d", profile_index);
                editable = iniparser_getstring(dic, section_key, NULL);
@@ -1335,7 +1335,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* default internet connection */
-               gchar *default_internet_con;
+               const char *default_internet_con;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:default_internet_con_%d", profile_index);
                default_internet_con = iniparser_getstring(dic, section_key, NULL);
@@ -1347,7 +1347,7 @@ static gboolean __ps_context_insert_profile_tuple(dictionary *dic, int profile_i
        }
 
        { /* insert data into table */
-               gchar *is_roaming_apn;
+               const char *is_roaming_apn;
                gchar *section_key = NULL;
                section_key = g_strdup_printf("connection:is_roaming_apn_%d", profile_index);
                is_roaming_apn = iniparser_getstring(dic, section_key, NULL);