projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a54f6
)
Forgot to add driverdata functions
author
Denis Kenzior
<denkenz@gmail.com>
Mon, 12 Oct 2009 20:40:31 +0000
(15:40 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 15 Oct 2009 21:15:17 +0000
(16:15 -0500)
gatchat/gatmux.c
patch
|
blob
|
history
diff --git
a/gatchat/gatmux.c
b/gatchat/gatmux.c
index
e7cb9fd
..
e2385c6
100644
(file)
--- a/
gatchat/gatmux.c
+++ b/
gatchat/gatmux.c
@@
-327,6
+327,22
@@
void g_at_mux_set_dlc_status(GAtMux *mux, guint8 dlc, int status)
mux->dlcs[dlc-1]->throttled = TRUE;
}
+void g_at_mux_set_data(GAtMux *mux, void *data)
+{
+ if (mux == NULL)
+ return;
+
+ mux->driver_data = data;
+}
+
+void *g_at_mux_get_data(GAtMux *mux)
+{
+ if (mux == NULL)
+ return NULL;
+
+ return mux->driver_data;
+}
+
static gboolean watch_check(GSource *source)
{
return FALSE;