mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-02-06 09:03:10 +08:00
This software is now dual-licensed, see LICENSE.md for details. Change-Id: I646ab4a6e69f9f8c3cdfadd9ad3e4ca7007f729d
33 lines
575 B
C
33 lines
575 B
C
/*
|
|
* This software is dual-licensed under GPLv3 and a commercial
|
|
* license. See the file LICENSE.md distributed with this software for
|
|
* full license information.
|
|
*/
|
|
|
|
/** \file
|
|
* \brief
|
|
* Headerfile for ethercatbase.c
|
|
*/
|
|
|
|
#ifndef _oshw_
|
|
#define _oshw_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|