summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-15 16:12:14 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-12-15 17:11:11 +0100
commitd624464ab4c61140ed3d46a2bbc183b8cb500d2b (patch)
treeb08e87de87dc6772bb6d30f6d8524f2b19908a3c
parentc8aa30e698fa95cf425c35bb359fbab55cb64110 (diff)
eolian: filename retrieval APIs are read only
-rw-r--r--src/lib/eolian/Eolian.h8
-rw-r--r--src/lib/eolian/eolian_database.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index d109ea12a2..ad35d16c0a 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -523,7 +523,7 @@ EAPI const Eolian_Unit *eolian_file_parse(Eolian *state, const char *filepath);
523 * 523 *
524 * @ingroup Eolian 524 * @ingroup Eolian
525 */ 525 */
526EAPI Eina_Iterator *eolian_all_eo_file_paths_get(Eolian *state); 526EAPI Eina_Iterator *eolian_all_eo_file_paths_get(const Eolian *state);
527 527
528/* 528/*
529 * @brief Get an iterator to all .eot file names with paths. 529 * @brief Get an iterator to all .eot file names with paths.
@@ -536,7 +536,7 @@ EAPI Eina_Iterator *eolian_all_eo_file_paths_get(Eolian *state);
536 * 536 *
537 * @ingroup Eolian 537 * @ingroup Eolian
538 */ 538 */
539EAPI Eina_Iterator *eolian_all_eot_file_paths_get(Eolian *state); 539EAPI Eina_Iterator *eolian_all_eot_file_paths_get(const Eolian *state);
540 540
541/* 541/*
542 * @brief Get an iterator to all .eo file names (without paths). 542 * @brief Get an iterator to all .eo file names (without paths).
@@ -549,7 +549,7 @@ EAPI Eina_Iterator *eolian_all_eot_file_paths_get(Eolian *state);
549 * 549 *
550 * @ingroup Eolian 550 * @ingroup Eolian
551 */ 551 */
552EAPI Eina_Iterator *eolian_all_eo_files_get(Eolian *state); 552EAPI Eina_Iterator *eolian_all_eo_files_get(const Eolian *state);
553 553
554/* 554/*
555 * @brief Get an iterator to all .eot file names (without paths). 555 * @brief Get an iterator to all .eot file names (without paths).
@@ -562,7 +562,7 @@ EAPI Eina_Iterator *eolian_all_eo_files_get(Eolian *state);
562 * 562 *
563 * @ingroup Eolian 563 * @ingroup Eolian
564 */ 564 */
565EAPI Eina_Iterator *eolian_all_eot_files_get(Eolian *state); 565EAPI Eina_Iterator *eolian_all_eot_files_get(const Eolian *state);
566 566
567/* 567/*
568 * @brief Scan the given directory (recursively) and search for .eo and 568 * @brief Scan the given directory (recursively) and search for .eo and
diff --git a/src/lib/eolian/eolian_database.c b/src/lib/eolian/eolian_database.c
index 0c1513ab8f..bf8f17f1af 100644
--- a/src/lib/eolian/eolian_database.c
+++ b/src/lib/eolian/eolian_database.c
@@ -813,28 +813,28 @@ eolian_all_eo_files_parse(Eolian *state)
813} 813}
814 814
815EAPI Eina_Iterator * 815EAPI Eina_Iterator *
816eolian_all_eot_files_get(Eolian *state) 816eolian_all_eot_files_get(const Eolian *state)
817{ 817{
818 if (!state) return NULL; 818 if (!state) return NULL;
819 return eina_hash_iterator_key_new(state->filenames_eot); 819 return eina_hash_iterator_key_new(state->filenames_eot);
820} 820}
821 821
822EAPI Eina_Iterator * 822EAPI Eina_Iterator *
823eolian_all_eo_files_get(Eolian *state) 823eolian_all_eo_files_get(const Eolian *state)
824{ 824{
825 if (!state) return NULL; 825 if (!state) return NULL;
826 return eina_hash_iterator_key_new(state->filenames_eo); 826 return eina_hash_iterator_key_new(state->filenames_eo);
827} 827}
828 828
829EAPI Eina_Iterator * 829EAPI Eina_Iterator *
830eolian_all_eot_file_paths_get(Eolian *state) 830eolian_all_eot_file_paths_get(const Eolian *state)
831{ 831{
832 if (!state) return NULL; 832 if (!state) return NULL;
833 return eina_hash_iterator_data_new(state->filenames_eot); 833 return eina_hash_iterator_data_new(state->filenames_eot);
834} 834}
835 835
836EAPI Eina_Iterator * 836EAPI Eina_Iterator *
837eolian_all_eo_file_paths_get(Eolian *state) 837eolian_all_eo_file_paths_get(const Eolian *state)
838{ 838{
839 if (!state) return NULL; 839 if (!state) return NULL;
840 return eina_hash_iterator_data_new(state->filenames_eo); 840 return eina_hash_iterator_data_new(state->filenames_eo);