These are called only from eeze_init/shutdown. No need to have them public.
*/
EAPI Eeze_Sensor_Obj *eeze_sensor_obj_get(Eeze_Sensor_Type type);
-/**
- * @brief Initialize the Eeze sensor subsystem.
- * @return EINA_TRUE for success and EINA_FALSE for failure
- *
- * This function must be called before using any of the Eeze_Sensor
- * functionality to make sure the subsystem is setup correctly for usage. If
- * you already call #eeze_init in your program this is already been take care
- * of and there is no need to call this to initialize this subsystem manually.
- *
- * @since 1.8
- */
-EAPI Eina_Bool eeze_sensor_init(void);
-
-/**
- * @brief Clean up and shutdown the Eeze sensor subsystem.
- *
- * This function must be called when now longer using Eeze_Sensor to allow the
- * subsystem to shutdown cleanly. If you already called #eeze_shutdown this is
- * already been taken care of and there is no need to call this to shutdown this
- * subsystem manually.
- *
- * @since 1.8
- */
-EAPI void eeze_sensor_shutdown(void);
-
#ifdef __cplusplus
}
#endif
#include "eeze_udev_private.h"
#include "eeze_net_private.h"
#include "eeze_disk_private.h"
+#include "eeze_sensor_private.h"
_udev *udev;
return EINA_FALSE;
}
-EAPI void
+void
eeze_sensor_shutdown(void)
{
eeze_sensor_modules_unload();
eina_shutdown();
}
-EAPI Eina_Bool
+Eina_Bool
eeze_sensor_init(void)
{
if (!eina_init()) return EINA_FALSE;
* @since 1.8
*/
EAPI Eina_Bool eeze_sensor_module_unregister(const char *name);
+
+/**
+ * @brief Initialize the Eeze sensor subsystem.
+ * @return EINA_TRUE for success and EINA_FALSE for failure
+ *
+ * This function must be called before using any of the Eeze_Sensor
+ * functionality to make sure the subsystem is setup correctly for usage. If
+ * you already call #eeze_init in your program this is already been take care
+ * of and there is no need to call this to initialize this subsystem manually.
+ *
+ * @since 1.8
+ */
+Eina_Bool eeze_sensor_init(void);
+
+/**
+ * @brief Clean up and shutdown the Eeze sensor subsystem.
+ *
+ * This function must be called when now longer using Eeze_Sensor to allow the
+ * subsystem to shutdown cleanly. If you already called #eeze_shutdown this is
+ * already been taken care of and there is no need to call this to shutdown this
+ * subsystem manually.
+ *
+ * @since 1.8
+ */
+void eeze_sensor_shutdown(void);
+
#endif // EEZE_SENSOR_PRIVATE_H