release tizen_2.0 beta
authorKyeongchul Kim <kyeongchul.kim@samsung.com>
Tue, 21 Aug 2012 12:59:44 +0000 (21:59 +0900)
committerKyeongchul Kim <kyeongchul.kim@samsung.com>
Tue, 21 Aug 2012 12:59:44 +0000 (21:59 +0900)
README
debian/changelog
packaging/tel-plugin-vmodem.spec
packaging/unused [deleted file]
src/desc-vmodem.c

diff --git a/README b/README
index b3ad87b..74c53d9 100644 (file)
--- a/README
+++ b/README
@@ -1 +1 @@
-AT based virtual modem plugin
+AT based modem plugin
index ff28f39..8b21074 100644 (file)
@@ -1,3 +1,11 @@
+tel-plugin-vmodem (0.1.4) unstable; urgency=low
+
+  * package version sync with public
+  * Git: slp/pkgs/t/tel-plugin-vmodem
+  * Tag: tel-plugin-vmodem_0.1.4
+
+ -- Inho Oh <inho48.oh@samsung.com>  Mon, 02 Apr 2012 16:10:33 +0900
+
 tel-plugin-vmodem (0.1.3) unstable; urgency=low
 
   * Fix prefix (TAPI_ to TCORE_)
index 72adf28..250af96 100644 (file)
@@ -1,7 +1,7 @@
 #sbs-git:slp/pkgs/t/tel-plugin-vmodem
 Name:       tel-plugin-vmodem
 Summary:    Telephony AT Virtual Modem library
-Version: 0.1.2
+Version: 0.1.6
 Release:    1
 Group:      System/Libraries
 License:    Apache
diff --git a/packaging/unused b/packaging/unused
deleted file mode 100644 (file)
index 5364927..0000000
+++ /dev/null
@@ -1 +0,0 @@
-this package is not used in OBS
index d240de8..4d19225 100644 (file)
@@ -104,15 +104,13 @@ static struct tcore_hal_operations hops =
 
 static gboolean on_recv_vdpram_message(GIOChannel *channel, GIOCondition condition, gpointer data)
 {
-       TcorePlugin *plugin = data;
-       TcoreHal *hal;
+       TcoreHal *hal = data;
        struct custom_data *custom;
 
        #define BUF_LEN_MAX 512
        char buf[BUF_LEN_MAX];
        int n = 0;
 
-       hal = tcore_plugin_ref_hal(plugin);
        custom = tcore_hal_ref_user_data(hal);
        memset(buf, 0, BUF_LEN_MAX);
        n = vdpram_tty_read(custom->vdpram_fd, buf, BUF_LEN_MAX);
@@ -127,7 +125,7 @@ static gboolean on_recv_vdpram_message(GIOChannel *channel, GIOCondition conditi
        return TRUE;
 }
 
-static guint register_gio_watch(TcorePlugin *plugin, int fd, void *callback)
+static guint register_gio_watch(TcoreHal *h, int fd, void *callback)
 {
        GIOChannel *channel = NULL;
        guint source;
@@ -136,7 +134,7 @@ static guint register_gio_watch(TcorePlugin *plugin, int fd, void *callback)
                return 0;
 
        channel = g_io_channel_unix_new(fd);
-       source = g_io_add_watch(channel, G_IO_IN, (GIOFunc) callback, plugin);
+       source = g_io_add_watch(channel, G_IO_IN, (GIOFunc) callback, h);
        g_io_channel_unref(channel);
        channel = NULL;
 
@@ -178,10 +176,10 @@ static gboolean on_init(TcorePlugin *plugin)
        /*
         * HAL init
         */
-       hal = tcore_hal_new(plugin, "vmodem", &hops);
+       hal = tcore_hal_new(plugin, "vmodem", &hops, TCORE_HAL_MODE_CUSTOM);
        tcore_hal_link_user_data(hal, data);
 
-       data->watch_id_vdpram= register_gio_watch(plugin, data->vdpram_fd, on_recv_vdpram_message);
+       data->watch_id_vdpram= register_gio_watch(hal, data->vdpram_fd, on_recv_vdpram_message);
 
        dbg("vdpram_fd = %d, watch_id_vdpram=%d ", data->vdpram_fd, data->watch_id_vdpram);