lifegrd.h

Go to the documentation of this file.
00001 /*
00002 This file is part of CanFestival, a library implementing CanOpen Stack. 
00003 
00004 Copyright (C): Edouard TISSERANT and Francis DUPIN
00005 
00006 See COPYING file for copyrights details.
00007 
00008 This library is free software; you can redistribute it and/or
00009 modify it under the terms of the GNU Lesser General Public
00010 License as published by the Free Software Foundation; either
00011 version 2.1 of the License, or (at your option) any later version.
00012 
00013 This library is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016 Lesser General Public License for more details.
00017 
00018 You should have received a copy of the GNU Lesser General Public
00019 License along with this library; if not, write to the Free Software
00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 */
00022 
00023 #ifndef __lifegrd_h__
00024 #define __lifegrd_h__
00025 
00026 
00027 #include <applicfg.h>
00028 
00029 typedef void (*heartbeatError_t)(UNS8);
00030 void _heartbeatError(UNS8 heartbeatID);
00031 
00032 #include "data.h"
00033 
00034 /*************************************************************************
00035  * Functions
00036  *************************************************************************/
00037 
00038 
00043 e_nodeState getNodeState (CO_Data* d, UNS8 nodeId);
00044 
00049 void heartbeatInit(CO_Data* d);
00050 
00053 void heartbeatStop(CO_Data* d);
00054 
00061 void proceedNODE_GUARD (CO_Data* d, Message* m);
00062 
00063 #endif /*__lifegrd_h__ */

Generated on Mon Jul 2 19:10:16 2007 for CanFestival by  doxygen 1.5.1