summaryrefslogtreecommitdiff
path: root/include/session.h
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2013-07-02 09:37:19 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2013-07-02 18:21:58 +0200
commita727163ebce6e29231cc03e0db91ca661adbea00 (patch)
treeda7c031530fdf351e392e82da6be8f8e9ffd667d /include/session.h
parentf3775ebc8fd45f7bfe52c087f5872b68c1aad9e9 (diff)
downloadconnman-a727163ebce6e29231cc03e0db91ca661adbea00.tar.gz
shared/util: Move cb_data_new() helpers to util header
The helper doesn't really belong to the session.h and ELL also does define the helper in util.h header.
Diffstat (limited to 'include/session.h')
-rw-r--r--include/session.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/session.h b/include/session.h
index 61cc2644..0a979272 100644
--- a/include/session.h
+++ b/include/session.h
@@ -56,23 +56,6 @@ enum connman_session_id_type {
CONNMAN_SESSION_ID_TYPE_LSM = 3,
};
-struct cb_data {
- void *cb;
- void *user_data;
- void *data;
-};
-
-static inline struct cb_data *cb_data_new(void *cb, void *user_data)
-{
- struct cb_data *ret;
-
- ret = g_new0(struct cb_data, 1);
- ret->cb = cb;
- ret->user_data = user_data;
-
- return ret;
-}
-
struct connman_session;
struct connman_session_config {