
nico@207: \hypertarget{lifegrd_8c}{
nico@207: \section{/home/epimerde/documents/tc11/Can\-Festival-3/src/lifegrd.c File Reference}
nico@207: \label{lifegrd_8c}\index{/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c@{/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c}}
nico@207: }
nico@207: {\tt \#include $<$data.h$>$}\par
nico@207: {\tt \#include \char`\"{}lifegrd.h\char`\"{}}\par
nico@207: {\tt \#include \char`\"{}canfestival.h\char`\"{}}\par
nico@207: \subsection*{Functions}
nico@207: \begin{CompactItemize}
nico@207: \item 
nico@207: void \hyperlink{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}{Consumer\-Hearbeat\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
nico@207: \item 
nico@207: void \hyperlink{lifegrd_8c_626b7d9e527a898682d9122f91454de9}{Producer\-Hearbeat\-Alarm} (CO\_\-Data $\ast$d, UNS32 id)
nico@207: \item 
nico@207: UNS32 \hyperlink{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}{On\-Hearbeat\-Producer\-Update} (CO\_\-Data $\ast$d, const indextable $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
nico@207: \item 
nico@207: e\_\-node\-State \hyperlink{lifegrd_8c_627254070e45c23f1776e12c524492ff}{get\-Node\-State} (CO\_\-Data $\ast$d, UNS8 node\-Id)
nico@207: \item 
nico@207: void \hyperlink{lifegrd_8c_b3248945e06e8b05518beddf665f174d}{proceed\-NODE\_\-GUARD} (CO\_\-Data $\ast$d, Message $\ast$m)
nico@207: \item 
nico@207: UNS32 \hyperlink{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}{On\-Heartbeat\-Producer\-Update} (CO\_\-Data $\ast$d, const indextable $\ast$unsused\_\-indextable, UNS8 unsused\_\-b\-Subindex)
nico@207: \item 
nico@207: void \hyperlink{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}{heartbeat\-Init} (CO\_\-Data $\ast$d)
nico@207: \item 
nico@207: void \hyperlink{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}{heartbeat\-Stop} (CO\_\-Data $\ast$d)
nico@207: \item 
nico@207: void \hyperlink{lifegrd_8c_5249eb891f5677b80ccf01e604748524}{\_\-heartbeat\-Error} (UNS8 heartbeat\-ID)
nico@207: \end{CompactItemize}
nico@207: 
nico@207: 
nico@207: \subsection{Function Documentation}
nico@207: \hypertarget{lifegrd_8c_5249eb891f5677b80ccf01e604748524}{
nico@207: \index{lifegrd.c@{lifegrd.c}!_heartbeatError@{\_\-heartbeatError}}
nico@207: \index{_heartbeatError@{\_\-heartbeatError}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[\_\-heartbeatError]{\setlength{\rightskip}{0pt plus 5cm}void \_\-heartbeat\-Error (UNS8 {\em heartbeat\-ID})}}
nico@207: \label{lifegrd_8c_5249eb891f5677b80ccf01e604748524}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 184 of file lifegrd.c.\hypertarget{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}{
nico@207: \index{lifegrd.c@{lifegrd.c}!ConsumerHearbeatAlarm@{ConsumerHearbeatAlarm}}
nico@207: \index{ConsumerHearbeatAlarm@{ConsumerHearbeatAlarm}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[ConsumerHearbeatAlarm]{\setlength{\rightskip}{0pt plus 5cm}void Consumer\-Hearbeat\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
nico@207: \label{lifegrd_8c_e3cd4656f5b2a37d4b8d364293538198}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 41 of file lifegrd.c.\hypertarget{lifegrd_8c_627254070e45c23f1776e12c524492ff}{
nico@207: \index{lifegrd.c@{lifegrd.c}!getNodeState@{getNodeState}}
nico@207: \index{getNodeState@{getNodeState}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[getNodeState]{\setlength{\rightskip}{0pt plus 5cm}e\_\-node\-State get\-Node\-State (CO\_\-Data $\ast$ {\em d}, UNS8 {\em node\-Id})}}
nico@207: \label{lifegrd_8c_627254070e45c23f1776e12c524492ff}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 33 of file lifegrd.c.\hypertarget{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}{
nico@207: \index{lifegrd.c@{lifegrd.c}!heartbeatInit@{heartbeatInit}}
nico@207: \index{heartbeatInit@{heartbeatInit}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[heartbeatInit]{\setlength{\rightskip}{0pt plus 5cm}void heartbeat\-Init (CO\_\-Data $\ast$ {\em d})}}
nico@207: \label{lifegrd_8c_8896f6846e4d020390f6953f3d98aa21}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 147 of file lifegrd.c.
nico@207: 
nico@207: References Consumer\-Hearbeat\-Alarm(), On\-Heartbeat\-Producer\-Update(), Producer\-Hearbeat\-Alarm(), Register\-Set\-ODentry\-Call\-Back(), and Set\-Alarm().\hypertarget{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}{
nico@207: \index{lifegrd.c@{lifegrd.c}!heartbeatStop@{heartbeatStop}}
nico@207: \index{heartbeatStop@{heartbeatStop}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[heartbeatStop]{\setlength{\rightskip}{0pt plus 5cm}void heartbeat\-Stop (CO\_\-Data $\ast$ {\em d})}}
nico@207: \label{lifegrd_8c_1b73047269c2a02065e12af18c6053c7}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 173 of file lifegrd.c.
nico@207: 
nico@207: References Del\-Alarm().\hypertarget{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}{
nico@207: \index{lifegrd.c@{lifegrd.c}!OnHearbeatProducerUpdate@{OnHearbeatProducerUpdate}}
nico@207: \index{OnHearbeatProducerUpdate@{OnHearbeatProducerUpdate}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[OnHearbeatProducerUpdate]{\setlength{\rightskip}{0pt plus 5cm}UNS32 On\-Hearbeat\-Producer\-Update (CO\_\-Data $\ast$ {\em d}, const indextable $\ast$ {\em unsused\_\-indextable}, UNS8 {\em unsused\_\-b\-Subindex})}}
nico@207: \label{lifegrd_8c_ec7b3543d04cf7d7098b27fba2510696}
nico@207: 
nico@207: 
nico@207: \hypertarget{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}{
nico@207: \index{lifegrd.c@{lifegrd.c}!OnHeartbeatProducerUpdate@{OnHeartbeatProducerUpdate}}
nico@207: \index{OnHeartbeatProducerUpdate@{OnHeartbeatProducerUpdate}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[OnHeartbeatProducerUpdate]{\setlength{\rightskip}{0pt plus 5cm}UNS32 On\-Heartbeat\-Producer\-Update (CO\_\-Data $\ast$ {\em d}, const indextable $\ast$ {\em unsused\_\-indextable}, UNS8 {\em unsused\_\-b\-Subindex})}}
nico@207: \label{lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 139 of file lifegrd.c.
nico@207: 
nico@207: References heartbeat\-Init(), and heartbeat\-Stop().\hypertarget{lifegrd_8c_b3248945e06e8b05518beddf665f174d}{
nico@207: \index{lifegrd.c@{lifegrd.c}!proceedNODE_GUARD@{proceedNODE\_\-GUARD}}
nico@207: \index{proceedNODE_GUARD@{proceedNODE\_\-GUARD}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[proceedNODE\_\-GUARD]{\setlength{\rightskip}{0pt plus 5cm}void proceed\-NODE\_\-GUARD (CO\_\-Data $\ast$ {\em d}, Message $\ast$ {\em m})}}
nico@207: \label{lifegrd_8c_b3248945e06e8b05518beddf665f174d}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 50 of file lifegrd.c.
nico@207: 
nico@207: References Consumer\-Hearbeat\-Alarm(), Del\-Alarm(), and Set\-Alarm().\hypertarget{lifegrd_8c_626b7d9e527a898682d9122f91454de9}{
nico@207: \index{lifegrd.c@{lifegrd.c}!ProducerHearbeatAlarm@{ProducerHearbeatAlarm}}
nico@207: \index{ProducerHearbeatAlarm@{ProducerHearbeatAlarm}!lifegrd.c@{lifegrd.c}}
nico@207: \subsubsection[ProducerHearbeatAlarm]{\setlength{\rightskip}{0pt plus 5cm}void Producer\-Hearbeat\-Alarm (CO\_\-Data $\ast$ {\em d}, UNS32 {\em id})}}
nico@207: \label{lifegrd_8c_626b7d9e527a898682d9122f91454de9}
nico@207: 
nico@207: 
nico@207: 
nico@207: 
nico@207: Definition at line 113 of file lifegrd.c.
nico@207: 
nico@207: References Del\-Alarm().



