summaryrefslogtreecommitdiffstats
path: root/network/manager.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-09-28 13:15:53 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-09-28 13:15:53 +0000
commit2033d8e42102bb6513e5ea71e147a8a7dcce1420 (patch)
tree5fe2c7c8bbc02c38093afcd349a94d641f0e2230 /network/manager.h
parent2fb6bb97176c9e922c14584da550f3edd49f0986 (diff)
Add support for config file.
Diffstat (limited to 'network/manager.h')
-rw-r--r--network/manager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/manager.h b/network/manager.h
index 9ad1009e..45c7ada4 100644
--- a/network/manager.h
+++ b/network/manager.h
@@ -21,9 +21,20 @@
*
*/
+#include "connection.h"
+#include "server.h"
+
#define MAX_PATH_LENGTH 64 /* D-Bus path */
#define NETWORK_PATH "/org/bluez/network"
+struct network_conf {
+ gboolean connection_enabled;
+ gboolean server_enabled;
+ char *iface_prefix;
+ struct connection_conf conn;
+ struct server_conf server;
+};
+
int network_init(DBusConnection *conn);
void network_exit(void);