SOEM/oshw/rtk/oshw.h

36 lines
559 B
C
Raw Normal View History

2015-03-12 04:45:16 +08:00
/*
* Licensed under the GNU General Public License version 2 with exceptions. See
* LICENSE file in the project root for full license information
2014-11-25 23:10:29 +08:00
*/
2015-11-04 20:02:33 +08:00
/** \file
2014-11-25 23:10:29 +08:00
* \brief
* Headerfile for oshw.c
*/
#ifndef _oshw_
#define _oshw_
2016-02-16 20:35:19 +08:00
#ifdef __cplusplus
extern "C"
{
#endif
2014-11-25 23:10:29 +08:00
#include <kern.h>
#include "ethercattype.h"
#include "nicdrv.h"
#include "ethercatmain.h"
uint16 oshw_htons(uint16 host);
uint16 oshw_ntohs(uint16 network);
ec_adaptert * oshw_find_adapters(void);
void oshw_free_adapters(ec_adaptert * adapter);
2016-02-16 20:35:19 +08:00
#ifdef __cplusplus
}
#endif
2014-11-25 23:10:29 +08:00
#endif