From dc7095e240c3a4ca50805e7f2d2249e6cecd4e78 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Wed, 19 Sep 2012 13:28:06 +0200 Subject: [PATCH] session: Move struct connman_session to session.h --- include/session.h | 2 ++ src/connman.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/session.h b/include/session.h index deff0fc..2871d50 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 120de30..c70f6ae 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 + struct service_entry; typedef connman_bool_t (* service_match_cb) (struct connman_session *session, struct connman_service *service); -- 2.7.4