SOEM/oshw/rtk/oshw.h

36 lines
559 B
C
Raw Normal View History

2015-03-11 21:45:16 +01: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 16:10:29 +01:00
*/
2015-11-04 13:02:33 +01:00
/** \file
2014-11-25 16:10:29 +01:00
* \brief
* Headerfile for oshw.c
*/
#ifndef _oshw_
#define _oshw_
2016-02-16 13:35:19 +01:00
#ifdef __cplusplus
extern "C"
{
#endif
2014-11-25 16:10:29 +01: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 13:35:19 +01:00
#ifdef __cplusplus
}
#endif
2014-11-25 16:10:29 +01:00
#endif