PLCnext API Documentation 25.0.2.69
ArpPlc.h
1/******************************************************************************
2 *
3// Copyright Phoenix Contact GmbH & Co. KG
4 *
5 *****************************************************************************/
6#ifndef __ARPPLC_H__
7#define __ARPPLC_H__
8
9/*************************************************************************/
10/* INCLUDES */
11/*************************************************************************/
12#include <stddef.h>
13#include <stdint.h>
14#include "Arp/System/ModuleLib/Module.h"
15#ifndef __cplusplus
16 #include <stdbool.h>
17#endif // !__cplusplus
18
19/*************************************************************************/
20/* DEFINITIONS */
21/*************************************************************************/
22
23#if defined _WINDLL // .dll
24 #define ARP_C_SYMBOL_EXPORT __declspec(dllexport)
25 #define ARP_C_SYMBOL_IMPORT __declspec(dllimport)
26#else // .lib
27 #define ARP_C_SYMBOL_EXPORT
28 #define ARP_C_SYMBOL_IMPORT
29#endif
30
31
32/*************************************************************************/
33/* GLOBAL FUNCTION DECLARATIONS (EXTERNAL) */
34/*************************************************************************/
35#ifdef __cplusplus
36extern "C"
37{
38#endif /*__cplusplus*/
39
40extern ARP_C_SYMBOL_EXPORT void ArpPlc_GetLastError(char* buffer, int bufferSize);
41
42
43#ifdef __cplusplus
44} /*extern "C"*/
45#endif /*__cplusplus*/
46
47#endif /*__ARPPLC_H__*/