Efreet_Base: The XDG Base Directory Specification

Data Structures

struct  _Efreet_Event_Cache_Update
 event struct sent with EFREET_EVENT_*_CACHE_UPDATE More...

Typedefs

typedef struct
_Efreet_Event_Cache_Update 
Efreet_Event_Cache_Update

Functions

EAPI const char * efreet_cache_home_get (void)
 Retrieves the XDG Cache Home directory.
EAPI Eina_List * efreet_config_dirs_get (void)
 Returns the Eina_List of prefernece ordered extra config directories.
EAPI const char * efreet_config_home_get (void)
 Retrieves the XDG Config Home directory.
EAPI Eina_List * efreet_data_dirs_get (void)
 Returns the Eina_List of prefernece oredred extra data directories.
EAPI const char * efreet_data_home_get (void)
 Retrieves the XDG Data Home directory.
EAPI const char * efreet_hostname_get (void)
 Returns the current hostname or empty string if not found.

Detailed Description

functions


Typedef Documentation

Efreet_Event_Cache_Update


Function Documentation

EAPI const char* efreet_cache_home_get ( void   ) 

Retrieves the XDG Cache Home directory.

Returns:
Returns the XDG Cache Home directory

Referenced by efreet_cache_init(), efreet_desktop_cache_dirs(), efreet_desktop_cache_file(), efreet_desktop_util_cache_file(), and efreet_desktop_write_cache_dirs_file().

EAPI Eina_List* efreet_config_dirs_get ( void   ) 

Returns the Eina_List of prefernece ordered extra config directories.

Returns:
Returns the Eina_List of preference ordered extra config directories
Note:
The returned list is static inside Efreet. If you add/remove from the list then the next call to efreet_config_dirs_get() will return your modified values. DO NOT free this list.

Referenced by efreet_menu_get(), and efreet_util_menus_find().

EAPI const char* efreet_config_home_get ( void   ) 

Retrieves the XDG Config Home directory.

Returns:
Returns the XDG Config Home directory

Referenced by efreet_menu_get(), and efreet_util_menus_find().

EAPI Eina_List* efreet_data_dirs_get ( void   ) 

Returns the Eina_List of prefernece oredred extra data directories.

Returns:
Returns the Eina_List of preference ordered extra data directories
Note:
The returned list is static inside Efreet. If you add/remove from the list then the next call to efreet_data_dirs_get() will return your modified values. DO NOT free this list.
EAPI const char* efreet_data_home_get ( void   ) 

Retrieves the XDG Data Home directory.

Returns:
Returns the XDG Data Home directory

Referenced by efreet_icon_user_dir_get(), and efreet_trash_dir_get().

EAPI const char* efreet_hostname_get ( void   ) 

Returns the current hostname or empty string if not found.

Returns:
Returns the current hostname

Referenced by efreet_desktop_cache_file(), and efreet_desktop_util_cache_file().