packaging: also support rpmbuild from Tizen:2.3
[contrib/mraa.git] / include / mraa_internal.h
index 6c7bb99..428876d 100644 (file)
@@ -29,13 +29,14 @@ extern "C" {
 #endif
 
 #include <syslog.h>
+#include <fnmatch.h>
 
 #include "common.h"
 #include "mraa_internal_types.h"
 #include "mraa_adv_func.h"
 
-extern mraa_adv_func_t* advance_func;
 extern mraa_board_t* plat;
+extern mraa_iio_info_t* plat_iio;
 
 /**
  * Takes in pin information and sets up the multiplexors.
@@ -67,6 +68,13 @@ mraa_platform_t mraa_arm_platform();
 mraa_platform_t mraa_usb_platform_extender(mraa_board_t* board);
 
 /**
+ * runtime detect iio subsystem
+ *
+ * @return mraa_result_t indicating success of iio detection
+ */
+mraa_result_t mraa_iio_detect();
+
+/**
  * helper function to check if file exists
  *
  * @param filename to check