* as published by the Free Software Foundation.
*/
-/**
- * @mainpage libgpiod public API
- *
- * This is the documentation of the public API exported by libgpiod.
- *
- * <p>These functions and data structures allow to use all the functionalities
- * exposed by the linux GPIO character device interface.
- */
-
#ifndef __LIBGPIOD_GPIOD_H__
#define __LIBGPIOD_GPIOD_H__
extern "C" {
#endif
+/**
+ * @mainpage libgpiod public API
+ *
+ * This is the documentation of the public API exported by libgpiod.
+ *
+ * <p>These functions and data structures allow to use all the functionalities
+ * exposed by the linux GPIO character device interface.
+ */
+
struct gpiod_chip;
struct gpiod_line;
struct gpiod_chip_iter;