EAPI const Eolian_Unit *eolian_state_file_parse(Eolian_State *state, const char *filepath);
/*
+ * @brief Parse all known eo files.
+ *
+ * @param[in] state The Eolian state.
+ *
+ * @return EINA_TRUE on success, EINA_FALSE otherwise.
+ *
+ * @see eolian_state_directory_add
+ * @see eolian_state_all_eot_files_parse
+ *
+ * @ingroup Eolian
+ */
+EAPI Eina_Bool eolian_state_all_eo_files_parse(Eolian_State *state);
+
+/*
+ * @brief Parse all known eot files.
+ *
+ * @param[in] state The Eolian state.
+ *
+ * @return EINA_TRUE on success, EINA_FALSE otherwise.
+ *
+ * @see eolian_state_directory_add
+ * @see eolian_state_all_eo_files_parse
+ *
+ * @ingroup Eolian
+ */
+EAPI Eina_Bool eolian_state_all_eot_files_parse(Eolian_State *state);
+
+/*
* @brief Get an Eolian unit by file name.
*
* For any .eo or .eot file (must be within a directory previously scanned
EAPI Eina_Iterator *eolian_all_eot_files_get(const Eolian_State *state);
/*
- * @brief Force parsing of all the .eo files located in the directories
- * given in eolian_directory_scan..
- *
- * @param[in] state The Eolian state.
- *
- * @return EINA_TRUE on success, EINA_FALSE otherwise.
- *
- * @see eolian_directory_scan
- * @see eolian_all_eot_files_parse
- *
- * @ingroup Eolian
- */
-EAPI Eina_Bool eolian_all_eo_files_parse(Eolian_State *state);
-
-/*
- * @brief Force parsing of all the .eot files located in the directories
- * given in eolian_directory_scan..
- *
- * @param[in] state The Eolian state.
- *
- * @return EINA_TRUE on success, EINA_FALSE otherwise.
- *
- * @see eolian_directory_scan
- * @see eolian_all_eo_files_parse
- *
- * @ingroup Eolian
- */
-EAPI Eina_Bool eolian_all_eot_files_parse(Eolian_State *state);
-
-/*
* @brief Gets a class by its name
*
* @param[in] unit the unit to look in
/* DEPRECATED */
EAPI const Eolian_Unit *eolian_file_parse(Eolian_State *state, const char *filepath);
+/* DEPRECATED */
+EAPI Eina_Bool eolian_all_eo_files_parse(Eolian_State *state);
+
+/* DEPRECATED */
+EAPI Eina_Bool eolian_all_eot_files_parse(Eolian_State *state);
#endif
}
EAPI Eina_Bool
-eolian_all_eot_files_parse(Eolian_State *state)
+eolian_state_all_eot_files_parse(Eolian_State *state)
{
Parse_Data pd = { state, EINA_TRUE };
return pd.ret;
}
+EAPI Eina_Bool
+eolian_all_eot_files_parse(Eolian_State *state)
+{
+ return eolian_state_all_eot_files_parse(state);
+}
+
static Eina_Bool _file_parse(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata)
{
Parse_Data *pd = fdata;
}
EAPI Eina_Bool
-eolian_all_eo_files_parse(Eolian_State *state)
+eolian_state_all_eo_files_parse(Eolian_State *state)
{
Parse_Data pd = { state, EINA_TRUE };
return pd.ret;
}
+EAPI Eina_Bool
+eolian_all_eo_files_parse(Eolian_State *state)
+{
+ return eolian_state_all_eo_files_parse(state);
+}
+
EAPI const Eolian_Unit *
eolian_state_unit_by_file_get(const Eolian_State *state, const char *file_name)
{