etisserant@15: /* etisserant@15: This file is part of CanFestival, a library implementing CanOpen Stack. etisserant@15: etisserant@15: Copyright (C): Edouard TISSERANT and Francis DUPIN etisserant@15: etisserant@15: See COPYING file for copyrights details. etisserant@15: etisserant@15: This library is free software; you can redistribute it and/or etisserant@15: modify it under the terms of the GNU Lesser General Public etisserant@15: License as published by the Free Software Foundation; either etisserant@15: version 2.1 of the License, or (at your option) any later version. etisserant@15: etisserant@15: This library is distributed in the hope that it will be useful, etisserant@15: but WITHOUT ANY WARRANTY; without even the implied warranty of etisserant@15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU etisserant@15: Lesser General Public License for more details. etisserant@15: etisserant@15: You should have received a copy of the GNU Lesser General Public etisserant@15: License along with this library; if not, write to the Free Software etisserant@15: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA etisserant@15: */ etisserant@15: etisserant@15: #ifndef __nvram_driver_h__ etisserant@15: #define __nvram_driver_h__ etisserant@15: etisserant@15: #include "data.h" etisserant@15: etisserant@15: int nvram_open(void); etisserant@15: void nvram_close(void); etisserant@15: char nvram_write(int type, int access_attr, void *data); etisserant@15: char nvram_read(int type, int access_attr, void *data); etisserant@15: etisserant@15: #endif