From 905ba3e58154bae12cf6c2160f08495296be5670 Mon Sep 17 00:00:00 2001 From: Kyeongchul Kim Date: Tue, 21 Aug 2012 21:59:44 +0900 Subject: [PATCH] release tizen_2.0 beta --- README | 2 +- debian/changelog | 8 ++++++++ packaging/tel-plugin-vmodem.spec | 2 +- packaging/unused | 1 - src/desc-vmodem.c | 12 +++++------- 5 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 packaging/unused diff --git a/README b/README index b3ad87b..74c53d9 100644 --- a/README +++ b/README @@ -1 +1 @@ -AT based virtual modem plugin +AT based modem plugin diff --git a/debian/changelog b/debian/changelog index ff28f39..8b21074 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 02 Apr 2012 16:10:33 +0900 + tel-plugin-vmodem (0.1.3) unstable; urgency=low * Fix prefix (TAPI_ to TCORE_) diff --git a/packaging/tel-plugin-vmodem.spec b/packaging/tel-plugin-vmodem.spec index 72adf28..250af96 100644 --- a/packaging/tel-plugin-vmodem.spec +++ b/packaging/tel-plugin-vmodem.spec @@ -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 index 5364927..0000000 --- a/packaging/unused +++ /dev/null @@ -1 +0,0 @@ -this package is not used in OBS diff --git a/src/desc-vmodem.c b/src/desc-vmodem.c index d240de8..4d19225 100644 --- a/src/desc-vmodem.c +++ b/src/desc-vmodem.c @@ -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); -- 2.7.4