PLCnext API Documentation
25.0.2.69
Arp
Plc
AnsiC
Device
Device.h
1
/******************************************************************************
2
*
3
// Copyright Phoenix Contact GmbH & Co. KG
4
*
5
*****************************************************************************/
6
#ifndef __ARPPLC_DEVICE_H__
7
#define __ARPPLC_DEVICE_H__
8
9
/*************************************************************************/
10
/* INCLUDES */
11
/*************************************************************************/
12
#include <stddef.h>
13
#include <stdint.h>
14
#include "Arp/System/ModuleLib/Module.h"
15
#include "Arp/Plc/AnsiC/ArpPlc.h"
16
#ifndef __cplusplus
17
#include <stdbool.h>
18
#endif
// !__cplusplus
19
20
/*************************************************************************/
21
/* DEFINITIONS */
22
/*************************************************************************/
23
24
#if defined _WINDLL
// .dll
25
#define ARP_C_SYMBOL_EXPORT __declspec(dllexport)
26
#define ARP_C_SYMBOL_IMPORT __declspec(dllimport)
27
#else
// .lib
28
#define ARP_C_SYMBOL_EXPORT
29
#define ARP_C_SYMBOL_IMPORT
30
#endif
31
32
33
/*************************************************************************/
34
/* GLOBAL FUNCTION DECLARATIONS (EXTERNAL) */
35
/*************************************************************************/
36
#ifdef __cplusplus
37
extern
"C"
38
{
39
#endif
/*__cplusplus*/
40
41
extern
ARP_C_SYMBOL_EXPORT
bool
ArpPlcDevice_GetUniqueHardwareId(uint8_t outId[32]);
42
43
#ifdef __cplusplus
44
}
/*extern "C"*/
45
#endif
/*__cplusplus*/
46
47
#endif
/*__ARPPLC_DEVICE_H__*/
Generated on Mon May 12 2025 14:03:49 for PLCnext API Documentation by
1.9.4