From: SooChan Lim Date: Thu, 1 Jun 2023 02:44:19 +0000 (+0900) Subject: e_config: change E_API to E_INTERN X-Git-Tag: accepted/tizen/unified/20230605.170338~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21893ddcb09225978bcc42f3634e6b2c390f9a22;p=platform%2Fupstream%2Fenlightenment.git e_config: change E_API to E_INTERN Change-Id: Ib0499326d7267ff4782dad5205e3cb953a8cba3e --- diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 7c6b061..01e062a 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -376,7 +376,7 @@ e_config_shutdown(void) return 1; } -E_API void +EINTERN void e_config_load(void) { int reload = 0; @@ -581,7 +581,7 @@ e_config_load(void) E_CONFIG_LIMIT(e_config->calc_vis_ignore_geometry, 0, 1); } -E_API int +EINTERN int e_config_save(void) { _e_config_save_cb(NULL); @@ -596,20 +596,20 @@ e_config_save_queue(void) _e_config_save_queued = 1; } -E_API const char * +EINTERN const char * e_config_profile_get(void) { return _e_config_profile; } -E_API void +EINTERN void e_config_profile_set(const char *prof) { eina_stringshare_replace(&_e_config_profile, prof); e_util_env_set("E_CONF_PROFILE", _e_config_profile); } -E_API char * +EINTERN char * e_config_profile_dir_get(const char *prof) { char buf[PATH_MAX]; @@ -627,7 +627,7 @@ _cb_sort_files(char *f1, char *f2) return strcmp(f1, f2); } -E_API Eina_List * +EINTERN Eina_List * e_config_profile_list(void) { Eina_List *files; @@ -703,7 +703,7 @@ e_config_profile_list(void) return flist; } -E_API void +EINTERN void e_config_profile_add(const char *prof) { char buf[4096]; @@ -712,7 +712,7 @@ e_config_profile_add(const char *prof) ecore_file_mkdir(buf); } -E_API void +EINTERN void e_config_profile_del(const char *prof) { char buf[4096]; @@ -721,13 +721,13 @@ e_config_profile_del(const char *prof) ecore_file_recursive_rm(buf); } -E_API void +EINTERN void e_config_save_block_set(int block) { _e_config_save_block = block; } -E_API int +EINTERN int e_config_save_block_get(void) { return _e_config_save_block; @@ -794,7 +794,7 @@ e_config_domain_load(const char *domain, E_Config_DD *edd) return e_config_domain_system_load(domain, edd); } -E_API void * +EINTERN void * e_config_domain_system_load(const char *domain, E_Config_DD *edd) { Eet_File *ef; @@ -822,7 +822,7 @@ e_config_domain_system_load(const char *domain, E_Config_DD *edd) return data; } -E_API int +EINTERN int e_config_profile_save(void) { #if 0 diff --git a/src/bin/e_config.h b/src/bin/e_config.h index 0d4860b..098c726 100644 --- a/src/bin/e_config.h +++ b/src/bin/e_config.h @@ -425,24 +425,24 @@ struct _E_Config_Aux_Hint_Supported EINTERN int e_config_init(void); EINTERN int e_config_shutdown(void); -E_API void e_config_load(void); +EINTERN void e_config_load(void); -E_API int e_config_save(void); +EINTERN int e_config_save(void); E_API void e_config_save_queue(void); -E_API const char *e_config_profile_get(void); -E_API char *e_config_profile_dir_get(const char *prof); -E_API void e_config_profile_set(const char *prof); -E_API Eina_List *e_config_profile_list(void); -E_API void e_config_profile_add(const char *prof); -E_API void e_config_profile_del(const char *prof); +EINTERN const char *e_config_profile_get(void); +EINTERN char *e_config_profile_dir_get(const char *prof); +EINTERN void e_config_profile_set(const char *prof); +EINTERN Eina_List *e_config_profile_list(void); +EINTERN void e_config_profile_add(const char *prof); +EINTERN void e_config_profile_del(const char *prof); -E_API void e_config_save_block_set(int block); -E_API int e_config_save_block_get(void); +EINTERN void e_config_save_block_set(int block); +EINTERN int e_config_save_block_get(void); E_API void *e_config_domain_load(const char *domain, E_Config_DD *edd); -E_API void *e_config_domain_system_load(const char *domain, E_Config_DD *edd); -E_API int e_config_profile_save(void); +EINTERN void *e_config_domain_system_load(const char *domain, E_Config_DD *edd); +EINTERN int e_config_profile_save(void); E_API int e_config_domain_save(const char *domain, E_Config_DD *edd, const void *data); extern E_API E_Config *e_config;