summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-05-01 01:05:46 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-05-01 01:05:46 +0000
commit098cd10838193272c669348c5ffd0410218e1bcc (patch)
treeeb7fffb0e440dbb33391029c607de2b678bb3c2e /network
parent2d5441331d402a0d78c4b84a028df076f6aab8cf (diff)
fixed service authorization
Diffstat (limited to 'network')
-rw-r--r--network/main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/main.c b/network/main.c
index 66266b90..2dfd6696 100644
--- a/network/main.c
+++ b/network/main.c
@@ -41,6 +41,17 @@
#define GN_IFACE "pan0"
#define NAP_IFACE "pan1"
+#define PANU_UUID "00001115-0000-1000-8000-00805f9b34fb"
+#define NAP_UUID "00001116-0000-1000-8000-00805f9b34fb"
+#define GN_UUID "00001117-0000-1000-8000-00805f9b34fb"
+
+static const char *uuids[] = {
+ PANU_UUID,
+ NAP_UUID,
+ GN_UUID,
+ NULL
+};
+
static struct network_conf conf = {
.connection_enabled = TRUE,
.server_enabled = TRUE,
@@ -170,6 +181,8 @@ static int network_init(void)
return -EIO;
}
+ register_uuids("network", &uuids);
+
register_external_service(conn, "network", "Network service", "");
return 0;