nico@207: nico@207:
nico@207:00001 /* nico@207: 00002 This file is part of CanFestival, a library implementing CanOpen Stack. nico@207: 00003 nico@207: 00004 Copyright (C): Edouard TISSERANT and Francis DUPIN nico@207: 00005 Win32 Port Leonid Tochinski nico@207: 00006 nico@207: 00007 See COPYING file for copyrights details. nico@207: 00008 nico@207: 00009 This library is free software; you can redistribute it and/or nico@207: 00010 modify it under the terms of the GNU Lesser General Public nico@207: 00011 License as published by the Free Software Foundation; either nico@207: 00012 version 2.1 of the License, or (at your option) any later version. nico@207: 00013 nico@207: 00014 This library is distributed in the hope that it will be useful, nico@207: 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of nico@207: 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU nico@207: 00017 Lesser General Public License for more details. nico@207: 00018 nico@207: 00019 You should have received a copy of the GNU Lesser General Public nico@207: 00020 License along with this library; if not, write to the Free Software nico@207: 00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA nico@207: 00022 */ nico@207: 00023 #ifndef CANFESTIVAL_H_ nico@207: 00024 #define CANFESTIVAL_H_ nico@207: 00025 nico@207: 00026 #include "timerscfg.h" nico@207: 00027 #include "can_driver.h" nico@207: 00028 #include "data.h" nico@207: 00029 nico@207: 00030 #include <windows.h> nico@207: 00031 typedef HINSTANCE LIB_HANDLE; nico@207: 00032 nico@207: 00033 UNS8 UnLoadCanDriver(LIB_HANDLE handle); nico@207: 00034 LIB_HANDLE LoadCanDriver(char* driver_name); nico@207: 00035 UNS8 canSend(CAN_PORT port, Message *m); nico@207: 00036 CAN_PORT canOpen(s_BOARD *board, CO_Data * d); nico@207: 00037 int canClose(CO_Data * d); nico@207: 00038 nico@207: 00039 #endif /*CANFESTIVAL_H_*/ nico@207: