Apama  10.15.0.2
AP_PluginCommon.h
Go to the documentation of this file.
1 /*
2  * AP_PluginCommon.h
3  *
4  * $Copyright(c) 2002, 2004-2006, 2008-2009, 2012-2013 Progress Software Corporation (PSC). All rights reserved.$
5  * $Copyright (c) 2013, 2016-2017, 2022 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.$
6  * Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG
7  *
8  */
9 
15 #ifndef APAMA_PLUGIN_COMMON_H
16 #define APAMA_PLUGIN_COMMON_H
17 
18 
19 #define AP_PLUGIN_MAJOR_VERSION_MASK 0xffff0000
20 #define AP_PLUGIN_MINOR_VERSION_MASK 0x0000ffff
21 
24 #define AP_INIT_FUNCTION_NAME InitLibrary
25 
27 #define AP_SHUTDOWN_FUNCTION_NAME ShutdownLibrary
28 
33 #define AP_LIBRARY_VERSION_FUNCTION_NAME LibraryVersion
34 
39 #define AP_PLUGIN_VERSION_FUNCTION_NAME PluginVersion
40 /* @deprecated
41  * The name of the capabilities function which must be exported from a plugin library.
42  * optional - implement if plugins need to be able to describe their capabilities
43  */
44 #define AP_PLUGIN_GET_CAPABILITIES_FUNCTION_NAME PluginGetCapabilities
45 /* @deprecated
46  * The name of the thread ended function which must be exported from a plugin library.
47  * optional - implement if need to free thread local storage. Not called on shutdown and called on thread that is ending
48  */
49 #define AP_THREAD_ENDED_FUNCTION_NAME ThreadEnded
50 
55 typedef enum {
81 
82 
87 typedef enum {
97  AP_SERIALISATION_ERROR // Chunk (de)serialisation failed
98 } AP_ErrorCode;
99 
100 
101 
107 typedef enum {
115 
116 
117 #endif /* APAMA_PLUGIN_COMMON_H */
Definition: AP_PluginCommon.h:110
AP_Capabilities
Definition: AP_PluginCommon.h:107
Definition: AP_PluginCommon.h:67
Definition: AP_PluginCommon.h:61
Definition: AP_PluginCommon.h:93
Definition: AP_PluginCommon.h:64
AP_TypeDiscriminator
Definition: AP_PluginCommon.h:55
AP_ErrorCode
Definition: AP_PluginCommon.h:87
Definition: AP_PluginCommon.h:113
Definition: AP_PluginCommon.h:70
Definition: AP_PluginCommon.h:58
Definition: AP_PluginCommon.h:73
Definition: AP_PluginCommon.h:96
Definition: AP_PluginCommon.h:90
Definition: AP_PluginCommon.h:76
Definition: AP_PluginCommon.h:79