From b4fcae17e8a9f6242b752bfb9808248cadbde43b Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 14 Mar 2008 21:47:32 +0000 Subject: Introduce adapter method RequestMode. --- hcid/adapter.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hcid/adapter.h') diff --git a/hcid/adapter.h b/hcid/adapter.h index a09dd37e..6d2a38f1 100644 --- a/hcid/adapter.h +++ b/hcid/adapter.h @@ -88,6 +88,13 @@ struct create_device_req { char *agent_path; /* Agent object path */ }; +struct mode_req { + struct adapter *adapter; + DBusConnection *conn; /* Connection reference */ + DBusMessage *msg; /* Message reference */ + char *mode; /* Requested mode */ +}; + struct adapter { uint16_t dev_id; int up; -- cgit