PLCnext API Documentation 25.0.2.69
GdsBuffer.h
1/******************************************************************************
2 *
3// Copyright Phoenix Contact GmbH & Co. KG
4 *
5 *****************************************************************************/
6#ifndef __ARPPLCGDSBUFFER_H__
7#define __ARPPLCGDSBUFFER_H__
8
9/*************************************************************************/
10/* INCLUDES */
11/*************************************************************************/
12#include "Arp/Plc/AnsiC/ArpPlc.h"
13
14
15/*************************************************************************/
16/* TYPE DEFINITIONS */
17/*************************************************************************/
18#ifdef __cplusplus
19namespace Arp { namespace Plc { namespace Commons { namespace Internal { namespace Gds { namespace Buffer
20{
21class IGdsBuffer;
22}}}}}} // namespace Arp::Plc::Commons::Internal::Gds::Buffer
23using TGdsBuffer = Arp::Plc::Commons::Internal::Gds::Buffer::IGdsBuffer;
24#else
25typedef struct TGdsBuffer TGdsBuffer;
26#endif /*__cplusplus*/
27
28/*************************************************************************/
29/* GLOBAL FUNCTION DECLARATIONS (EXTERNAL) */
30/*************************************************************************/
31#ifdef __cplusplus
32extern "C"
33{
34#endif /*__cplusplus*/
35
36extern ARP_C_SYMBOL_EXPORT bool ArpPlcGds_BeginRead(
37 TGdsBuffer* pGdsBuffer, char** pOutCurrentReadData);
38
39extern ARP_C_SYMBOL_EXPORT bool ArpPlcGds_EndRead(TGdsBuffer* pGdsBuffer);
40
41extern ARP_C_SYMBOL_EXPORT bool ArpPlcGds_BeginWrite(
42 TGdsBuffer* pGdsBuffer, char** pOutCurrentWriteData);
43
44extern ARP_C_SYMBOL_EXPORT bool ArpPlcGds_EndWrite(TGdsBuffer* pGdsBuffer);
45
46extern ARP_C_SYMBOL_EXPORT bool ArpPlcGds_EndWriteDataInvalid(TGdsBuffer* pGdsBuffer);
47
48#ifdef __cplusplus
49} /*extern "C"*/
50#endif /*__cplusplus*/
51
52#endif /*__ARPPLCGDSBUFFER_H__*/
Root namespace for the PLCnext API