\hypertarget{dlfcn_8h}{}\section{dlfcn.\+h File Reference}
\label{dlfcn_8h}\index{dlfcn.\+h@{dlfcn.\+h}}


The file that provides functions to manage dynamic-\/link libraries.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structDl__info}{Dl\+\_\+info}
\begin{DoxyCompactList}\small\item\em A structure that stores infomation of a calling process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{dlfcn_8h_a5c83709ee3bd7d316f8f47e122f3be20}{}\#define \hyperlink{dlfcn_8h_a5c83709ee3bd7d316f8f47e122f3be20}{R\+T\+L\+D\+\_\+\+L\+A\+Z\+Y}~0x00001  /$\ast$ lazy function call binding $\ast$/\label{dlfcn_8h_a5c83709ee3bd7d316f8f47e122f3be20}

\begin{DoxyCompactList}\small\item\em Lazy function call binding. \end{DoxyCompactList}\item 
\hypertarget{dlfcn_8h_a98a6517467cf7d1dd27d6c6dce78a6cf}{}\#define \hyperlink{dlfcn_8h_a98a6517467cf7d1dd27d6c6dce78a6cf}{R\+T\+L\+D\+\_\+\+N\+O\+W}~0x00002  /$\ast$ immediate function call binding $\ast$/\label{dlfcn_8h_a98a6517467cf7d1dd27d6c6dce78a6cf}

\begin{DoxyCompactList}\small\item\em Immediate function call binding. \end{DoxyCompactList}\item 
\#define \hyperlink{dlfcn_8h_ace65454279c135fe5e6168d456c31263}{R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L}
\begin{DoxyCompactList}\small\item\em Symbols in this dlopen\textquotesingle{}ed obj are visible to other dlopen\textquotesingle{}ed objs. \end{DoxyCompactList}\item 
\hypertarget{dlfcn_8h_a63b65253a063469ae964534ab38fe635}{}\#define \hyperlink{dlfcn_8h_a63b65253a063469ae964534ab38fe635}{R\+T\+L\+D\+\_\+\+N\+O\+D\+E\+L\+E\+T\+E}~0x01000  /$\ast$ do not delete object when closed.  $\ast$/\label{dlfcn_8h_a63b65253a063469ae964534ab38fe635}

\begin{DoxyCompactList}\small\item\em Symbols are not deleted when closed. \end{DoxyCompactList}\item 
\hypertarget{dlfcn_8h_a58d13c5dcabbb85848fa97b446086247}{}\#define \hyperlink{dlfcn_8h_a58d13c5dcabbb85848fa97b446086247}{R\+T\+L\+D\+\_\+\+D\+E\+F\+A\+U\+L\+T}~((void$\ast$)1) /$\ast$ search the symbol on all the D\+L\+L of the current process $\ast$/\label{dlfcn_8h_a58d13c5dcabbb85848fa97b446086247}

\begin{DoxyCompactList}\small\item\em Symbols are searched in all the D\+L\+L opened by the current process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{dlfcn_8h_aa7b75ef782c9e787df6cff5e7699cf1e}{}typedef struct \hyperlink{structDl__info}{Dl\+\_\+info} \hyperlink{dlfcn_8h_aa7b75ef782c9e787df6cff5e7699cf1e}{Dl\+\_\+info}\label{dlfcn_8h_aa7b75ef782c9e787df6cff5e7699cf1e}

\begin{DoxyCompactList}\small\item\em A structure that stores infomation of a calling process. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Evil__Dlfcn_ga996da7599a89bb84423a0373171ddcee}{dlopen} (const char $\ast$path, int mode)
\begin{DoxyCompactList}\small\item\em Map a specified executable module (either a .dll or .exe file) into the address space of the user process. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Evil__Dlfcn_ga1a63f96430b0d05189b31d7885b1e555}{dlclose} (void $\ast$handle)
\begin{DoxyCompactList}\small\item\em Close a dynamic-\/link library. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Evil__Dlfcn_ga9bb047189e7ddc7a0abae154dd210743}{dlsym} (void $\ast$handle, const char $\ast$symbol)
\begin{DoxyCompactList}\small\item\em Get the address of a symbol. \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Evil__Dlfcn_ga935806a9720b4b3f1a9a64523c920a29}{dladdr} (const void $\ast$addr, \hyperlink{structDl__info}{Dl\+\_\+info} $\ast$info)
\begin{DoxyCompactList}\small\item\em Get the location of the current process (.exe) \end{DoxyCompactList}\item 
\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} char $\ast$ \hyperlink{group__Evil__Dlfcn_gaa4b07f412ae40aaf5f5f5d7400c74c29}{dlerror} (void)
\begin{DoxyCompactList}\small\item\em Get diagnostic information. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
The file that provides functions to manage dynamic-\/link libraries. 



\subsection{Macro Definition Documentation}
\hypertarget{dlfcn_8h_ace65454279c135fe5e6168d456c31263}{}\index{dlfcn.\+h@{dlfcn.\+h}!R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L@{R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L}}
\index{R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L@{R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L}!dlfcn.\+h@{dlfcn.\+h}}
\subsubsection[{R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L}\label{dlfcn_8h_ace65454279c135fe5e6168d456c31263}
{\bfseries Value\+:}
\begin{DoxyCode}
0x00100  \textcolor{comment}{/* symbols in this dlopen'ed obj are visible}
\textcolor{comment}{                                  to other dlopen'ed objs */}
\end{DoxyCode}


Symbols in this dlopen\textquotesingle{}ed obj are visible to other dlopen\textquotesingle{}ed objs. 



Referenced by ecore\+\_\+x\+\_\+init(), and eina\+\_\+module\+\_\+load().

