summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-12-05 14:57:47 +0100
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-12-05 16:50:48 +0200
commit0b47fc58a28c3d8275d7ed473966ae03a3b023b2 (patch)
tree7ec3a77ade59fd99b9df2d7a77c86186f38fc08d /include
parent68851e84a6f2a636bc9f8d0d123e72f59bed8bfe (diff)
downloadconnman-0b47fc58a28c3d8275d7ed473966ae03a3b023b2.tar.gz
connman-0b47fc58a28c3d8275d7ed473966ae03a3b023b2.tar.bz2
connman-0b47fc58a28c3d8275d7ed473966ae03a3b023b2.zip
session: Return error code from callback
In the case the callback is directly called we can use the return value to provide it to the user.
Diffstat (limited to 'include')
-rw-r--r--include/session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/session.h b/include/session.h
index 4aca5d01..47d36c5c 100644
--- a/include/session.h
+++ b/include/session.h
@@ -59,7 +59,7 @@ struct connman_session_config {
GSList *allowed_bearers;
};
-typedef void (* connman_session_config_cb) (struct connman_session *session,
+typedef int (* connman_session_config_cb) (struct connman_session *session,
struct connman_session_config *config,
void *user_data, int err);