From: Daniel Wagner Date: Wed, 19 Sep 2012 11:28:06 +0000 (+0200) Subject: session: Move struct connman_session to session.h X-Git-Tag: 1.8~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc7095e240c3a4ca50805e7f2d2249e6cecd4e78;p=platform%2Fupstream%2Fconnman.git session: Move struct connman_session to session.h --- 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);