\hypertarget{group__Eina__Module__Group}{}\doxysection{Module}
\label{group__Eina__Module__Group}\index{Module@{Module}}


These functions provide module management.  


\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Module__Group_gaece3c6f3487786f9a2b62d38bf556d0b}\label{group__Eina__Module__Group_gaece3c6f3487786f9a2b62d38bf556d0b}} 
\#define {\bfseries EINA\+\_\+\+MODULE\+\_\+\+LICENSE}(\+\_\+license)~EINA\+\_\+\+MODINFO(license, \+\_\+license)
\begin{DoxyCompactList}\small\item\em This macro is used for defining license. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Module__Group_ga5bc710b6d3ad91173994fbf5d32775c8}{EINA\+\_\+\+MODULE\+\_\+\+AUTHOR}}(\+\_\+author)~EINA\+\_\+\+MODINFO(author, \+\_\+author)
\begin{DoxyCompactList}\small\item\em This macro is used for defining author Use \char`\"{}name $<$email$>$\char`\"{} or just \char`\"{}name\char`\"{} for multiple authors, use multiple lines like below. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Module__Group_ga12ea0226448a79a8ba35edf8df1bed48}\label{group__Eina__Module__Group_ga12ea0226448a79a8ba35edf8df1bed48}} 
\#define {\bfseries EINA\+\_\+\+MODULE\+\_\+\+VERSION}(\+\_\+ver)~EINA\+\_\+\+MODINFO(ver, \+\_\+ver)
\begin{DoxyCompactList}\small\item\em This macro is used for defining version. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Module__Group_ga3b281f5a69c95059348f53eedda76283}{EINA\+\_\+\+MODULE\+\_\+\+DESCRIPTION}}(\+\_\+desc)~EINA\+\_\+\+MODINFO(desc, \+\_\+desc)
\begin{DoxyCompactList}\small\item\em This macro is used for defining description. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Module__Group_gab11c2306e567ea3f24d8da4f004e1257}{EINA\+\_\+\+MODULE\+\_\+\+INIT}}(f)~\mbox{\hyperlink{group__Eina__Types__Group_ga1a53601915c5087ff37780aad3e2ec98}{EXPORTAPI}} \mbox{\hyperlink{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}{Eina\+\_\+\+Module\+\_\+\+Init}} \+\_\+\+\_\+eina\+\_\+module\+\_\+init = \&f
\begin{DoxyCompactList}\small\item\em declares the given function as the module initializer (\+\_\+\+\_\+eina\+\_\+module\+\_\+init). \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group__Eina__Module__Group_gacac39c3b104d8b638902165d3eaf8935}{EINA\+\_\+\+MODULE\+\_\+\+SHUTDOWN}}(f)~\mbox{\hyperlink{group__Eina__Types__Group_ga1a53601915c5087ff37780aad3e2ec98}{EXPORTAPI}} \mbox{\hyperlink{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}{Eina\+\_\+\+Module\+\_\+\+Shutdown}} \+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown = \&f
\begin{DoxyCompactList}\small\item\em declares the given function as to be called on shutdown (\+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown). \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}\label{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}} 
typedef struct \+\_\+\+Eina\+\_\+\+Module {\bfseries Eina\+\_\+\+Module}
\begin{DoxyCompactList}\small\item\em Dynamic module loader handle. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__Eina__Module__Group_gaafada695dd7ed46ee22aa77201300fa9}\label{group__Eina__Module__Group_gaafada695dd7ed46ee22aa77201300fa9}} 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ {\bfseries Eina\+\_\+\+Module\+\_\+\+Cb}) (\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$m, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Dynamic module loader callback. \end{DoxyCompactList}\item 
typedef \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}($\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}{Eina\+\_\+\+Module\+\_\+\+Init}}) (void)
\begin{DoxyCompactList}\small\item\em If a function with this signature is exported by module as \+\_\+\+\_\+eina\+\_\+module\+\_\+init, it will be called on the first load after \mbox{\hyperlink{group__Evil__Dlfcn_ga92104d3068e23b5fbd643a7d80337a56}{dlopen()}} and if \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} is returned, load will fail, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} means the module was successfully initialized. \end{DoxyCompactList}\item 
typedef void($\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}{Eina\+\_\+\+Module\+\_\+\+Shutdown}}) (void)
\begin{DoxyCompactList}\small\item\em If a function with this signature is exported by module as \+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown, it will be called before calling \mbox{\hyperlink{group__Evil__Dlfcn_ga3a83fac192df7e8ed470024a6cd0fbff}{dlclose()}} \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga26a0b524d70befb99aaa3d4c341d05e4}{eina\+\_\+module\+\_\+new}} (const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Returns a new module. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}{eina\+\_\+module\+\_\+free}} (\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$module)
\begin{DoxyCompactList}\small\item\em Deletes a module. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load}} (\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$module)
\begin{DoxyCompactList}\small\item\em Loads a module. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload}} (\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$module)
\begin{DoxyCompactList}\small\item\em Unloads a module. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga5d6ab8365f41bb80300607c88b25dbc4}{eina\+\_\+module\+\_\+symbol\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$module, const char $\ast$symbol)
\begin{DoxyCompactList}\small\item\em Retrieves the data associated with a symbol. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} const char $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_gada5986721209abdbe5939ead97cda592}{eina\+\_\+module\+\_\+file\+\_\+get}} (const \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$module)
\begin{DoxyCompactList}\small\item\em Returns the file name associated with the module. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Module__Group_ga6ac94a8aa3ade963db40c7a3faa41eee}{eina\+\_\+module\+\_\+symbol\+\_\+global\+\_\+set}} (\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$module, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} global)
\begin{DoxyCompactList}\small\item\em Defines if on module load we should expose all symbol. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} char $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga8c2df76c283bec72d09b9a5ed5b67839}{eina\+\_\+module\+\_\+symbol\+\_\+path\+\_\+get}} (const void $\ast$symbol, const char $\ast$sub\+\_\+dir)
\begin{DoxyCompactList}\small\item\em Returns the path built from the location of a library and a given sub directory. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} char $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga98133a2dfbc01aa7a9ebf4f5b7f2e6dd}{eina\+\_\+module\+\_\+environment\+\_\+path\+\_\+get}} (const char $\ast$env, const char $\ast$sub\+\_\+dir)
\begin{DoxyCompactList}\small\item\em Returns the path built from the value of an environment variable and a given sub directory. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_gaf13eef3b24ff64c2f4b02f44e24cbf90}{eina\+\_\+module\+\_\+arch\+\_\+list\+\_\+get}} (\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$array, const char $\ast$path, const char $\ast$arch)
\begin{DoxyCompactList}\small\item\em Gets an array of modules found on the directory path matching an arch type. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga1ff67add1ad98a7b873ee8460f6584f8}{eina\+\_\+module\+\_\+list\+\_\+get}} (\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$array, const char $\ast$path, \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} recursive, \mbox{\hyperlink{group__Eina__Module__Group_gaafada695dd7ed46ee22aa77201300fa9}{Eina\+\_\+\+Module\+\_\+\+Cb}} cb, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Gets a list of modules found on the directory path. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Module__Group_ga448ba8e9bb03362f79cba4bc4ebbd7a3}{eina\+\_\+module\+\_\+list\+\_\+load}} (\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$array)
\begin{DoxyCompactList}\small\item\em Loads every module on the list of modules. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Module__Group_gaa30e8b2dec9a57fee9be67dc85595037}{eina\+\_\+module\+\_\+list\+\_\+unload}} (\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$array)
\begin{DoxyCompactList}\small\item\em Unloads every module on the list of modules. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void \mbox{\hyperlink{group__Eina__Module__Group_ga4585a393c1b52c10607a6d692e23d63c}{eina\+\_\+module\+\_\+list\+\_\+free}} (\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$array)
\begin{DoxyCompactList}\small\item\em {\ttfamily Frees} every module on the list of modules. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$ \mbox{\hyperlink{group__Eina__Module__Group_ga5b915278a32560073a31545f42c52d93}{eina\+\_\+module\+\_\+find}} (const \mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$array, const char $\ast$module)
\begin{DoxyCompactList}\small\item\em Finds a module in array. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__Eina__Module__Group_ga0db69851fd5fe09101bcacfa9a3a6a09}\label{group__Eina__Module__Group_ga0db69851fd5fe09101bcacfa9a3a6a09}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Error__Group_ga95b3cbb33e987e7d92a81ea785001686}{Eina\+\_\+\+Error}} {\bfseries EINA\+\_\+\+ERROR\+\_\+\+WRONG\+\_\+\+MODULE}
\item 
\mbox{\Hypertarget{group__Eina__Module__Group_ga6bb9713ec16b2eb0523a1f58feabb200}\label{group__Eina__Module__Group_ga6bb9713ec16b2eb0523a1f58feabb200}} 
\mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Error__Group_ga95b3cbb33e987e7d92a81ea785001686}{Eina\+\_\+\+Error}} {\bfseries EINA\+\_\+\+ERROR\+\_\+\+MODULE\+\_\+\+INIT\+\_\+\+FAILED}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These functions provide module management. 

Eina module provides some helpers over POSIX \mbox{\hyperlink{group__Evil__Dlfcn_ga92104d3068e23b5fbd643a7d80337a56}{dlopen()}}. It is not meant to replace, abstract or make a \char`\"{}portable\char`\"{} version of POSIX, but enhance its usage by defining some good practices.

Modules are created with \mbox{\hyperlink{group__Eina__Module__Group_ga26a0b524d70befb99aaa3d4c341d05e4}{eina\+\_\+module\+\_\+new()}} and later loaded with \mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load()}}. Loads are reference counted and there must be the same number of \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload()}} in order to have it to call \mbox{\hyperlink{group__Evil__Dlfcn_ga3a83fac192df7e8ed470024a6cd0fbff}{dlclose()}}. This makes simple to have different users for the same module.

The loaded shared objects may have two visible functions that will be called and might provide initialization and shutdown procedures. The symbols are {\ttfamily \+\_\+\+\_\+eina\+\_\+module\+\_\+init} and {\ttfamily \+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown} and will be defined by the macros \mbox{\hyperlink{group__Eina__Module__Group_gab11c2306e567ea3f24d8da4f004e1257}{EINA\+\_\+\+MODULE\+\_\+\+INIT()}} and \mbox{\hyperlink{group__Eina__Module__Group_gacac39c3b104d8b638902165d3eaf8935}{EINA\+\_\+\+MODULE\+\_\+\+SHUTDOWN()}}.

There are some helpers to automatically create modules based on directory listing. See \mbox{\hyperlink{group__Eina__Module__Group_gaf13eef3b24ff64c2f4b02f44e24cbf90}{eina\+\_\+module\+\_\+arch\+\_\+list\+\_\+get()}}, \mbox{\hyperlink{group__Eina__Module__Group_ga1ff67add1ad98a7b873ee8460f6584f8}{eina\+\_\+module\+\_\+list\+\_\+get()}} and \mbox{\hyperlink{group__Eina__Module__Group_ga5b915278a32560073a31545f42c52d93}{eina\+\_\+module\+\_\+find()}}.

\mbox{\hyperlink{group__Eina__Module__Group_gaece3c6f3487786f9a2b62d38bf556d0b}{EINA\+\_\+\+MODULE\+\_\+\+LICENSE}}, \mbox{\hyperlink{group__Eina__Module__Group_ga5bc710b6d3ad91173994fbf5d32775c8}{EINA\+\_\+\+MODULE\+\_\+\+AUTHOR}}, \mbox{\hyperlink{group__Eina__Module__Group_ga12ea0226448a79a8ba35edf8df1bed48}{EINA\+\_\+\+MODULE\+\_\+\+VERSION}} and \mbox{\hyperlink{group__Eina__Module__Group_ga3b281f5a69c95059348f53eedda76283}{EINA\+\_\+\+MODULE\+\_\+\+DESCRIPTION}} allow you to define module information that can be retrieved with the {\ttfamily eina\+\_\+modinfo} tool. 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$\ eina\_modinfo\ module.so}
\DoxyCodeLine{version:\ 0.1}
\DoxyCodeLine{description:\ \ \ Entry\ test}
\DoxyCodeLine{license:\ GPLv2}
\DoxyCodeLine{author:\ \ Enlightenment\ Community}

\end{DoxyCode}
 

\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{group__Eina__Module__Group_ga5bc710b6d3ad91173994fbf5d32775c8}\label{group__Eina__Module__Group_ga5bc710b6d3ad91173994fbf5d32775c8}} 
\index{Module@{Module}!EINA\_MODULE\_AUTHOR@{EINA\_MODULE\_AUTHOR}}
\index{EINA\_MODULE\_AUTHOR@{EINA\_MODULE\_AUTHOR}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{EINA\_MODULE\_AUTHOR}{EINA\_MODULE\_AUTHOR}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+MODULE\+\_\+\+AUTHOR(\begin{DoxyParamCaption}\item[{}]{\+\_\+author }\end{DoxyParamCaption})~EINA\+\_\+\+MODINFO(author, \+\_\+author)}



This macro is used for defining author Use \char`\"{}name $<$email$>$\char`\"{} or just \char`\"{}name\char`\"{} for multiple authors, use multiple lines like below. 


\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__Eina__Module__Group_ga5bc710b6d3ad91173994fbf5d32775c8}{EINA\_MODULE\_AUTHOR}}(\textcolor{stringliteral}{"{}Author\ 1\ <author1.email>\(\backslash\)n"{}}}
\DoxyCodeLine{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{stringliteral}{"{}Author\ 2\ <author2.email>"{}});}

\end{DoxyCode}
 \mbox{\Hypertarget{group__Eina__Module__Group_ga3b281f5a69c95059348f53eedda76283}\label{group__Eina__Module__Group_ga3b281f5a69c95059348f53eedda76283}} 
\index{Module@{Module}!EINA\_MODULE\_DESCRIPTION@{EINA\_MODULE\_DESCRIPTION}}
\index{EINA\_MODULE\_DESCRIPTION@{EINA\_MODULE\_DESCRIPTION}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{EINA\_MODULE\_DESCRIPTION}{EINA\_MODULE\_DESCRIPTION}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+MODULE\+\_\+\+DESCRIPTION(\begin{DoxyParamCaption}\item[{}]{\+\_\+desc }\end{DoxyParamCaption})~EINA\+\_\+\+MODINFO(desc, \+\_\+desc)}



This macro is used for defining description. 

Explain what your module does. \mbox{\Hypertarget{group__Eina__Module__Group_gab11c2306e567ea3f24d8da4f004e1257}\label{group__Eina__Module__Group_gab11c2306e567ea3f24d8da4f004e1257}} 
\index{Module@{Module}!EINA\_MODULE\_INIT@{EINA\_MODULE\_INIT}}
\index{EINA\_MODULE\_INIT@{EINA\_MODULE\_INIT}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{EINA\_MODULE\_INIT}{EINA\_MODULE\_INIT}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+MODULE\+\_\+\+INIT(\begin{DoxyParamCaption}\item[{}]{f }\end{DoxyParamCaption})~\mbox{\hyperlink{group__Eina__Types__Group_ga1a53601915c5087ff37780aad3e2ec98}{EXPORTAPI}} \mbox{\hyperlink{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}{Eina\+\_\+\+Module\+\_\+\+Init}} \+\_\+\+\_\+eina\+\_\+module\+\_\+init = \&f}



declares the given function as the module initializer (\+\_\+\+\_\+eina\+\_\+module\+\_\+init). 

It must be of signature \mbox{\hyperlink{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}{Eina\+\_\+\+Module\+\_\+\+Init}} \mbox{\Hypertarget{group__Eina__Module__Group_gacac39c3b104d8b638902165d3eaf8935}\label{group__Eina__Module__Group_gacac39c3b104d8b638902165d3eaf8935}} 
\index{Module@{Module}!EINA\_MODULE\_SHUTDOWN@{EINA\_MODULE\_SHUTDOWN}}
\index{EINA\_MODULE\_SHUTDOWN@{EINA\_MODULE\_SHUTDOWN}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{EINA\_MODULE\_SHUTDOWN}{EINA\_MODULE\_SHUTDOWN}}
{\footnotesize\ttfamily \#define EINA\+\_\+\+MODULE\+\_\+\+SHUTDOWN(\begin{DoxyParamCaption}\item[{}]{f }\end{DoxyParamCaption})~\mbox{\hyperlink{group__Eina__Types__Group_ga1a53601915c5087ff37780aad3e2ec98}{EXPORTAPI}} \mbox{\hyperlink{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}{Eina\+\_\+\+Module\+\_\+\+Shutdown}} \+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown = \&f}



declares the given function as to be called on shutdown (\+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown). 

It must be of signature \mbox{\hyperlink{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}{Eina\+\_\+\+Module\+\_\+\+Shutdown}} 

\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}\label{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}} 
\index{Module@{Module}!Eina\_Module\_Init@{Eina\_Module\_Init}}
\index{Eina\_Module\_Init@{Eina\_Module\_Init}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{Eina\_Module\_Init}{Eina\_Module\_Init}}
{\footnotesize\ttfamily Eina\+\_\+\+Module\+\_\+\+Init}



If a function with this signature is exported by module as \+\_\+\+\_\+eina\+\_\+module\+\_\+init, it will be called on the first load after \mbox{\hyperlink{group__Evil__Dlfcn_ga92104d3068e23b5fbd643a7d80337a56}{dlopen()}} and if \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} is returned, load will fail, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} means the module was successfully initialized. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}{Eina\+\_\+\+Module\+\_\+\+Shutdown}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}\label{group__Eina__Module__Group_ga8b5ae1dc6eb935dc463686f1b7bba57c}} 
\index{Module@{Module}!Eina\_Module\_Shutdown@{Eina\_Module\_Shutdown}}
\index{Eina\_Module\_Shutdown@{Eina\_Module\_Shutdown}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{Eina\_Module\_Shutdown}{Eina\_Module\_Shutdown}}
{\footnotesize\ttfamily Eina\+\_\+\+Module\+\_\+\+Shutdown}



If a function with this signature is exported by module as \+\_\+\+\_\+eina\+\_\+module\+\_\+shutdown, it will be called before calling \mbox{\hyperlink{group__Evil__Dlfcn_ga3a83fac192df7e8ed470024a6cd0fbff}{dlclose()}} 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Module__Group_ga0535053efca6aee20c53fdff65899725}{Eina\+\_\+\+Module\+\_\+\+Init}} 
\end{DoxySeeAlso}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Eina__Module__Group_ga26a0b524d70befb99aaa3d4c341d05e4}\label{group__Eina__Module__Group_ga26a0b524d70befb99aaa3d4c341d05e4}} 
\index{Module@{Module}!eina\_module\_new@{eina\_module\_new}}
\index{eina\_module\_new@{eina\_module\_new}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_new()}{eina\_module\_new()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$ eina\+\_\+module\+\_\+new (\begin{DoxyParamCaption}\item[{const char $\ast$}]{file }\end{DoxyParamCaption})}



Returns a new module. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em file} & The name of the file module to load. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A new module. If {\ttfamily file} is {\ttfamily NULL}, or if it does not exist, the function returns {\ttfamily NULL}, otherwise, it allocates an Eina\+\_\+\+Module, stores a duplicate string of {\ttfamily file}, sets its reference to {\ttfamily 0} and its handle to {\ttfamily NULL}.
\end{DoxyReturn}
When the new module is not needed anymore, use \mbox{\hyperlink{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}{eina\+\_\+module\+\_\+free()}} to free the allocated memory.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load}} 
\end{DoxySeeAlso}


References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gae7cf7b1d66fa9022242e09fd53c06bb2}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+FALSE\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}\label{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}} 
\index{Module@{Module}!eina\_module\_free@{eina\_module\_free}}
\index{eina\_module\_free@{eina\_module\_free}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_free()}{eina\_module\_free()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+module\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$}]{module }\end{DoxyParamCaption})}



Deletes a module. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em module} & The module to delete. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
This function calls \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload()}} if {\ttfamily module} has been previously loaded and frees the allocated memory. On success this function returns \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} and \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise. If {\ttfamily module} is {\ttfamily NULL}, the function returns immediately. 

References \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload()}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Eina__Module__Group_ga4585a393c1b52c10607a6d692e23d63c}{eina\+\_\+module\+\_\+list\+\_\+free()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}\label{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}} 
\index{Module@{Module}!eina\_module\_load@{eina\_module\_load}}
\index{eina\_module\_load@{eina\_module\_load}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_load()}{eina\_module\_load()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+module\+\_\+load (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$}]{module }\end{DoxyParamCaption})}



Loads a module. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em module} & The module to load. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
This function load the shared file object passed in \mbox{\hyperlink{group__Eina__Module__Group_ga26a0b524d70befb99aaa3d4c341d05e4}{eina\+\_\+module\+\_\+new()}}. If it is a internal Eina module (like the mempools), it also initializes it. If the shared file object cannot be loaded, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} is returned. If it is an internal Eina module and the module cannot be initialized, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} is returned. If the module has already been loaded, its reference counter is increased by one and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} is returned. If {\ttfamily module} is {\ttfamily NULL}, the function returns immediately \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}.

When the symbols of the shared file objects are not needed anymore, call \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload()}} to unload the module. 

References \mbox{\hyperlink{group__Evil__Dlfcn_ga3a83fac192df7e8ed470024a6cd0fbff}{dlclose()}}, \mbox{\hyperlink{group__Evil__Dlfcn_ga6fb7a8954c4e58526d015e71a0484768}{dlerror()}}, \mbox{\hyperlink{group__Evil__Dlfcn_ga92104d3068e23b5fbd643a7d80337a56}{dlopen()}}, \mbox{\hyperlink{group__Evil__Dlfcn_gae2f9c8a0ad4b250953f81e514072be1e}{dlsym()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, \mbox{\hyperlink{evil__dlfcn_8h_ace65454279c135fe5e6168d456c31263}{RTLD\+\_\+\+GLOBAL}}, \mbox{\hyperlink{evil__dlfcn_8h_a5c83709ee3bd7d316f8f47e122f3be20}{RTLD\+\_\+\+LAZY}}, and \mbox{\hyperlink{evil__dlfcn_8h_a98a6517467cf7d1dd27d6c6dce78a6cf}{RTLD\+\_\+\+NOW}}.



Referenced by \mbox{\hyperlink{group__Eina__Module__Group_ga448ba8e9bb03362f79cba4bc4ebbd7a3}{eina\+\_\+module\+\_\+list\+\_\+load()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}\label{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}} 
\index{Module@{Module}!eina\_module\_unload@{eina\_module\_unload}}
\index{eina\_module\_unload@{eina\_module\_unload}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_unload()}{eina\_module\_unload()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} eina\+\_\+module\+\_\+unload (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$}]{module }\end{DoxyParamCaption})}



Unloads a module. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em module} & The module to load. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} on success, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} otherwise.
\end{DoxyReturn}
This function unload the module {\ttfamily module} that has been previously loaded by \mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load()}}. If the reference counter of {\ttfamily module} is strictly greater than {\ttfamily 1}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}} is returned. Otherwise, the shared object file is closed and if it is a internal Eina module, it is shut down just before. In that case, \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}} is returned. In all case, the reference counter is decreased. If {\ttfamily module} is {\ttfamily NULL}, the function returns immediately \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}. 

References \mbox{\hyperlink{group__Evil__Dlfcn_ga3a83fac192df7e8ed470024a6cd0fbff}{dlclose()}}, \mbox{\hyperlink{group__Evil__Dlfcn_gae2f9c8a0ad4b250953f81e514072be1e}{dlsym()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}, and \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}.



Referenced by \mbox{\hyperlink{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}{eina\+\_\+module\+\_\+free()}}, and \mbox{\hyperlink{group__Eina__Module__Group_gaa30e8b2dec9a57fee9be67dc85595037}{eina\+\_\+module\+\_\+list\+\_\+unload()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga5d6ab8365f41bb80300607c88b25dbc4}\label{group__Eina__Module__Group_ga5d6ab8365f41bb80300607c88b25dbc4}} 
\index{Module@{Module}!eina\_module\_symbol\_get@{eina\_module\_symbol\_get}}
\index{eina\_module\_symbol\_get@{eina\_module\_symbol\_get}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_symbol\_get()}{eina\_module\_symbol\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void $\ast$ eina\+\_\+module\+\_\+symbol\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$}]{module,  }\item[{const char $\ast$}]{symbol }\end{DoxyParamCaption})}



Retrieves the data associated with a symbol. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em module} & The module. \\
\hline
\mbox{\texttt{ in}}  & {\em symbol} & The symbol. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data associated with the symbol, or {\ttfamily NULL} on failure.
\end{DoxyReturn}
This function returns the data associated with {\ttfamily symbol} of {\ttfamily module}. {\ttfamily module} must have been loaded before with \mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load()}}. If {\ttfamily module} is {\ttfamily NULL}, or if it has not been correctly loaded before, the function returns immediately {\ttfamily NULL}. 

References \mbox{\hyperlink{group__Evil__Dlfcn_gae2f9c8a0ad4b250953f81e514072be1e}{dlsym()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Ecore__Evas__Group_ga86bb29bf2d70c97971e3780f537f77d9}{ecore\+\_\+evas\+\_\+cocoa\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gad248441605eff44298aba58c00b0491e}{ecore\+\_\+evas\+\_\+drm\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Extn_gad1214dfb75911576340c3b90654c5e3d}{ecore\+\_\+evas\+\_\+extn\+\_\+plug\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Extn_ga102cf94f8a2369d380e13521dc0dfb58}{ecore\+\_\+evas\+\_\+extn\+\_\+socket\+\_\+events\+\_\+block\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Extn_ga5da04eeeffd27e0456330fe7c88b2649}{ecore\+\_\+evas\+\_\+extn\+\_\+socket\+\_\+events\+\_\+block\+\_\+set()}}, \mbox{\hyperlink{group__Ecore__Evas__Extn_ga4024b9f6841aaf53aed7037f567a2777}{ecore\+\_\+evas\+\_\+extn\+\_\+socket\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga7a6f7068c320d58dda6a82f55ef0b170}{ecore\+\_\+evas\+\_\+fb\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga0eff8d269fb8e33e9e0208e2cb4439c8}{ecore\+\_\+evas\+\_\+gl\+\_\+drm\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gacbcd9761d44f6ea5ba2fce581a528ecf}{ecore\+\_\+evas\+\_\+gl\+\_\+sdl\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga0403b902814a245213b2f171fd444cc4}{ecore\+\_\+evas\+\_\+gl\+\_\+x11\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga44a1fd6e001ecee11cac466b01049c72}{ecore\+\_\+evas\+\_\+gl\+\_\+x11\+\_\+options\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gaee9cd693ecef250080f6fb916dab5969}{ecore\+\_\+evas\+\_\+gl\+\_\+x11\+\_\+pixmap\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga5a740e0475a284234ab0083c71a4952d}{ecore\+\_\+evas\+\_\+pointer\+\_\+device\+\_\+xy\+\_\+get()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga63a4c02a1f4c6f05b9b8e387a5ba5f9a}{ecore\+\_\+evas\+\_\+psl1ght\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gad6574c01175cc0f3092881b85d79bea3}{ecore\+\_\+evas\+\_\+sdl\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gaa56e0d56f8fdb0470d016cbdcfef61e0}{ecore\+\_\+evas\+\_\+software\+\_\+ddraw\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_gac42e3e2eb0d3b11a0e20f4b67494ec69}{ecore\+\_\+evas\+\_\+software\+\_\+gdi\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga7196ef250c2263e5a88c54d932434f49}{ecore\+\_\+evas\+\_\+software\+\_\+x11\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga22c3d4c04b40453d9ea6b63c18ce115a}{ecore\+\_\+evas\+\_\+software\+\_\+x11\+\_\+pixmap\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga4d9b4d70abe58eccb34e89792d07847d}{ecore\+\_\+evas\+\_\+vnc\+\_\+start()}}, \mbox{\hyperlink{group__Ecore__Evas__Group_ga8384369fcbd18ff3a58f8d0f7723a2bd}{ecore\+\_\+evas\+\_\+wayland\+\_\+egl\+\_\+new()}}, and \mbox{\hyperlink{group__Ecore__Evas__Group_gad2dcb63b66123305f072939218c3b7fa}{ecore\+\_\+evas\+\_\+wayland\+\_\+shm\+\_\+new()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_gada5986721209abdbe5939ead97cda592}\label{group__Eina__Module__Group_gada5986721209abdbe5939ead97cda592}} 
\index{Module@{Module}!eina\_module\_file\_get@{eina\_module\_file\_get}}
\index{eina\_module\_file\_get@{eina\_module\_file\_get}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_file\_get()}{eina\_module\_file\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} const char $\ast$ eina\+\_\+module\+\_\+file\+\_\+get (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$}]{module }\end{DoxyParamCaption})}



Returns the file name associated with the module. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em module} & The module. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The file name.
\end{DoxyReturn}
This function returns the file name passed in \mbox{\hyperlink{group__Eina__Module__Group_ga26a0b524d70befb99aaa3d4c341d05e4}{eina\+\_\+module\+\_\+new()}}. If {\ttfamily module} is {\ttfamily NULL}, the function returns immediately {\ttfamily NULL}. The returned value must no be freed. 

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Eina__Module__Group_ga5b915278a32560073a31545f42c52d93}{eina\+\_\+module\+\_\+find()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga6ac94a8aa3ade963db40c7a3faa41eee}\label{group__Eina__Module__Group_ga6ac94a8aa3ade963db40c7a3faa41eee}} 
\index{Module@{Module}!eina\_module\_symbol\_global\_set@{eina\_module\_symbol\_global\_set}}
\index{eina\_module\_symbol\_global\_set@{eina\_module\_symbol\_global\_set}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_symbol\_global\_set()}{eina\_module\_symbol\_global\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+module\+\_\+symbol\+\_\+global\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$}]{module,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{global }\end{DoxyParamCaption})}



Defines if on module load we should expose all symbol. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em module} & The module to turn off/on symbol to be exposed \\
\hline
\mbox{\texttt{ in}}  & {\em global} & {\ttfamily true} to turn on symbol to be exposed, {\ttfamily false} otherwise\\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+11 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga8c2df76c283bec72d09b9a5ed5b67839}\label{group__Eina__Module__Group_ga8c2df76c283bec72d09b9a5ed5b67839}} 
\index{Module@{Module}!eina\_module\_symbol\_path\_get@{eina\_module\_symbol\_path\_get}}
\index{eina\_module\_symbol\_path\_get@{eina\_module\_symbol\_path\_get}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_symbol\_path\_get()}{eina\_module\_symbol\_path\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} char $\ast$ eina\+\_\+module\+\_\+symbol\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{const void $\ast$}]{symbol,  }\item[{const char $\ast$}]{sub\+\_\+dir }\end{DoxyParamCaption})}



Returns the path built from the location of a library and a given sub directory. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em symbol} & The symbol to search for. \\
\hline
\mbox{\texttt{ in}}  & {\em sub\+\_\+dir} & The subdirectory to append. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The built path on success, {\ttfamily NULL} otherwise.
\end{DoxyReturn}
This function returns the path built by concatenating the path of the library containing the symbol {\ttfamily symbol} and {\ttfamily sub\+\_\+dir}. {\ttfamily sub\+\_\+dir} can be {\ttfamily NULL}. The returned path must be freed when not used anymore. If the symbol is not found, or dl\+\_\+addr() is not supported, or allocation fails, this function returns {\ttfamily NULL}. 

References \mbox{\hyperlink{group__Eina__File__Group_ga307eb3ab937eca910a4905ca61edb1bc}{EINA\+\_\+\+PATH\+\_\+\+SEP\+\_\+C}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gadd27589f0dff7237a8434d23eca91d39}{ecore\+\_\+buffer\+\_\+init()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga98133a2dfbc01aa7a9ebf4f5b7f2e6dd}\label{group__Eina__Module__Group_ga98133a2dfbc01aa7a9ebf4f5b7f2e6dd}} 
\index{Module@{Module}!eina\_module\_environment\_path\_get@{eina\_module\_environment\_path\_get}}
\index{eina\_module\_environment\_path\_get@{eina\_module\_environment\_path\_get}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_environment\_path\_get()}{eina\_module\_environment\_path\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} char $\ast$ eina\+\_\+module\+\_\+environment\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{const char $\ast$}]{env,  }\item[{const char $\ast$}]{sub\+\_\+dir }\end{DoxyParamCaption})}



Returns the path built from the value of an environment variable and a given sub directory. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em env} & The environment variable to expand. \\
\hline
\mbox{\texttt{ in}}  & {\em sub\+\_\+dir} & The subdirectory to append. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The built path on success, {\ttfamily NULL} otherwise.
\end{DoxyReturn}
This function returns the path built by concatenating the value of the environment variable named {\ttfamily env} and {\ttfamily sub\+\_\+dir}. {\ttfamily sub\+\_\+dir} can be {\ttfamily NULL}. The returned path must be freed when not used anymore. If the symbol is not found, or {\ttfamily env} does not exist, or allocation fails, this function returns {\ttfamily NULL}. 

References \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

\mbox{\Hypertarget{group__Eina__Module__Group_gaf13eef3b24ff64c2f4b02f44e24cbf90}\label{group__Eina__Module__Group_gaf13eef3b24ff64c2f4b02f44e24cbf90}} 
\index{Module@{Module}!eina\_module\_arch\_list\_get@{eina\_module\_arch\_list\_get}}
\index{eina\_module\_arch\_list\_get@{eina\_module\_arch\_list\_get}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_arch\_list\_get()}{eina\_module\_arch\_list\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$ eina\+\_\+module\+\_\+arch\+\_\+list\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$}]{array,  }\item[{const char $\ast$}]{path,  }\item[{const char $\ast$}]{arch }\end{DoxyParamCaption})}



Gets an array of modules found on the directory path matching an arch type. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em array} & The array that stores the list of the modules. \\
\hline
\mbox{\texttt{ in}}  & {\em path} & The directory\textquotesingle{}s path to search for modules. \\
\hline
\mbox{\texttt{ in}}  & {\em arch} & The architecture string. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The array of modules found in {\ttfamily path} matching {\ttfamily arch}.
\end{DoxyReturn}
This function adds to {\ttfamily array} the module names found in {\ttfamily path} which match the cpu architecture {\ttfamily arch}. If {\ttfamily path} or {\ttfamily arch} is {\ttfamily NULL}, the function returns immediately {\ttfamily array}. {\ttfamily array} can be {\ttfamily NULL}. In that case, it is created with 4 elements. 

References \mbox{\hyperlink{group__Eina__Array__Group_gaf4b5844225b5359a617744210a5ed6ff}{eina\+\_\+array\+\_\+new()}}, \mbox{\hyperlink{group__Eina__Types__Group_ga1feb115f8e9913e806e090d9bd5a7301}{EINA\+\_\+\+FALSE}}, and \mbox{\hyperlink{group__Eina__File__Group_gacb53e3286cf85a6652891ee5e5ec917b}{eina\+\_\+file\+\_\+dir\+\_\+list()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gadd27589f0dff7237a8434d23eca91d39}{ecore\+\_\+buffer\+\_\+init()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga1ff67add1ad98a7b873ee8460f6584f8}\label{group__Eina__Module__Group_ga1ff67add1ad98a7b873ee8460f6584f8}} 
\index{Module@{Module}!eina\_module\_list\_get@{eina\_module\_list\_get}}
\index{eina\_module\_list\_get@{eina\_module\_list\_get}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_list\_get()}{eina\_module\_list\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$ eina\+\_\+module\+\_\+list\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$}]{array,  }\item[{const char $\ast$}]{path,  }\item[{\mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}}}]{recursive,  }\item[{\mbox{\hyperlink{group__Eina__Module__Group_gaafada695dd7ed46ee22aa77201300fa9}{Eina\+\_\+\+Module\+\_\+\+Cb}}}]{cb,  }\item[{void $\ast$}]{data }\end{DoxyParamCaption})}



Gets a list of modules found on the directory path. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em array} & The array that stores the list of the modules. \\
\hline
\mbox{\texttt{ in}}  & {\em path} & The directory\textquotesingle{}s path to search for modules. \\
\hline
\mbox{\texttt{ in}}  & {\em recursive} & Iterate recursively on the path. \\
\hline
\mbox{\texttt{ in}}  & {\em cb} & Callback function to call on each module. \\
\hline
\mbox{\texttt{ in}}  & {\em data} & Data passed to the callback function. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The array of modules found in {\ttfamily path}.
\end{DoxyReturn}
This function adds to {\ttfamily array} the list of modules found in {\ttfamily path}. If {\ttfamily recursive} is \mbox{\hyperlink{group__Eina__Types__Group_ga05c12dacc8b4058994df842b41be85fc}{EINA\+\_\+\+TRUE}}, then recursive search is done. The callback {\ttfamily cb} is called on each module found, and {\ttfamily data} is passed to {\ttfamily cb}. If {\ttfamily path} is {\ttfamily NULL}, the function returns immediately {\ttfamily array}. If the returned value of {\ttfamily cb} is {\ttfamily 0}, the module will not be added to the list, otherwise it will be added. {\ttfamily array} can be {\ttfamily NULL}. In that case, it is created with 4 elements. {\ttfamily cb} can be {\ttfamily NULL}. 

References \mbox{\hyperlink{group__Eina__Array__Group_gaf4b5844225b5359a617744210a5ed6ff}{eina\+\_\+array\+\_\+new()}}, and \mbox{\hyperlink{group__Eina__File__Group_gacb53e3286cf85a6652891ee5e5ec917b}{eina\+\_\+file\+\_\+dir\+\_\+list()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gadd27589f0dff7237a8434d23eca91d39}{ecore\+\_\+buffer\+\_\+init()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga448ba8e9bb03362f79cba4bc4ebbd7a3}\label{group__Eina__Module__Group_ga448ba8e9bb03362f79cba4bc4ebbd7a3}} 
\index{Module@{Module}!eina\_module\_list\_load@{eina\_module\_list\_load}}
\index{eina\_module\_list\_load@{eina\_module\_list\_load}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_list\_load()}{eina\_module\_list\_load()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+module\+\_\+list\+\_\+load (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$}]{array }\end{DoxyParamCaption})}



Loads every module on the list of modules. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em array} & The array of modules to load.\\
\hline
\end{DoxyParams}
This function calls \mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load()}} on each element found in {\ttfamily array}. If {\ttfamily array} is {\ttfamily NULL}, this function does nothing. 

References \mbox{\hyperlink{struct__Eina__Array_ae2d0a209ad8fa80a06755a588ab49c1d}{\+\_\+\+Eina\+\_\+\+Array\+::count}}, \mbox{\hyperlink{group__Eina__Array__Group_ga810ed3618ca03f7d549a1bf2c33b2b6e}{EINA\+\_\+\+ARRAY\+\_\+\+ITER\+\_\+\+NEXT}}, and \mbox{\hyperlink{group__Eina__Module__Group_ga539b801ef17dc24d3a33fa128abcfddb}{eina\+\_\+module\+\_\+load()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_gadd27589f0dff7237a8434d23eca91d39}{ecore\+\_\+buffer\+\_\+init()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_gaa30e8b2dec9a57fee9be67dc85595037}\label{group__Eina__Module__Group_gaa30e8b2dec9a57fee9be67dc85595037}} 
\index{Module@{Module}!eina\_module\_list\_unload@{eina\_module\_list\_unload}}
\index{eina\_module\_list\_unload@{eina\_module\_list\_unload}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_list\_unload()}{eina\_module\_list\_unload()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+module\+\_\+list\+\_\+unload (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$}]{array }\end{DoxyParamCaption})}



Unloads every module on the list of modules. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em array} & The array of modules to unload.\\
\hline
\end{DoxyParams}
This function calls \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload()}} on each element found in {\ttfamily array}. If {\ttfamily array} is {\ttfamily NULL}, this function does nothing. 

References \mbox{\hyperlink{struct__Eina__Array_ae2d0a209ad8fa80a06755a588ab49c1d}{\+\_\+\+Eina\+\_\+\+Array\+::count}}, \mbox{\hyperlink{group__Eina__Array__Group_ga810ed3618ca03f7d549a1bf2c33b2b6e}{EINA\+\_\+\+ARRAY\+\_\+\+ITER\+\_\+\+NEXT}}, and \mbox{\hyperlink{group__Eina__Module__Group_gaa0893c795a410986c9104183fac9595f}{eina\+\_\+module\+\_\+unload()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga4585a393c1b52c10607a6d692e23d63c}\label{group__Eina__Module__Group_ga4585a393c1b52c10607a6d692e23d63c}} 
\index{Module@{Module}!eina\_module\_list\_free@{eina\_module\_list\_free}}
\index{eina\_module\_list\_free@{eina\_module\_list\_free}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_list\_free()}{eina\_module\_list\_free()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} void eina\+\_\+module\+\_\+list\+\_\+free (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$}]{array }\end{DoxyParamCaption})}



{\ttfamily Frees} every module on the list of modules. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in,out}}  & {\em array} & The array of modules to free.\\
\hline
\end{DoxyParams}
This function calls \mbox{\hyperlink{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}{eina\+\_\+module\+\_\+free()}} on each element found in {\ttfamily array}. If {\ttfamily array} is {\ttfamily NULL}, this function does nothing. 

References \mbox{\hyperlink{struct__Eina__Array_ae2d0a209ad8fa80a06755a588ab49c1d}{\+\_\+\+Eina\+\_\+\+Array\+::count}}, \mbox{\hyperlink{group__Eina__Array__Group_ga730712a63c00e752a7f68a70408d4aaf}{eina\+\_\+array\+\_\+flush()}}, \mbox{\hyperlink{group__Eina__Array__Group_ga810ed3618ca03f7d549a1bf2c33b2b6e}{EINA\+\_\+\+ARRAY\+\_\+\+ITER\+\_\+\+NEXT}}, \mbox{\hyperlink{group__Eina__Module__Group_ga0013bcb38999e21ee159e246e3811502}{eina\+\_\+module\+\_\+free()}}, and \mbox{\hyperlink{group__Eina__Safety__Checks__Group_ga1ccf8538d0015b3801ff642e6156843a}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN}}.



Referenced by \mbox{\hyperlink{group__Ecore__Buffer__Lib__Group_ga6f50524c5b5856515d7b151c5f18bb20}{ecore\+\_\+buffer\+\_\+shutdown()}}.

\mbox{\Hypertarget{group__Eina__Module__Group_ga5b915278a32560073a31545f42c52d93}\label{group__Eina__Module__Group_ga5b915278a32560073a31545f42c52d93}} 
\index{Module@{Module}!eina\_module\_find@{eina\_module\_find}}
\index{eina\_module\_find@{eina\_module\_find}!Module@{Module}}
\doxysubsubsection{\texorpdfstring{eina\_module\_find()}{eina\_module\_find()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Eina__Types__Group_ga6ac08753ba12bc9c7a0390cf67868f4f}{EINA\+\_\+\+API}} \mbox{\hyperlink{group__Eina__Module__Group_ga76c40ee7fea1c69f1eb76b1c6d45d650}{Eina\+\_\+\+Module}} $\ast$ eina\+\_\+module\+\_\+find (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{group__Eina__Array__Group_ga2a57284ee83a7e767485b7ae2f5df86c}{Eina\+\_\+\+Array}} $\ast$}]{array,  }\item[{const char $\ast$}]{module }\end{DoxyParamCaption})}



Finds a module in array. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em array} & The array to find the module. \\
\hline
\mbox{\texttt{ in}}  & {\em module} & The name of module to be searched. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The module to find on success, {\ttfamily NULL} otherwise.
\end{DoxyReturn}
This function finds a {\ttfamily module} in {\ttfamily array}. If the element is found the function returns the module, else {\ttfamily NULL} is returned. 

References \mbox{\hyperlink{eina__alloca_8h_ae13861224cb6597c3171a910683cb5fc}{alloca()}}, \mbox{\hyperlink{group__Eina__Array__Group_ga810ed3618ca03f7d549a1bf2c33b2b6e}{EINA\+\_\+\+ARRAY\+\_\+\+ITER\+\_\+\+NEXT}}, and \mbox{\hyperlink{group__Eina__Module__Group_gada5986721209abdbe5939ead97cda592}{eina\+\_\+module\+\_\+file\+\_\+get()}}.

