summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-19 13:28:06 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-09-27 10:28:28 +0200
commitdc7095e240c3a4ca50805e7f2d2249e6cecd4e78 (patch)
tree6f55715822048a976938dd045b3359cf0896b788
parentb98f45ab251c959d65501332abc5889f8f265177 (diff)
downloadconnman-dc7095e240c3a4ca50805e7f2d2249e6cecd4e78.tar.gz
connman-dc7095e240c3a4ca50805e7f2d2249e6cecd4e78.tar.bz2
connman-dc7095e240c3a4ca50805e7f2d2249e6cecd4e78.zip
session: Move struct connman_session to session.h
-rw-r--r--include/session.h2
-rw-r--r--src/connman.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/session.h b/include/session.h
index deff0fc5..2871d509 100644
--- a/include/session.h
+++ b/include/session.h
@@ -32,6 +32,8 @@ extern "C" {
#define CONNMAN_SESSION_POLICY_PRIORITY_DEFAULT 0
#define CONNMAN_SESSION_POLICY_PRIORITY_HIGH 100
+struct connman_session;
+
/*
* The session are identified through the pid is only a temporary solution
*/
diff --git a/src/connman.h b/src/connman.h
index 120de302..c70f6ae3 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -691,7 +691,8 @@ void __connman_service_notify(struct connman_service *service,
int __connman_service_counter_register(const char *counter);
void __connman_service_counter_unregister(const char *counter);
-struct connman_session;
+#include <connman/session.h>
+
struct service_entry;
typedef connman_bool_t (* service_match_cb) (struct connman_session *session,
struct connman_service *service);