summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-24 00:44:08 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-24 00:44:08 +0200
commit8bdd2e999bd2466908224a2e53b0b9ef77c52c90 (patch)
tree39c9142922408a22df40289fd894cf036f2970a0 /include
parent313c742d900ad04bd70230bf2bf59907b75b1aed (diff)
downloadconnman-8bdd2e999bd2466908224a2e53b0b9ef77c52c90.tar.gz
connman-8bdd2e999bd2466908224a2e53b0b9ef77c52c90.tar.bz2
connman-8bdd2e999bd2466908224a2e53b0b9ef77c52c90.zip
Fix notification to use service types instead of device types
Diffstat (limited to 'include')
-rw-r--r--include/notifier.h4
-rw-r--r--include/service.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/notifier.h b/include/notifier.h
index fdbc1b9d..1addb556 100644
--- a/include/notifier.h
+++ b/include/notifier.h
@@ -22,7 +22,7 @@
#ifndef __CONNMAN_NOTIFIER_H
#define __CONNMAN_NOTIFIER_H
-#include <connman/device.h>
+#include <connman/service.h>
#ifdef __cplusplus
extern "C" {
@@ -41,7 +41,7 @@ extern "C" {
struct connman_notifier {
const char *name;
int priority;
- void (*device_enabled) (enum connman_device_type type,
+ void (*service_enabled) (enum connman_service_type type,
connman_bool_t enabled);
void (*offline_mode) (connman_bool_t enabled);
};
diff --git a/include/service.h b/include/service.h
index 6138f2cd..b19a531f 100644
--- a/include/service.h
+++ b/include/service.h
@@ -22,6 +22,8 @@
#ifndef __CONNMAN_SERVICE_H
#define __CONNMAN_SERVICE_H
+#include <connman/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif