summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-02 18:13:38 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-02 18:13:38 +0100
commit9b54445c85e6d93072d995d898e74348e4607c92 (patch)
tree7a429a5e6a7e7e7884511ad92b0f9fd828d66b81 /src/connman.h
parent963adcd8ba61a01d6d805002ed475ea65f4e8178 (diff)
downloadconnman-9b54445c85e6d93072d995d898e74348e4607c92.tar.gz
connman-9b54445c85e6d93072d995d898e74348e4607c92.tar.bz2
connman-9b54445c85e6d93072d995d898e74348e4607c92.zip
Add configure options to select plugins
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 5dafe767..25f50858 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -116,8 +116,19 @@ static inline void __connman_element_unlock(struct connman_element *element)
int __connman_detect_init(void);
void __connman_detect_cleanup(void);
+#ifdef HAVE_UDEV
int __connman_udev_init(void);
void __connman_udev_cleanup(void);
+#else
+static inline int __connman_udev_init(void)
+{
+ return 0;
+}
+
+static inline void __connman_udev_cleanup(void)
+{
+}
+#endif
#include <connman/device.h>