*
* Connection Manager
*
- * Copyright (C) 2007-2008 Intel Corporation. All rights reserved.
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
#include <connman/resolver.h>
+int __connman_resolver_init(void);
+void __connman_resolver_cleanup(void);
+
int __connman_resolver_selftest(void);
#include <connman/driver.h>
void __connman_element_stop(void);
void __connman_element_cleanup(void);
+typedef void (* element_cb_t) (struct connman_element *element,
+ gpointer user_data);
+
+void __connman_element_foreach(struct connman_element *element,
+ enum connman_element_type type,
+ element_cb_t callback, gpointer user_data);
void __connman_element_list(struct connman_element *element,
enum connman_element_type type,
DBusMessageIter *iter);
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>
int __connman_device_init(void);