From 164a8db64e48e0b00730c5830b9a7f8293dcf613 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 14 Aug 2008 07:25:31 +0200 Subject: Add documentation for the drivers --- src/element.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/element.c b/src/element.c index db7cb4e7..66c91d0b 100644 --- a/src/element.c +++ b/src/element.c @@ -363,6 +363,14 @@ static gboolean probe_driver(GNode *node, gpointer data) 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); @@ -406,6 +414,12 @@ static gboolean remove_driver(GNode *node, gpointer data) 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); -- cgit v1.2.3