2014-11-25 23:10:29 +08:00
|
|
|
/*
|
2017-03-29 13:16:44 +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 ethercatprint.c
|
2014-11-25 23:10:29 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ethercatprint_
|
|
|
|
#define _ethercatprint_
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2015-12-18 23:03:23 +08:00
|
|
|
char* ec_sdoerror2string( uint32 sdoerrorcode);
|
2014-11-25 23:10:29 +08:00
|
|
|
char* ec_ALstatuscode2string( uint16 ALstatuscode);
|
|
|
|
char* ec_soeerror2string( uint16 errorcode);
|
|
|
|
char* ecx_elist2string(ecx_contextt *context);
|
|
|
|
|
|
|
|
#ifdef EC_VER1
|
|
|
|
char* ec_elist2string(void);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|