SOEM/oshw/linux/oshw.h

32 lines
557 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
2015-11-04 13:02:33 +01:00
* Headerfile for ethercatbase.c
2014-11-25 16:10:29 +01:00
*/
#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 "ethercattype.h"
#include "nicdrv.h"
#include "ethercatmain.h"
uint16 oshw_htons(uint16 hostshort);
uint16 oshw_ntohs(uint16 networkshort);
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