release tizen_2.0 beta
[framework/telephony/tel-plugin-socket_communicator.git] / plugin / src / socket_pb.c
index 8231c53..9a360c0 100644 (file)
@@ -67,11 +67,13 @@ gboolean scomm_service_reqeust_pb(unsigned int ch_id, Communicator *c, TcorePlug
 
        g_slist_free(co_list);
 
+#if 0
        if (cmd == TAPI_SERVICE_PB_GET_INITINFO ) {
                /*synchronous data return case*/
                out_o.cmd = cmd;
                out_o.mo = sipc_util_marshal_object_create();
        } else {
+#endif
                /*asynchronous data return case*/
                ur = tcore_user_request_new(c, tcore_plugin_get_description(plugin)->name);
                if (!ur) {
@@ -88,9 +90,12 @@ gboolean scomm_service_reqeust_pb(unsigned int ch_id, Communicator *c, TcorePlug
                        dbg("err - data deserializer failed");
                        return FALSE;
                }
+#if 0
        }
+#endif
 
        switch (cmd) {
+#if 0
                case TAPI_SERVICE_PB_GET_INITINFO : {
                        gboolean g_init;
                        struct tel_phonebook_support_list *g_pb_list;
@@ -110,7 +115,7 @@ gboolean scomm_service_reqeust_pb(unsigned int ch_id, Communicator *c, TcorePlug
                        g_free(tmp);
                }
                        break;
-
+#endif
                case TAPI_SERVICE_PB_GET_COUNT : {
                        struct treq_phonebook_get_count pb_count;
                        enum tel_phonebook_type g_pb_type;
@@ -122,7 +127,7 @@ gboolean scomm_service_reqeust_pb(unsigned int ch_id, Communicator *c, TcorePlug
                }
                        break;
 
-               case TAPI_SERVICE_PB_GET_META : {
+               case TAPI_SERVICE_PB_GET_METAINFO : {
                        struct treq_phonebook_get_info pb_info;
                        struct treq_phonebook_get_usim_info pb_usim;
                        enum tel_phonebook_type g_pb_type;
@@ -233,15 +238,19 @@ gboolean scomm_service_reqeust_pb(unsigned int ch_id, Communicator *c, TcorePlug
                        break;
        }
 
+#if 0
        if (cmd == TAPI_SERVICE_PB_GET_INITINFO  ) {
                /*synchronous data return case*/
        } else {
+#endif
                /*asynchronous data return case*/
                ret = tcore_communicator_dispatch_request(c, ur);
                if (ret != TCORE_RETURN_SUCCESS) {
                        return FALSE;
                }
+#if 0
        }
+#endif
 
        return TRUE;
 }