]> sigrok.org Git - libsigrok.git/blobdiff - hwdriver.c
config.h usage cleanups.
[libsigrok.git] / hwdriver.c
index 33d716da552c1debb92a1d3a3f583504e489afb9..ef7f3efeff3a6a53a02753036e7fac3e8d0e92f0 100644 (file)
 #include <dirent.h>
 #include <string.h>
 #include <glib.h>
+#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
 #include "libsigrok.h"
 #include "libsigrok-internal.h"
 
+/**
+ * @file
+ *
+ * Hardware driver handling in libsigrok.
+ */
+
+/**
+ * @defgroup grp_driver Hardware drivers
+ *
+ * Hardware driver handling in libsigrok.
+ *
+ * @{
+ */
 
 /* Driver scanning options. */
 static struct sr_hwcap_option sr_drvopts[] = {
@@ -356,3 +370,5 @@ SR_PRIV int sr_source_add(int fd, int events, int timeout,
 {
        return sr_session_source_add(fd, events, timeout, cb, cb_data);
 }
+
+/** @} */