Apama  10.3.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 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  * $Id: AP_PluginCommon.h 306048 2017-04-18 15:51:27Z bsp $
9  */
10 
16 #ifndef APAMA_PLUGIN_COMMON_H
17 #define APAMA_PLUGIN_COMMON_H
18 
19 
20 #define AP_PLUGIN_MAJOR_VERSION_MASK 0xffff0000
21 #define AP_PLUGIN_MINOR_VERSION_MASK 0x0000ffff
22 
25 #define AP_INIT_FUNCTION_NAME InitLibrary
26 
28 #define AP_SHUTDOWN_FUNCTION_NAME ShutdownLibrary
29 
34 #define AP_LIBRARY_VERSION_FUNCTION_NAME LibraryVersion
35 
40 #define AP_PLUGIN_VERSION_FUNCTION_NAME PluginVersion
41 /* @deprecated
42  * The name of the capabilities function which must be exported from a plugin library.
43  * optional - implement if plugins need to be able to describe their capabilities
44  */
45 #define AP_PLUGIN_GET_CAPABILITIES_FUNCTION_NAME PluginGetCapabilities
46 /* @deprecated
47  * The name of the thread ended function which must be exported from a plugin library.
48  * optional - implement if need to free thread local storage. Not called on shutdown and called on thread that is ending
49  */
50 #define AP_THREAD_ENDED_FUNCTION_NAME ThreadEnded
51 
56 typedef enum {
82 
83 
88 typedef enum {
98  AP_SERIALISATION_ERROR // Chunk (de)serialisation failed
99 } AP_ErrorCode;
100 
101 
102 
108 typedef enum {
116 
117 
118 #endif /* APAMA_PLUGIN_COMMON_H */
Definition: AP_PluginCommon.h:111
AP_Capabilities
Definition: AP_PluginCommon.h:108
Definition: AP_PluginCommon.h:68
Definition: AP_PluginCommon.h:62
Definition: AP_PluginCommon.h:94
Definition: AP_PluginCommon.h:65
AP_TypeDiscriminator
Definition: AP_PluginCommon.h:56
AP_ErrorCode
Definition: AP_PluginCommon.h:88
Definition: AP_PluginCommon.h:114
Definition: AP_PluginCommon.h:71
Definition: AP_PluginCommon.h:59
Definition: AP_PluginCommon.h:74
Definition: AP_PluginCommon.h:97
Definition: AP_PluginCommon.h:91
Definition: AP_PluginCommon.h:77
Definition: AP_PluginCommon.h:80