SOEM/oshw/win32/oshw.h

33 lines
561 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
2015-11-04 20:02:33 +08:00
* Headerfile for ethercatbase.c
2014-11-25 23:10:29 +08:00
*/
#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 "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 20:35:19 +08:00
#ifdef __cplusplus
}
#endif
2014-11-25 23:10:29 +08:00
#endif