PLCnext API Documentation 25.0.2.69
Module.h
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#ifndef ARP_SYSTEM_MODULELIB_MODULE_H
7#define ARP_SYSTEM_MODULELIB_MODULE_H
8
10
11const int ResultSuccess = 0;
12const int ResultApplicationNameEmpty = 1;
13const int ResultModuleLibraryNotFound = 2;
14const int ResultModuleOperationNotFound = 3;
15const int ResultModuleEntryFailed = 4;
16const int ResultExceptionOccurs = 5;
17
18#ifdef __cplusplus
19extern "C"
20{
21#endif // def __cplusplus
22
23ARP_DEPRECATED("Use ArpSystemModule_Setup and ArpSystemModule_Dispose instead. Consider the modified order of arguments of ArpSystemModule_Setup.")
24extern int ArpSystemModule_Load(const char* arpBinaryDir, const char* applicationName, const char* acfSettingsPath);
25
26extern int ArpSystemModule_Main(const char* applicationName, const char* acfSettingsPath = "", const char* arpBinaryDir = "");
27extern int ArpSystemModule_Setup(const char* applicationName, const char* acfSettingsPath = "", const char* arpBinaryDir = "");
28extern int ArpSystemModule_Dispose(const char* arpBinaryDir = "");
29
30#ifdef __cplusplus
31}
32#endif // def __cplusplus
33
34#endif // ndef ARP_SYSTEM_MODULELIB_MODULE_H