eolian: rename all_files_parse functions
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Tue, 27 Feb 2018 15:04:19 +0000 (16:04 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:41 +0000 (20:10 +0900)
src/lib/eolian/Eolian.h
src/lib/eolian/eolian_database.c

index a1e89b3..66cb480 100644 (file)
@@ -547,6 +547,34 @@ EAPI Eina_Bool eolian_state_system_directory_add(Eolian_State *state);
 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
@@ -651,36 +679,6 @@ EAPI Eina_Iterator *eolian_all_eo_files_get(const Eolian_State *state);
 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
@@ -2671,6 +2669,11 @@ EAPI Eina_Bool eolian_system_directory_scan(Eolian_State *state);
 /* 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
 
index 3d5dedc..d4c0bfb 100644 (file)
@@ -808,7 +808,7 @@ static Eina_Bool _tfile_parse(const Eina_Hash *hash EINA_UNUSED, const void *key
 }
 
 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 };
 
@@ -824,6 +824,12 @@ eolian_all_eot_files_parse(Eolian_State *state)
    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;
@@ -837,7 +843,7 @@ static Eina_Bool _file_parse(const Eina_Hash *hash EINA_UNUSED, const void *key
 }
 
 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 };
 
@@ -853,6 +859,12 @@ eolian_all_eo_files_parse(Eolian_State *state)
    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)
 {