#endif
#include "stdbool.h"
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
#include <sys/types.h>
#include <glib.h>
-#include <sensor_internal_deprecated.h>
-
/*header for common sensor type*/
#include <sensor_common.h>
/*header for each sensor type*/
#include <sensor_types.h>
+#include <sensor_internal_deprecated.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
typedef void (*sensor_cb_t)(sensor_t sensor, unsigned int event_type, sensor_data_t *data, void *user_data);
typedef void (*sensorhub_cb_t)(sensor_t sensor, unsigned int event_type, sensorhub_data_t *data, void *user_data);
typedef void (*sensor_accuracy_changed_cb_t) (sensor_t sensor, unsigned long long timestamp, int accuracy, void *user_data);