Merge private git and rsa git 2.0alpha master 2.0_alpha submit/master/20120920.151115
authoradre.chang <adre.chang@samsung.com>
Fri, 7 Sep 2012 01:20:24 +0000 (10:20 +0900)
committeradre.chang <adre.chang@samsung.com>
Fri, 7 Sep 2012 01:20:24 +0000 (10:20 +0900)
Signed-off-by: adre.chang <adre.chang@samsung.com>
include/type/sms.h
packaging/libtcore.spec
src/co_context.c
src/util.c

index 8902102..3c27244 100755 (executable)
@@ -856,11 +856,11 @@ struct treq_sms_get_cb_config {
 };
 
 struct treq_sms_set_cb_config {
-       int net3gppType;  /* < Type of 3gpp, 0x01 . 3gpp. 0x02 . 3gpp2 ( CDMA ) */
-       int cbEnabled; /* < CB service state. If cb_enabled is true then cell broadcast service will be enabled and underlying modem will enable CB Channel to receiving CB messages. Otherwise CB service will be disabled, underlying modem will deactivate the CB channel. ( enabled/disabled ) */
-       unsigned char msgIdMaxCount; /* < CB Channel List Max Count For Response */
-       int msgIdRangeCount; /* < Range of CB message ID count */
-       union telephony_sms_cb_msg_info_u msgIDs[SMS_GSM_SMS_CBMI_LIST_SIZE_MAX]; /* < Range of CB message ID information */
+       int net3gppType;  /**< Type of 3gpp, 0x01 . 3gpp. 0x02 . 3gpp2(CDMA) */
+       int cbEnabled; /**< CB service state. If cb_enabled is true then cell broadcast service will be enabled and underlying modem will enable CB Channel to receiving CB messages. Otherwise CB service will be disabled, underlying modem will deactivate the CB channel. (enabled/disabled) */
+       unsigned char msgIdMaxCount; /**< CB Channel List Max Count For Response */
+       int msgIdRangeCount; /**< Range of CB message ID count */
+       union telephony_sms_cb_msg_info_u msgIDs[SMS_GSM_SMS_CBMI_LIST_SIZE_MAX]; /**< Range of CB message ID information */
 };
 
 struct treq_sms_set_mem_status {
index 7357551..4d7c1bd 100644 (file)
@@ -44,6 +44,7 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 #%doc COPYING
 %{_libdir}/libtcore*
+#%{_bindir}/*
 
 %files devel
 %defattr(-,root,root,-)
index dce8a7f..3f1596c 100644 (file)
@@ -712,6 +712,7 @@ void tcore_context_cp_service_info(CoreObject *dest, CoreObject *src)
        memcpy(&(d_po->dns_primary_v4), &(s_po->dns_primary_v4), sizeof(union tcore_ip4_type));
        memcpy(&(d_po->dns_secondary_v4), &(s_po->dns_secondary_v4), sizeof(union tcore_ip4_type));
        memcpy(&(d_po->gateway_v4), &(s_po->gateway_v4), sizeof(union tcore_ip4_type));
+       memcpy(d_po->devname, s_po->devname, sizeof(char) * 16);
 
        return;
 }
index cfdd355..0f3c2a0 100644 (file)
@@ -653,7 +653,7 @@ GHashTable *tcore_util_marshal_deserialize_string(const gchar *serialized_string
                return ht;
        }
 
-       tuple = g_strsplit((gchar *) serialized_string, "/", 0);
+       tuple = g_strsplit((gchar *) serialized_string, " ", 0);
 
        while (strlen(tuple[index]) > 3) {
                int tmp = 0;
@@ -713,7 +713,7 @@ gchar *tcore_util_marshal_serialize(GHashTable *ht)
                encoded_d = g_base64_encode((guchar *)tmp, (gsize)strlen(tmp));
                g_free(tmp);
 
-               g_string_append_printf(gstring_tmp, "%s:%d:%s/", (gchar *)key,
+               g_string_append_printf(gstring_tmp, "%s:%d:%s ", (gchar *)key,
                                gtype, encoded_d);
                g_free((gpointer)encoded_d);
                g_value_unset(&gval);