SOEM/oshw/intime/oshw.h

32 lines
553 B
C
Raw Permalink 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
2015-03-11 21:45:16 +01:00
*/
2015-11-04 13:02:33 +01:00
/** \file
2015-03-11 21:45:16 +01:00
* \brief
2015-11-04 13:02:33 +01:00
* Headerfile for oshw.c
2015-03-11 21:45:16 +01:00
*/
#ifndef _oshw_
#define _oshw_
#include "ethercattype.h"
#include "ethercatmain.h"
#include "nicdrv.h"
#ifdef __cplusplus
extern "C" {
#endif
uint16 oshw_htons (uint16 hostshort);
uint16 oshw_ntohs (uint16 networkshort);
ec_adaptert * oshw_find_adapters (void);
void oshw_free_adapters (ec_adaptert * adapter);
#ifdef __cplusplus
}
#endif
#endif