\hypertarget{notification_8c}{}\section{notification.\+c File Reference}
\label{notification_8c}\index{notification.c@{notification.c}}


Implementation of notification functions as defined in \mbox{\hyperlink{kdbnotification_8h}{kdbnotification.\+h}}.  


{\ttfamily \#include $<$kdbassert.\+h$>$}\newline
{\ttfamily \#include $<$kdbease.\+h$>$}\newline
{\ttfamily \#include $<$kdbhelper.\+h$>$}\newline
{\ttfamily \#include $<$kdbinvoke.\+h$>$}\newline
{\ttfamily \#include $<$kdbioprivate.\+h$>$}\newline
{\ttfamily \#include $<$kdblogger.\+h$>$}\newline
{\ttfamily \#include $<$kdbnotification.\+h$>$}\newline
{\ttfamily \#include $<$kdbnotificationinternal.\+h$>$}\newline
{\ttfamily \#include $<$kdbplugin.\+h$>$}\newline
{\ttfamily \#include $<$kdbprivate.\+h$>$}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
Include dependency graph for notification.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{notification_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__kdbnotification_gaeae96154abdb5fdbf1b34a01e2b23e44}{elektra\+Notification\+Open}} (K\+DB $\ast$kdb)
\begin{DoxyCompactList}\small\item\em Initialize the notification system for the given K\+DB instance. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__kdbnotification_ga5685dafbd4131011365628d6d9213594}{elektra\+Notification\+Close}} (K\+DB $\ast$kdb)
\begin{DoxyCompactList}\small\item\em Stop the notification system for the given K\+DB instance. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__kdbnotification_gab42738703162b3769b1336dcade47b18}{elektra\+Notification\+Register\+Callback}} (K\+DB $\ast$kdb, Key $\ast$key, \mbox{\hyperlink{group__kdbnotification_gad0d800e32a72d89780321e5723301eb9}{Elektra\+Notification\+Change\+Callback}} callback, void $\ast$context)
\begin{DoxyCompactList}\small\item\em Subscribe for updates via callback when a given key value is changed. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__kdbnotification_ga374edd4f4fff527d6511ce4d0df62681}{elektra\+Notification\+Register\+Callback\+Same\+Or\+Below}} (K\+DB $\ast$kdb, Key $\ast$key, \mbox{\hyperlink{group__kdbnotification_gad0d800e32a72d89780321e5723301eb9}{Elektra\+Notification\+Change\+Callback}} callback, void $\ast$context)
\begin{DoxyCompactList}\small\item\em Subscribe for updates via callback when a given key or a key below changed. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implementation of notification functions as defined in \mbox{\hyperlink{kdbnotification_8h}{kdbnotification.\+h}}. 

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