\hypertarget{kdbnotificationplugin_8h}{}\section{kdbnotificationplugin.\+h File Reference}
\label{kdbnotificationplugin_8h}\index{kdbnotificationplugin.\+h@{kdbnotificationplugin.\+h}}


Elektra-\/\+Notification structures and declarations for developing notification plugins.  


{\ttfamily \#include \char`\"{}kdb.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}kdbnotification.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}kdbplugin.\+h\char`\"{}}\newline
Include dependency graph for kdbnotificationplugin.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{kdbnotificationplugin_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=193pt]{kdbnotificationplugin_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef int($\ast$ \hyperlink{kdbnotificationplugin_8h_ad517b6f5b6c06859f9f8cfee7f5ef9bd}{Elektra\+Notification\+Plugin\+Register\+Int}) (Plugin $\ast$handle, Key $\ast$key, int $\ast$variable)
\begin{DoxyCompactList}\small\item\em Subscribe for automatic updates to a given integer variable when the given key value is changed. \end{DoxyCompactList}\item 
typedef int($\ast$ \hyperlink{kdbnotificationplugin_8h_a52b0b0567d489d37c3ca31b20a65e10a}{Elektra\+Notification\+Plugin\+Register\+Callback}) (Plugin $\ast$handle, Key $\ast$key, \hyperlink{kdbnotification_8h_ab5fc8807478f28217df170b86a85fd19}{Elektra\+Notification\+Change\+Callback} callback)
\begin{DoxyCompactList}\small\item\em Subscribe for updates via callback when a given key value is changed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Elektra-\/\+Notification structures and declarations for developing notification plugins. 

Only used by elektra-\/notification library and notification plugins (e.\+g. internalnotification).

\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}


\subsection{Typedef Documentation}
\mbox{\Hypertarget{kdbnotificationplugin_8h_a52b0b0567d489d37c3ca31b20a65e10a}\label{kdbnotificationplugin_8h_a52b0b0567d489d37c3ca31b20a65e10a}} 
\index{kdbnotificationplugin.\+h@{kdbnotificationplugin.\+h}!Elektra\+Notification\+Plugin\+Register\+Callback@{Elektra\+Notification\+Plugin\+Register\+Callback}}
\index{Elektra\+Notification\+Plugin\+Register\+Callback@{Elektra\+Notification\+Plugin\+Register\+Callback}!kdbnotificationplugin.\+h@{kdbnotificationplugin.\+h}}
\subsubsection{\texorpdfstring{Elektra\+Notification\+Plugin\+Register\+Callback}{ElektraNotificationPluginRegisterCallback}}
{\footnotesize\ttfamily typedef int($\ast$ Elektra\+Notification\+Plugin\+Register\+Callback) (Plugin $\ast$handle, Key $\ast$key, \hyperlink{kdbnotification_8h_ab5fc8807478f28217df170b86a85fd19}{Elektra\+Notification\+Change\+Callback} callback)}



Subscribe for updates via callback when a given key value is changed. 


\begin{DoxyParams}{Parameters}
{\em handle} & plugin handle \\
\hline
{\em key} & key to watch for changes \\
\hline
{\em callback} & callback function\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em 1} & on success \\
\hline
{\em 0} & on failure \\
\hline
\end{DoxyRetVals}
\mbox{\Hypertarget{kdbnotificationplugin_8h_ad517b6f5b6c06859f9f8cfee7f5ef9bd}\label{kdbnotificationplugin_8h_ad517b6f5b6c06859f9f8cfee7f5ef9bd}} 
\index{kdbnotificationplugin.\+h@{kdbnotificationplugin.\+h}!Elektra\+Notification\+Plugin\+Register\+Int@{Elektra\+Notification\+Plugin\+Register\+Int}}
\index{Elektra\+Notification\+Plugin\+Register\+Int@{Elektra\+Notification\+Plugin\+Register\+Int}!kdbnotificationplugin.\+h@{kdbnotificationplugin.\+h}}
\subsubsection{\texorpdfstring{Elektra\+Notification\+Plugin\+Register\+Int}{ElektraNotificationPluginRegisterInt}}
{\footnotesize\ttfamily typedef int($\ast$ Elektra\+Notification\+Plugin\+Register\+Int) (Plugin $\ast$handle, Key $\ast$key, int $\ast$variable)}



Subscribe for automatic updates to a given integer variable when the given key value is changed. 


\begin{DoxyParams}{Parameters}
{\em handle} & plugin handle \\
\hline
{\em key} & key to watch for changes \\
\hline
{\em variable} & integer variable\\
\hline
\end{DoxyParams}

\begin{DoxyRetVals}{Return values}
{\em 1} & on success \\
\hline
{\em 0} & on failure \\
\hline
\end{DoxyRetVals}
