\hypertarget{group__Efreet__Base}{}\section{Efreet\+\_\+\+Base\+: The X\+DG Base Directory Specification}
\label{group__Efreet__Base}\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}


functions  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Efreet__Event__Cache__Update}{\+\_\+\+Efreet\+\_\+\+Event\+\_\+\+Cache\+\_\+\+Update}
\begin{DoxyCompactList}\small\item\em Efreet\+\_\+\+Event\+\_\+\+Cache\+\_\+\+Update. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Efreet__Event__Cache__Update}{\+\_\+\+Efreet\+\_\+\+Event\+\_\+\+Cache\+\_\+\+Update} \hyperlink{group__Efreet__Base_ga70334e3d7ec815bc0957ccdeb6ab3093}{Efreet\+\_\+\+Event\+\_\+\+Cache\+\_\+\+Update}\hypertarget{group__Efreet__Base_ga70334e3d7ec815bc0957ccdeb6ab3093}{}\label{group__Efreet__Base_ga70334e3d7ec815bc0957ccdeb6ab3093}

\begin{DoxyCompactList}\small\item\em Efreet\+\_\+\+Event\+\_\+\+Cache\+\_\+\+Update. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const char $\ast$ \hyperlink{group__Efreet__Base_gaba5dedc0602559e1e2e830b5e6bcd68d}{efreet\+\_\+data\+\_\+home\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Data Home directory. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Base_ga99eaba077759c56870446717027e349a}{efreet\+\_\+data\+\_\+dirs\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns the Eina\+\_\+\+List of preference ordered extra data directories. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga6e9d83cdc5955f464ee2eab946c62e06}{efreet\+\_\+config\+\_\+home\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Config Home directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga8ebf446ef96aba497bab58160b87e9d8}{efreet\+\_\+desktop\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Desktop directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_gaa348b703c05497cd9f542047ae26d73e}{efreet\+\_\+download\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Download directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}{efreet\+\_\+templates\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Templates directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga49b8efafd9e5c5ecb8996d65a2073512}{efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Public Share directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga4a19be00dea0edfbc262115f4083644f}{efreet\+\_\+documents\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Documents directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}{efreet\+\_\+music\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Music directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}{efreet\+\_\+pictures\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Pictures directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}{efreet\+\_\+videos\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Videos directory. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Efreet__Base_ga0b8f288990aa789c1d7db14c4511b3ff}{efreet\+\_\+config\+\_\+dirs\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns the Eina\+\_\+\+List of preference ordered extra config directories. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_gad6965d5f7f01f4ad802b9930ee7ad409}{efreet\+\_\+cache\+\_\+home\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG Cache Home directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_gadbdb0fae4398f7174436ac94458390e1}{efreet\+\_\+runtime\+\_\+dir\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Retrieves the X\+DG User Runtime directory. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__Efreet__Base_ga4272896e363ca6ead6a10c6e2e77d7cd}{efreet\+\_\+hostname\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Returns the current hostname or empty string if not found. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
functions 

\begin{DoxySeeAlso}{See also}
\href{http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html}{\tt http\+://standards.\+freedesktop.\+org/basedir-\/spec/basedir-\/spec-\/latest.\+html} 

\href{http://0pointer.de/blog/projects/tmp.html}{\tt http\+://0pointer.\+de/blog/projects/tmp.\+html} 
\end{DoxySeeAlso}


\subsection{Function Documentation}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+data\+\_\+home\+\_\+get@{efreet\+\_\+data\+\_\+home\+\_\+get}}
\index{efreet\+\_\+data\+\_\+home\+\_\+get@{efreet\+\_\+data\+\_\+home\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+data\+\_\+home\+\_\+get(void)}{efreet_data_home_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+data\+\_\+home\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_gaba5dedc0602559e1e2e830b5e6bcd68d}{}\label{group__Efreet__Base_gaba5dedc0602559e1e2e830b5e6bcd68d}


Retrieves the X\+DG Data Home directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Data Home directory This is where user-\/specific data files should be written (\$\+X\+D\+G\+\_\+\+D\+A\+T\+A\+\_\+\+H\+O\+ME or \$\+H\+O\+ME/.local/share). 
\end{DoxyReturn}


Referenced by efreet\+\_\+icon\+\_\+user\+\_\+dir\+\_\+get(), efreet\+\_\+menu\+\_\+dump(), efreet\+\_\+mime\+\_\+fallback\+\_\+type\+\_\+get(), and efreet\+\_\+trash\+\_\+dir\+\_\+get().

\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+data\+\_\+dirs\+\_\+get@{efreet\+\_\+data\+\_\+dirs\+\_\+get}}
\index{efreet\+\_\+data\+\_\+dirs\+\_\+get@{efreet\+\_\+data\+\_\+dirs\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+data\+\_\+dirs\+\_\+get(void)}{efreet_data_dirs_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+data\+\_\+dirs\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga99eaba077759c56870446717027e349a}{}\label{group__Efreet__Base_ga99eaba077759c56870446717027e349a}


Returns the Eina\+\_\+\+List of preference ordered extra data directories. 

\begin{DoxyReturn}{Returns}
Returns the Eina\+\_\+\+List of preference ordered extra data directories Ordered base directories relative to which data files should be searched (\$\+X\+D\+G\+\_\+\+D\+A\+T\+A\+\_\+\+D\+I\+RS or /usr/local/share/\+:/usr/share/)
\end{DoxyReturn}
\begin{DoxyNote}{Note}
The returned list is static inside Efreet. If you add/remove from the list then the next call to \hyperlink{group__Efreet__Base_ga99eaba077759c56870446717027e349a}{efreet\+\_\+data\+\_\+dirs\+\_\+get()} will return your modified values. DO N\+OT free this list. 
\end{DoxyNote}


Referenced by efreet\+\_\+icon\+\_\+free(), efreet\+\_\+menu\+\_\+dump(), and efreet\+\_\+mime\+\_\+fallback\+\_\+type\+\_\+get().

\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+config\+\_\+home\+\_\+get@{efreet\+\_\+config\+\_\+home\+\_\+get}}
\index{efreet\+\_\+config\+\_\+home\+\_\+get@{efreet\+\_\+config\+\_\+home\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+config\+\_\+home\+\_\+get(void)}{efreet_config_home_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+config\+\_\+home\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga6e9d83cdc5955f464ee2eab946c62e06}{}\label{group__Efreet__Base_ga6e9d83cdc5955f464ee2eab946c62e06}


Retrieves the X\+DG Config Home directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Config Home directory This is where user-\/specific configuration files should be written (\$\+X\+D\+G\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+H\+O\+ME or \$\+H\+O\+ME/.config). 
\end{DoxyReturn}


Referenced by efreet\+\_\+hostname\+\_\+get(), efreet\+\_\+menu\+\_\+async\+\_\+get(), efreet\+\_\+menu\+\_\+dump(), efreet\+\_\+menu\+\_\+get(), and efreet\+\_\+util\+\_\+menus\+\_\+find().

\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+desktop\+\_\+dir\+\_\+get@{efreet\+\_\+desktop\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+desktop\+\_\+dir\+\_\+get@{efreet\+\_\+desktop\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+desktop\+\_\+dir\+\_\+get(void)}{efreet_desktop_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+desktop\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga8ebf446ef96aba497bab58160b87e9d8}{}\label{group__Efreet__Base_ga8ebf446ef96aba497bab58160b87e9d8}


Retrieves the X\+DG Desktop directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Desktop directory This is where user-\/specific desktop files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+3 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+download\+\_\+dir\+\_\+get@{efreet\+\_\+download\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+download\+\_\+dir\+\_\+get@{efreet\+\_\+download\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+download\+\_\+dir\+\_\+get(void)}{efreet_download_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+download\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_gaa348b703c05497cd9f542047ae26d73e}{}\label{group__Efreet__Base_gaa348b703c05497cd9f542047ae26d73e}


Retrieves the X\+DG Download directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Download directory This is where user-\/specific download files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
It\textquotesingle{}s meant for large download or in-\/progress downloads, it\textquotesingle{}s private for the user but may be shared among different machines. It\textquotesingle{}s not automatically cleaned up.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_gad6965d5f7f01f4ad802b9930ee7ad409}{efreet\+\_\+cache\+\_\+home\+\_\+get()} 

\hyperlink{group__Efreet__Base_gadbdb0fae4398f7174436ac94458390e1}{efreet\+\_\+runtime\+\_\+dir\+\_\+get()} 

\href{http://0pointer.de/blog/projects/tmp.html}{\tt http\+://0pointer.\+de/blog/projects/tmp.\+html}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+templates\+\_\+dir\+\_\+get@{efreet\+\_\+templates\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+templates\+\_\+dir\+\_\+get@{efreet\+\_\+templates\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+templates\+\_\+dir\+\_\+get(void)}{efreet_templates_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+templates\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}{}\label{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}


Retrieves the X\+DG Templates directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Templates directory This is where user-\/specific template files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_ga4a19be00dea0edfbc262115f4083644f}{efreet\+\_\+documents\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}{efreet\+\_\+music\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}{efreet\+\_\+pictures\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}{efreet\+\_\+videos\+\_\+dir\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get@{efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get@{efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get(void)}{efreet_public_share_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+public\+\_\+share\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga49b8efafd9e5c5ecb8996d65a2073512}{}\label{group__Efreet__Base_ga49b8efafd9e5c5ecb8996d65a2073512}


Retrieves the X\+DG Public Share directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Public Share directory This is where user-\/specific public shareable files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
Usually local file servers should look here (Apache, Samba, F\+TP).

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+documents\+\_\+dir\+\_\+get@{efreet\+\_\+documents\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+documents\+\_\+dir\+\_\+get@{efreet\+\_\+documents\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+documents\+\_\+dir\+\_\+get(void)}{efreet_documents_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+documents\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga4a19be00dea0edfbc262115f4083644f}{}\label{group__Efreet__Base_ga4a19be00dea0edfbc262115f4083644f}


Retrieves the X\+DG Documents directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Documents directory This is where user-\/specific documents files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}{efreet\+\_\+templates\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}{efreet\+\_\+music\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}{efreet\+\_\+pictures\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}{efreet\+\_\+videos\+\_\+dir\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+music\+\_\+dir\+\_\+get@{efreet\+\_\+music\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+music\+\_\+dir\+\_\+get@{efreet\+\_\+music\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+music\+\_\+dir\+\_\+get(void)}{efreet_music_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+music\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}{}\label{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}


Retrieves the X\+DG Music directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Music directory This is where user-\/specific music files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}{efreet\+\_\+templates\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_gaa348b703c05497cd9f542047ae26d73e}{efreet\+\_\+download\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}{efreet\+\_\+pictures\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}{efreet\+\_\+videos\+\_\+dir\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+pictures\+\_\+dir\+\_\+get@{efreet\+\_\+pictures\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+pictures\+\_\+dir\+\_\+get@{efreet\+\_\+pictures\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+pictures\+\_\+dir\+\_\+get(void)}{efreet_pictures_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+pictures\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}{}\label{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}


Retrieves the X\+DG Pictures directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Pictures directory This is where user-\/specific pictures files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}{efreet\+\_\+templates\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga4a19be00dea0edfbc262115f4083644f}{efreet\+\_\+documents\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}{efreet\+\_\+music\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}{efreet\+\_\+videos\+\_\+dir\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+videos\+\_\+dir\+\_\+get@{efreet\+\_\+videos\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+videos\+\_\+dir\+\_\+get@{efreet\+\_\+videos\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+videos\+\_\+dir\+\_\+get(void)}{efreet_videos_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+videos\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}{}\label{group__Efreet__Base_ga66aae813b202e4f35a65cd294553326b}


Retrieves the X\+DG Videos directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Videos directory This is where user-\/specific video files should be located. It\textquotesingle{}s localized (translated) to current user locale ($\sim$/.config/user-\/dirs.\+locale and $\sim$/.config/user-\/dirs.\+dirs).
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_ga3ced46ec5d80e58be57dccff2eee3c4d}{efreet\+\_\+templates\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga4a19be00dea0edfbc262115f4083644f}{efreet\+\_\+documents\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga2bf0770800cc0a3832cb6aec7e08ffa7}{efreet\+\_\+music\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga26ef7accbe8c79ecf36f1092b5dffdc3}{efreet\+\_\+pictures\+\_\+dir\+\_\+get()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+config\+\_\+dirs\+\_\+get@{efreet\+\_\+config\+\_\+dirs\+\_\+get}}
\index{efreet\+\_\+config\+\_\+dirs\+\_\+get@{efreet\+\_\+config\+\_\+dirs\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+config\+\_\+dirs\+\_\+get(void)}{efreet_config_dirs_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eina\+\_\+\+List}$\ast$ efreet\+\_\+config\+\_\+dirs\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga0b8f288990aa789c1d7db14c4511b3ff}{}\label{group__Efreet__Base_ga0b8f288990aa789c1d7db14c4511b3ff}


Returns the Eina\+\_\+\+List of preference ordered extra config directories. 

\begin{DoxyReturn}{Returns}
Returns the Eina\+\_\+\+List of preference ordered extra config directories Ordered base directories relative to which configuration files should be searched (\$\+X\+D\+G\+\_\+\+C\+O\+N\+F\+I\+G\+\_\+\+D\+I\+RS or /etc/xdg)
\end{DoxyReturn}
\begin{DoxyNote}{Note}
The returned list is static inside Efreet. If you add/remove from the list then the next call to \hyperlink{group__Efreet__Base_ga0b8f288990aa789c1d7db14c4511b3ff}{efreet\+\_\+config\+\_\+dirs\+\_\+get()} will return your modified values. DO N\+OT free this list. 
\end{DoxyNote}


Referenced by efreet\+\_\+menu\+\_\+async\+\_\+get(), efreet\+\_\+menu\+\_\+dump(), efreet\+\_\+menu\+\_\+get(), and efreet\+\_\+util\+\_\+menus\+\_\+find().

\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+cache\+\_\+home\+\_\+get@{efreet\+\_\+cache\+\_\+home\+\_\+get}}
\index{efreet\+\_\+cache\+\_\+home\+\_\+get@{efreet\+\_\+cache\+\_\+home\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+cache\+\_\+home\+\_\+get(void)}{efreet_cache_home_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+cache\+\_\+home\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_gad6965d5f7f01f4ad802b9930ee7ad409}{}\label{group__Efreet__Base_gad6965d5f7f01f4ad802b9930ee7ad409}


Retrieves the X\+DG Cache Home directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG Cache Home directory This is the base directory relative to which user specific non-\/essential data files should be stored (\$\+X\+D\+G\+\_\+\+C\+A\+C\+H\+E\+\_\+\+H\+O\+ME or \$\+H\+O\+ME/.cache).
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Efreet__Base_gadbdb0fae4398f7174436ac94458390e1}{efreet\+\_\+runtime\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_gaa348b703c05497cd9f542047ae26d73e}{efreet\+\_\+download\+\_\+dir\+\_\+get()} 

\hyperlink{group__Efreet__Base_ga6e9d83cdc5955f464ee2eab946c62e06}{efreet\+\_\+config\+\_\+home\+\_\+get()} 
\end{DoxySeeAlso}


Referenced by edje\+\_\+init().

\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+runtime\+\_\+dir\+\_\+get@{efreet\+\_\+runtime\+\_\+dir\+\_\+get}}
\index{efreet\+\_\+runtime\+\_\+dir\+\_\+get@{efreet\+\_\+runtime\+\_\+dir\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+runtime\+\_\+dir\+\_\+get(void)}{efreet_runtime_dir_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+runtime\+\_\+dir\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_gadbdb0fae4398f7174436ac94458390e1}{}\label{group__Efreet__Base_gadbdb0fae4398f7174436ac94458390e1}


Retrieves the X\+DG User Runtime directory. 

\begin{DoxyReturn}{Returns}
Returns the X\+DG User Runtime directory. This is the base directory relative to which user-\/specific non-\/essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory {\bfseries must} be owned by the user, and he {\bfseries must} be the only one having read and write access to it. Its Unix access mode {\bfseries must} be 0700.
\end{DoxyReturn}
The lifetime of this directory {\bfseries must} be bound to the user being logged in. It {\bfseries must} be created when the user first logs in and if the user fully logs out the directory {\bfseries must} be removed. If the user logs in more than once he should get pointed to the same directory, and it is mandatory that the directory continues to exist from his first login to his last logout on the system, and not removed in between. Files in the directory {\bfseries must} not survive reboot or a full logout/login cycle.

The directory {\bfseries must} be on a local file system and not shared with any other system. The directory {\bfseries must} by fully-\/featured by the standards of the operating system. More specifically, on Unix-\/like operating systems A\+F\+\_\+\+U\+N\+IX sockets, symbolic links, hard links, proper permissions, file locking, sparse files, memory mapping, file change notifications, a reliable hard link count must be supported, and no restrictions on the file name character set should be imposed. Files in this directory {\bfseries may} be subjected to periodic clean-\/up. To ensure that your files are not removed, they should have their access time timestamp modified at least once every 6 hours of monotonic time or the \textquotesingle{}sticky\textquotesingle{} bit should be set on the file.

If {\ttfamily N\+U\+LL} applications should fall back to a replacement directory with similar capabilities and print a warning message. Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk.

\begin{DoxyNote}{Note}
this directory is similar to {\ttfamily /run} and is often created in tmpfs (memory-\/only/\+R\+AM filesystem). It is created, managed and cleaned automatically by systemd.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\index{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}!efreet\+\_\+hostname\+\_\+get@{efreet\+\_\+hostname\+\_\+get}}
\index{efreet\+\_\+hostname\+\_\+get@{efreet\+\_\+hostname\+\_\+get}!Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification@{Efreet\+\_\+\+Base\+: The X\+D\+G Base Directory Specification}}
\subsubsection[{\texorpdfstring{efreet\+\_\+hostname\+\_\+get(void)}{efreet_hostname_get(void)}}]{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ efreet\+\_\+hostname\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\hypertarget{group__Efreet__Base_ga4272896e363ca6ead6a10c6e2e77d7cd}{}\label{group__Efreet__Base_ga4272896e363ca6ead6a10c6e2e77d7cd}


Returns the current hostname or empty string if not found. 

\begin{DoxyReturn}{Returns}
Returns the current hostname 
\end{DoxyReturn}


References alloca(), efreet\+\_\+config\+\_\+home\+\_\+get(), E\+I\+N\+A\+\_\+\+C\+O\+M\+P\+A\+R\+E\+\_\+\+CB, eina\+\_\+environment\+\_\+home\+\_\+get(), E\+I\+N\+A\+\_\+\+F\+A\+L\+SE, eina\+\_\+file\+\_\+close(), eina\+\_\+file\+\_\+map\+\_\+lines(), eina\+\_\+file\+\_\+open(), eina\+\_\+file\+\_\+path\+\_\+sanitize(), E\+I\+N\+A\+\_\+\+I\+T\+E\+R\+A\+T\+O\+R\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+iterator\+\_\+free(), eina\+\_\+list\+\_\+append(), E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+O\+R\+E\+A\+CH, eina\+\_\+list\+\_\+search\+\_\+unsorted(), eina\+\_\+str\+\_\+split(), eina\+\_\+strbuf\+\_\+append(), eina\+\_\+strbuf\+\_\+append\+\_\+char(), eina\+\_\+strbuf\+\_\+free(), eina\+\_\+strbuf\+\_\+new(), eina\+\_\+strbuf\+\_\+string\+\_\+get(), eina\+\_\+stringshare\+\_\+add(), \+\_\+\+Eina\+\_\+\+File\+\_\+\+Line\+::end, \+\_\+\+Eina\+\_\+\+File\+\_\+\+Line\+::length, passwd\+::pw\+\_\+dir, and \+\_\+\+Eina\+\_\+\+File\+\_\+\+Line\+::start.

