CFILE_GLOB = $(top_srcdir)/src/*.c $(top_srcdir)/src/*.h
IGNORE_HFILES = connman connman.h supplicant.h \
- iface.h rtnl.h dbus.h element.h property.h driver.h
+ iface.h rtnl.h dbus.h element.h property.h
HTML_IMAGES =
<xi:include href="xml/log.xml" />
<xi:include href="xml/plugin.xml" />
<xi:include href="xml/security.xml" />
+ <xi:include href="xml/driver.xml" />
</reference>
<appendix id="license">
#include <connman/element.h>
+/**
+ * SECTION:driver
+ * @title: Driver premitives
+ * @short_description: Functions for registering drivers
+ */
+
#define CONNMAN_DRIVER_PRIORITY_LOW -100
#define CONNMAN_DRIVER_PRIORITY_DEFAULT 0
#define CONNMAN_DRIVER_PRIORITY_HIGH 100
return FALSE;
}
+/**
+ * connman_driver_register:
+ * @driver: driver definition
+ *
+ * Register a new driver
+ *
+ * Returns: %0 on success
+ */
int connman_driver_register(struct connman_driver *driver)
{
DBG("driver %p name %s", driver, driver->name);
return FALSE;
}
+/**
+ * connman_driver_unregister:
+ * @driver: driver definition
+ *
+ * Remove a previously registered driver
+ */
void connman_driver_unregister(struct connman_driver *driver)
{
DBG("driver %p name %s", driver, driver->name);