\hypertarget{invoke_8c}{}\section{invoke.\+c File Reference}
\label{invoke_8c}\index{invoke.\+c@{invoke.\+c}}


Library for invoking exported plugin functions.  


{\ttfamily \#include $<$kdbinvoke.\+h$>$}\newline
{\ttfamily \#include $<$kdbmodule.\+h$>$}\newline
{\ttfamily \#include $<$kdbprivate.\+h$>$}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
Include dependency graph for invoke.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{invoke_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
Elektra\+Invoke\+Handle $\ast$ \hyperlink{group__invoke_gaae89e2497eba478be2043f1b25adbb3c}{elektra\+Invoke\+Initialize} (const char $\ast$elektra\+Plugin\+Name)
\item 
Elektra\+Invoke\+Handle $\ast$ \hyperlink{group__invoke_ga3eb20131e9a8fc9a6cebf126927c09bc}{elektra\+Invoke\+Open} (const char $\ast$elektra\+Plugin\+Name, Key\+Set $\ast$config, Key $\ast$error\+Key)
\begin{DoxyCompactList}\small\item\em Opens a new handle to invoke functions for a plugin. \end{DoxyCompactList}\item 
const void $\ast$ \hyperlink{group__invoke_ga4531a643a71a63c19c94d87bd8d0b40f}{elektra\+Invoke\+Get\+Function} (Elektra\+Invoke\+Handle $\ast$handle, const char $\ast$elektra\+Plugin\+Function\+Name)
\begin{DoxyCompactList}\small\item\em Get a function pointer. \end{DoxyCompactList}\item 
Key\+Set $\ast$ \hyperlink{group__invoke_gafc090b80f3ba846bf3c3fd8ccd34f2f5}{elektra\+Invoke\+Get\+Plugin\+Config} (Elektra\+Invoke\+Handle $\ast$handle)
\begin{DoxyCompactList}\small\item\em Get the configuration the plugin uses. \end{DoxyCompactList}\item 
const char $\ast$ \hyperlink{group__invoke_ga13bd3afe428624d459239df73641d769}{elektra\+Invoke\+Get\+Plugin\+Name} (Elektra\+Invoke\+Handle $\ast$handle)
\begin{DoxyCompactList}\small\item\em Get the name of the plugin. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{group__invoke_gac615e211a4d3c77addfa18152c274345}{elektra\+Invoke\+Get\+Plugin\+Data} (Elektra\+Invoke\+Handle $\ast$handle)
\begin{DoxyCompactList}\small\item\em Get the data of the plugin. \end{DoxyCompactList}\item 
Key\+Set $\ast$ \hyperlink{group__invoke_gaf3564011b52e96c9754a7b9bc41ea478}{elektra\+Invoke\+Get\+Modules} (Elektra\+Invoke\+Handle $\ast$handle)
\begin{DoxyCompactList}\small\item\em Get the modules used for invoking. \end{DoxyCompactList}\item 
Key\+Set $\ast$ \hyperlink{group__invoke_ga6ab386aba337d8d3fd7978070d613efe}{elektra\+Invoke\+Get\+Exports} (Elektra\+Invoke\+Handle $\ast$handle)
\begin{DoxyCompactList}\small\item\em Get the exports from the plugin. \end{DoxyCompactList}\item 
int \hyperlink{group__invoke_gaa257d93399c60f73c611205bbfa7c9a0}{elektra\+Invoke2\+Args} (Elektra\+Invoke\+Handle $\ast$handle, const char $\ast$elektra\+Plugin\+Function\+Name, Key\+Set $\ast$ks, Key $\ast$k)
\begin{DoxyCompactList}\small\item\em A convenience function to call a function with two arguments. \end{DoxyCompactList}\item 
void \hyperlink{group__invoke_ga684a21daa0b3c20783c55184a9157b3b}{elektra\+Invoke\+Close} (Elektra\+Invoke\+Handle $\ast$handle, Key $\ast$error\+Key)
\begin{DoxyCompactList}\small\item\em Closes all affairs with the handle. \end{DoxyCompactList}\item 
int \hyperlink{group__invoke_ga0c1fe2bab1f3a465106d6585363787a1}{elektra\+Invoke\+Call\+Deferable} (Elektra\+Invoke\+Handle $\ast$handle, const char $\ast$elektra\+Plugin\+Function\+Name, Key\+Set $\ast$parameters)
\begin{DoxyCompactList}\small\item\em Invokes a deferable function on a plugin handle. \end{DoxyCompactList}\item 
void \hyperlink{group__invoke_ga933ae8c38aadef6af1462297fcfb5041}{elektra\+Invoke\+Execute\+Deferred\+Calls} (Elektra\+Invoke\+Handle $\ast$handle, Elektra\+Deferred\+Call\+List $\ast$list)
\begin{DoxyCompactList}\small\item\em Execute deferred calls from list on given invoke handle. \end{DoxyCompactList}\item 
int \hyperlink{group__invoke_gaa6200aa148a20b58d62cd8cc73f293ce}{elektra\+Deferred\+Call\+Add} (Elektra\+Deferred\+Call\+List $\ast$list, const char $\ast$name, Key\+Set $\ast$parameters)
\begin{DoxyCompactList}\small\item\em Add a new deferred call to the deferred call list. \end{DoxyCompactList}\item 
Elektra\+Deferred\+Call\+List $\ast$ \hyperlink{group__invoke_gacff96e795f6fc2fad61ed2f8a5cd80cb}{elektra\+Deferred\+Call\+Create\+List} (void)
\begin{DoxyCompactList}\small\item\em Create new deferred call list. \end{DoxyCompactList}\item 
void \hyperlink{group__invoke_ga7b9d8b37ebd5205fded885164d3ad6b7}{elektra\+Deferred\+Call\+Delete\+List} (Elektra\+Deferred\+Call\+List $\ast$list)
\begin{DoxyCompactList}\small\item\em Delete deferred call list. \end{DoxyCompactList}\item 
void \hyperlink{group__invoke_gad59c673dce3c2f08fbe52c5c667f55ce}{elektra\+Deferred\+Calls\+Execute} (Plugin $\ast$plugin, Elektra\+Deferred\+Call\+List $\ast$list)
\begin{DoxyCompactList}\small\item\em Execute deferred calls on given plugin. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Library for invoking exported plugin functions. 

\begin{DoxyCopyright}{Copyright}
B\+SD License (see L\+I\+C\+E\+N\+S\+E.\+md or \href{https://www.libelektra.org}{\tt https\+://www.\+libelektra.\+org}) 
\end{DoxyCopyright}
