Efreet_Base: The XDG Base Directory Specification

functions More...

Data Structures

struct  _Efreet_Event_Cache_Update
 Efreet_Event_Cache_Update. More...
 

Typedefs

typedef struct
_Efreet_Event_Cache_Update 
Efreet_Event_Cache_Update
 Efreet_Event_Cache_Update.
 

Functions

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

Detailed Description

functions

Function Documentation

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().

Eina_List* efreet_data_dirs_get ( void  )

Returns the Eina_List of preference ordered 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.
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().

const char* efreet_desktop_dir_get ( void  )

Retrieves the XDG Desktop directory.

Returns
Returns the XDG Desktop directory
Since
1.3
Eina_List* efreet_config_dirs_get ( void  )

Returns the Eina_List of preference 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().

const char* efreet_cache_home_get ( void  )

Retrieves the XDG Cache Home directory.

Returns
Returns the XDG Cache Home directory
const char* efreet_hostname_get ( void  )

Returns the current hostname or empty string if not found.

Returns
Returns the current hostname