Apama  10.1.0.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
correlator_plugin.h
Go to the documentation of this file.
1 
21 #ifndef CORRELATOR_PLUGIN_H
22 #define CORRELATOR_PLUGIN_H
23 
24 #ifndef _AP_NO_DEPRECATED_PLUGINAPI_WARNING
25 #ifdef __GNUC__
26 #warning This API for writing EPL plugins is deprecated. Please use the API located in epl_plugin.hpp instead
27 #else
28 #pragma message("correlator_plugin.h(0) Warning: This API for writing EPL plugins is deprecated. Please use the API located in epl_plugin.hpp instead")
29 #endif
30 #endif
31 
32 #include <AP_Types.h>
33 #include <AP_Platform.h>
34 #include <AP_PluginCommon.h>
35 #include <stdio.h>
36 
37 
47 /* Version history:
48  * 1.0 First version released in Apama Engine 2.0.3
49  * Win32 support added in Apama Engine 2.0.4
50  * 2.0 Add serialisation support for Apama Engine 2.1 release
51  * Unfortunately this breaks back compatibility of chunks
52  * 3.0 First C-compatible version of the API, in Apama Engine 2.1.2
53  * Note that the 2.0 C++ API still exists in this release; the
54  * 2.x (C++) and 3.x (C) versions will be maintained in parallel.
55  * 4.0 Major version number change to force users to re-compile for VS7.1
56  * and/or check the correct free implementation is used (result of
57  * InputStream's getString must be freed with AP_Context's char8free)
58  * Also adds support for the getCorrelator() context function and the
59  * AP_PluginCorrelatorInterface type that can be used to send events
60  * back into the correlator. This brings the C++ and C plugin APIs
61  * back into sync - future changes should be made to both APIs.
62  * 5.0 Add getContextId and sendEventTo. Also added the optional
63  * GET_CAPABILITIES and THREAD_ENDED functions that the plugin may
64  * provide. Improved some function prototypes.
65  * 6.0 Improved the interface's const-correctness. Increased the
66  * performance of AP_TypeList, made AP_Chunk construction and
67  * destruction cheaper, especially in a multi-threaded
68  * environment. Added AP_Type::visitSequenceElements.
69  * 7.0 Remove serialisation support for Apama 5.0 release
70  * 8.0 No changes here, but to keep it in sync with the .hpp
71  * 9.0 Add support for modifying sequence lengths and returning sequences
72  */
73 #define AP_CORRELATOR_PLUGIN_VERSION 0x00090000
74 
77 typedef enum {
86  AP_PLUGIN_SERIALISATION_EXCEPTION
88 
89 
90 
91 #ifdef __cplusplus
92 extern "C" {
93 #endif /* __cplusplus */
94 
96  struct AP_PluginContext_API;
97  struct AP_PluginType_API;
98  struct AP_PluginChunk_API;
99  struct AP_PluginTypeList_API;
100 
102 
103 #ifdef __cplusplus
104  struct AP_PluginCorrelatorInterface_Stubs;
105  struct AP_PluginContext_Stubs;
106  struct AP_PluginType_Stubs;
107  struct AP_PluginChunk_Stubs;
108  struct AP_PluginTypeList_Stubs;
109 
110  typedef struct AP_PluginCorrelatorInterface_Stubs AP_PluginCorrelatorInterface;
111  typedef struct AP_PluginContext_Stubs AP_PluginContext;
112  typedef struct AP_PluginType_Stubs AP_PluginType;
113  typedef struct AP_PluginChunk_Stubs AP_PluginChunk;
114  typedef struct AP_PluginTypeList_Stubs AP_PluginTypeList;
115 #else
116  typedef struct AP_PluginCorrelatorInterface_API AP_PluginCorrelatorInterface;
117  typedef struct AP_PluginContext_API AP_PluginContext;
118  typedef struct AP_PluginType_API AP_PluginType;
119  typedef struct AP_PluginChunk_API AP_PluginChunk;
120  typedef struct AP_PluginTypeList_API AP_PluginTypeList;
121 #endif /* __cplusplus */
122 
127  {
135  void (AP_PLUGIN_CALL* sendEvent)(AP_PluginCorrelatorInterface* _interface, const char* event);
146  void (AP_PLUGIN_CALL* sendEventTo)(AP_PluginCorrelatorInterface* _interface, const char* event, AP_uint64 targetCtx, AP_uint64 sourceCtx);
147  };
148 
153  {
154  void* reserved;
158  };
159 
160  struct AP_PluginCorrelatorInterface_Stubs {
162 
163 #ifdef __cplusplus
164  void sendEvent(char* event) {
165  api.functions->sendEvent(this, event);
166  }
167 
168  void sendEvent(char* event, AP_uint64 targetCtx, AP_uint64 sourceCtx) {
169  api.functions->sendEventTo(this, event, targetCtx, sourceCtx);
170  }
171 #endif /* __ cplusplus */
172  };
173 
178  {
181  AP_uint32 (AP_PLUGIN_CALL* version)(const AP_PluginContext* ctx);
188  AP_PluginChunk* (AP_PLUGIN_CALL* createChunk)(const AP_PluginContext* ctx, const struct AP_PluginChunk_Callbacks* callbacks, void* userData);
194  void (AP_PLUGIN_CALL* deleteChunk)(const AP_PluginContext* ctx, AP_PluginChunk* chunk);
197  AP_bool (AP_PLUGIN_CALL* checkException)(const AP_PluginContext* ctx);
200  AP_CorrelatorPluginExceptionType (AP_PLUGIN_CALL* getExceptionType)(const AP_PluginContext* ctx);
203  const AP_char8* (AP_PLUGIN_CALL* getExceptionMessage)(const AP_PluginContext* ctx);
206  void (AP_PLUGIN_CALL* clearException)(const AP_PluginContext* ctx);
210  AP_PluginCorrelatorInterface* (AP_PLUGIN_CALL* getCorrelator)(const AP_PluginContext* ctx);
215  void (AP_PLUGIN_CALL* char8free)(AP_char8* ptr);
220  AP_uint64 (AP_PLUGIN_CALL* getContextId)(const AP_PluginContext* ctx);
221  };
222 
227  {
228  const void* reserved;
232  };
233 
234  struct AP_PluginContext_Stubs {
235  struct AP_PluginContext_API api;
236 
237 #ifdef __cplusplus
238  AP_uint32 version() const {
239  return api.functions->version(this);
240  }
241 
242  AP_PluginChunk* createChunk(const struct AP_PluginChunk_Callbacks* callbacks, void* userData) const {
243  return api.functions->createChunk(this, callbacks, userData);
244  }
245 
246  void deleteChunk(AP_PluginChunk* chunk) const {
247  api.functions->deleteChunk(this, chunk);
248  }
249 
250  AP_bool checkException() const {
251  return api.functions->checkException(this);
252  }
253 
254  AP_CorrelatorPluginExceptionType getExceptionType() const {
255  return api.functions->getExceptionType(this);
256  }
257 
258  const AP_char8* getExceptionMessage() const {
259  return api.functions->getExceptionMessage(this);
260  }
261 
262  void clearException() const {
263  api.functions->clearException(this);
264  }
265 
266  const AP_PluginCorrelatorInterface* getCorrelator() const{
267  return api.functions->getCorrelator(this);
268  }
269 
270  void char8free(AP_char8* ptr) const{
271  api.functions->char8free(ptr);
272  }
273 
274  AP_uint64 getContextId() const{
275  return api.functions->getContextId(this);
276  }
277 #endif /* __ cplusplus */
278  };
279 
280 
284  {
287  void* (AP_PLUGIN_CALL* getUserData)(const AP_PluginChunk* chunk);
294  void (AP_PLUGIN_CALL* setUserData)(AP_PluginChunk* chunk, void* userData);
295  };
296 
302  {
305  void (AP_PLUGIN_CALL* freeUserData)(AP_PluginChunk* chunk);
308  void* (AP_PLUGIN_CALL* copyUserData)(const AP_PluginChunk* chunk);
309  };
310 
315  {
316  void* reserved;
323  };
324 
325  struct AP_PluginChunk_Stubs {
326  struct AP_PluginChunk_API api;
327 
328 #ifdef __cplusplus
329  void* getUserData() const {
330  return api.functions->getUserData(this);
331  }
332 
333  void setUserData(void* userData) {
334  api.functions->setUserData(this, userData);
335  }
336 
337  void freeUserData() {
338  api.callbacks->freeUserData(this);
339  }
340 
341  void* copyUserData() {
342  return api.callbacks->copyUserData(this);
343  }
344 #endif /* __cplusplus */
345  };
346 
347 
348 
352  {
355  AP_TypeDiscriminator (AP_PLUGIN_CALL* getDiscriminator)(const AP_PluginType* obj);
356 
359  AP_PluginChunk* (AP_PLUGIN_CALL* getChunkValue)(const AP_PluginType* obj);
368  void (AP_PLUGIN_CALL* setChunkValue)(const AP_PluginType* obj, AP_PluginChunk* val);
369 
372  AP_int64 (AP_PLUGIN_CALL* getIntegerValue)(const AP_PluginType* obj);
375  void (AP_PLUGIN_CALL* setIntegerValue)(AP_PluginType* obj, AP_int64 val);
376 
379  AP_float64 (AP_PLUGIN_CALL* getFloatValue)(const AP_PluginType* obj);
382  void (AP_PLUGIN_CALL* setFloatValue)(AP_PluginType* obj, AP_float64 val);
383 
386  AP_decimal (AP_PLUGIN_CALL* getDecimalValue)(const AP_PluginType* obj);
389  void (AP_PLUGIN_CALL* setDecimalValue)(AP_PluginType* obj, AP_decimal val);
390 
393  AP_bool (AP_PLUGIN_CALL* getBooleanValue)(const AP_PluginType* obj);
396  void (AP_PLUGIN_CALL* setBooleanValue)(AP_PluginType* obj, AP_bool val);
397 
400  const AP_char8* (AP_PLUGIN_CALL* getStringValue)(const AP_PluginType* obj);
406  void (AP_PLUGIN_CALL* setStringValue)(AP_PluginType* obj, const AP_char8* val);
407 
410  AP_uint32 (AP_PLUGIN_CALL* getSequenceLength)(const AP_PluginType* obj);
419  void (AP_PLUGIN_CALL* setSequenceLength)(const AP_PluginType* obj, AP_uint32 len);
422  AP_TypeDiscriminator (AP_PLUGIN_CALL* getSequenceType)(const AP_PluginType* obj);
431  void (AP_PLUGIN_CALL* createSequence)(const AP_PluginType *obj, AP_TypeDiscriminator inner);
432 
438  AP_PluginType* (AP_PLUGIN_CALL* getSequenceElement)(const AP_PluginType* obj, AP_uint32 index);
439 
442  void (AP_PLUGIN_CALL *copyFrom)(const AP_PluginType *obj, const AP_PluginType *other);
443 
449  AP_PluginType* const * (AP_PLUGIN_CALL* getSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
459  void (AP_PLUGIN_CALL* releaseSequenceElements)(const AP_PluginType* obj);
460 
471  AP_PluginChunk* const * (AP_PLUGIN_CALL* getChunkSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
480  void (AP_PLUGIN_CALL* releaseChunkSequenceElements)(const AP_PluginType* obj);
481 
487  AP_int64* (AP_PLUGIN_CALL* getIntegerSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
497  void (AP_PLUGIN_CALL* releaseIntegerSequenceElements)(const AP_PluginType* obj);
498 
504  AP_float64* (AP_PLUGIN_CALL* getFloatSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
514  void (AP_PLUGIN_CALL* releaseFloatSequenceElements)(const AP_PluginType* obj);
515 
521  AP_decimal* (AP_PLUGIN_CALL* getDecimalSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
531  void (AP_PLUGIN_CALL* releaseDecimalSequenceElements)(const AP_PluginType* obj);
532 
538  AP_bool* (AP_PLUGIN_CALL* getBooleanSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
548  void (AP_PLUGIN_CALL* releaseBooleanSequenceElements)(const AP_PluginType* obj);
549 
557  const AP_char8** (AP_PLUGIN_CALL* getStringSequenceElements)(const AP_PluginType* obj, AP_uint32 start, AP_uint32 length);
575  void (AP_PLUGIN_CALL* releaseStringSequenceElements)(const AP_PluginType* obj);
576  };
577 
582  {
583  void* reserved;
587  };
588 
589  struct AP_PluginType_Stubs {
590  struct AP_PluginType_API api;
591 
592 #ifdef __cplusplus
593  AP_TypeDiscriminator getDiscriminator() const {
594  return api.functions->getDiscriminator(this);
595  }
596 
597  AP_PluginChunk* getChunkValue() const {
598  return api.functions->getChunkValue(this);
599  }
600 
601  void setChunkValue(AP_PluginChunk* val) const {
602  api.functions->setChunkValue(this, val);
603  }
604 
605  AP_int64 getIntegerValue() const {
606  return api.functions->getIntegerValue(this);
607  }
608 
609  void setIntegerValue(AP_int64 val) {
610  api.functions->setIntegerValue(this, val);
611  }
612 
613  AP_float64 getFloatValue() const {
614  return api.functions->getFloatValue(this);
615  }
616 
617  void setFloatValue(AP_float64 val) {
618  api.functions->setFloatValue(this, val);
619  }
620 
621  AP_decimal getDecimalValue() const {
622  return api.functions->getDecimalValue(this);
623  }
624 
625  void setDecimalValue(AP_decimal val) {
626  api.functions->setDecimalValue(this, val);
627  }
628 
629  AP_bool getBooleanValue() const {
630  return api.functions->getBooleanValue(this);
631  }
632 
633  void setBooleanValue(AP_bool val) {
634  api.functions->setBooleanValue(this, val);
635  }
636 
637  const AP_char8* getStringValue() const {
638  return api.functions->getStringValue(this);
639  }
640 
641  void setStringValue(const AP_char8* val) {
642  api.functions->setStringValue(this, val);
643  }
644 
645  AP_uint32 getSequenceLength() const {
646  return api.functions->getSequenceLength(this);
647  }
648 
649  AP_TypeDiscriminator getSequenceType() const {
650  return api.functions->getSequenceType(this);
651  }
652 
653  AP_PluginType* getSequenceElement(AP_uint32 index) const {
654  return api.functions->getSequenceElement(this, index);
655  }
656 
657  void copyFrom(const AP_PluginType *other) {
658  return api.functions->copyFrom(this, other);
659  }
660 
661  AP_PluginType* const *getSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
662  return api.functions->getSequenceElements(this, start, length);
663  }
664 
665  void releaseSequenceElements() const {
666  api.functions->releaseSequenceElements(this);
667  }
668 
669  AP_PluginChunk* const * getChunkSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
670  return api.functions->getChunkSequenceElements(this, start, length);
671  }
672 
673  void releaseChunkSequenceElements() const {
674  api.functions->releaseChunkSequenceElements(this);
675  }
676 
677  AP_int64* getIntegerSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
678  return api.functions->getIntegerSequenceElements(this, start, length);
679  }
680 
681  void releaseIntegerSequenceElements() const {
682  api.functions->releaseIntegerSequenceElements(this);
683  }
684 
685  AP_float64* getFloatSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
686  return api.functions->getFloatSequenceElements(this, start, length);
687  }
688 
689  void releaseFloatSequenceElements() const {
690  api.functions->releaseFloatSequenceElements(this);
691  }
692 
693  AP_decimal* getDecimalSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
694  return api.functions->getDecimalSequenceElements(this, start, length);
695  }
696 
697  void releaseDecimalSequenceElements() const {
698  api.functions->releaseDecimalSequenceElements(this);
699  }
700 
701  AP_bool* getBooleanSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
702  return api.functions->getBooleanSequenceElements(this, start, length);
703  }
704 
705  void releaseBooleanSequenceElements() const {
706  api.functions->releaseBooleanSequenceElements(this);
707  }
708 
709  const AP_char8** getStringSequenceElements(AP_uint32 start = 0, AP_uint32 length = ~0U) const {
710  return api.functions->getStringSequenceElements(this, start, length);
711  }
712 
713  void releaseStringSequenceElements() const {
714  api.functions->releaseStringSequenceElements(this);
715  }
716 #endif /* __cplusplus */
717  };
718 
719 
720 
725  {
728  AP_uint32 (AP_PLUGIN_CALL* getSize)(const AP_PluginTypeList* list);
731  AP_bool (AP_PLUGIN_CALL* isEmpty)(const AP_PluginTypeList* list);
734  const AP_PluginType* (AP_PLUGIN_CALL* getElement)(const AP_PluginTypeList* list, AP_uint32 index);
735  };
736 
741  {
742  void* reserved;
746  };
747 
748  struct AP_PluginTypeList_Stubs {
749  struct AP_PluginTypeList_API api;
750 
751 #ifdef __cplusplus
752  AP_uint32 getSize() const {
753  return api.functions->getSize(this);
754  }
755 
756  AP_bool isEmpty() const {
757  return api.functions->isEmpty(this);
758  }
759 
760  const AP_PluginType* getElement(AP_uint32 index) const {
761  return api.functions->getElement(this, index);
762  }
763 #endif /* __cplusplus */
764  };
765 
766 
775  typedef void (AP_PLUGIN_CALL* AP_PluginFunctionPtr)(const AP_PluginContext* ctx, const AP_PluginTypeList* args, AP_PluginType* rval, AP_TypeDiscriminator rtype);
776 
784  typedef struct
785  {
788  const AP_char8* name;
789 
793 
796  AP_uint32 nParams;
797 
800  const AP_char8** paramTypes;
801 
804  const AP_char8* returnType;
805 
807 
832  typedef AP_PLUGIN_DLL_SYM AP_ErrorCode (AP_PLUGIN_CALL* AP_PluginInitFunctionPtr)(const AP_PluginContext* ctx, AP_uint32* version, AP_uint32* nFunctions, AP_PluginFunction** functions);
833 
842  typedef AP_PLUGIN_DLL_SYM AP_ErrorCode (AP_PLUGIN_CALL* AP_PluginShutdownFunctionPtr)(const AP_PluginContext* ctx);
843 
862  typedef AP_PLUGIN_DLL_SYM AP_ErrorCode (AP_PLUGIN_CALL* AP_PluginVersionFunctionPtr)(const AP_PluginContext* ctx, AP_uint32* version);
863 
880  typedef AP_PLUGIN_DLL_SYM AP_Capabilities (AP_PLUGIN_CALL* AP_PluginGetCapabilitiesFunctionPtr)(const AP_PluginContext* ctx);
881 
897  typedef AP_PLUGIN_DLL_SYM AP_ErrorCode (AP_PLUGIN_CALL* AP_PluginThreadEndedFunctionPtr) (const AP_PluginContext* ctx);
898 
899 #ifdef __cplusplus
900 } /* extern "C" */
901 #endif /* __cplusplus */
902 
903 #endif /* CORRELATOR_PLUGIN_H */
Definition: correlator_plugin.h:740
const AP_char8 *AP_PLUGIN_CALL * getExceptionMessage(const AP_PluginContext *ctx)
void *AP_PLUGIN_CALL * copyUserData(const AP_PluginChunk *chunk)
AP_PluginCorrelatorInterface *AP_PLUGIN_CALL * getCorrelator(const AP_PluginContext *ctx)
Definition: correlator_plugin.h:152
AP_uint32(AP_PLUGIN_CALL *getSequenceLength)(const AP_PluginType *obj)
AP_bool(AP_PLUGIN_CALL *checkException)(const AP_PluginContext *ctx)
AP_Capabilities
Definition: AP_PluginCommon.h:108
void(AP_PLUGIN_CALL * AP_PluginFunctionPtr)(const AP_PluginContext *ctx, const AP_PluginTypeList *args, AP_PluginType *rval, AP_TypeDiscriminator rtype)
Definition: correlator_plugin.h:775
Definition: correlator_plugin.h:126
Definition: correlator_plugin.h:724
const struct AP_PluginTypeList_Functions * functions
Definition: correlator_plugin.h:745
AP_int64 *AP_PLUGIN_CALL * getIntegerSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
AP_PluginType *const *AP_PLUGIN_CALL * getSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
AP_PluginType *AP_PLUGIN_CALL * getSequenceElement(const AP_PluginType *obj, AP_uint32 index)
Incorrect type.
Definition: correlator_plugin.h:81
Generic exception.
Definition: correlator_plugin.h:79
AP_decimal *AP_PLUGIN_CALL * getDecimalSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
AP_uint32(AP_PLUGIN_CALL *getSize)(const AP_PluginTypeList *list)
const AP_char8 * returnType
Definition: correlator_plugin.h:804
const AP_char8 *AP_PLUGIN_CALL * getStringValue(const AP_PluginType *obj)
AP_uint64(AP_PLUGIN_CALL *getContextId)(const AP_PluginContext *ctx)
const struct AP_PluginType_Functions * functions
Definition: correlator_plugin.h:586
Definition: correlator_plugin.h:283
AP_TypeDiscriminator
Definition: AP_PluginCommon.h:56
Definition: correlator_plugin.h:226
AP_PLUGIN_DLL_SYM AP_ErrorCode(AP_PLUGIN_CALL * AP_PluginShutdownFunctionPtr)(const AP_PluginContext *ctx)
Definition: correlator_plugin.h:842
AP_PluginFunctionPtr fptr
Definition: correlator_plugin.h:792
AP_uint32 nParams
Definition: correlator_plugin.h:796
AP_float64(AP_PLUGIN_CALL *getFloatValue)(const AP_PluginType *obj)
Definition: correlator_plugin.h:351
const struct AP_PluginChunk_Functions * functions
Definition: correlator_plugin.h:319
void(AP_PLUGIN_CALL *deleteChunk)(const AP_PluginContext *ctx
Definition: correlator_plugin.h:314
const struct AP_PluginChunk_Callbacks * callbacks
Definition: correlator_plugin.h:322
void(AP_PLUGIN_CALL *sendEvent)(AP_PluginCorrelatorInterface *_interface
Definition: correlator_plugin.h:301
const AP_char8 **AP_PLUGIN_CALL * getStringSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
const AP_char8 ** paramTypes
Definition: correlator_plugin.h:800
AP_float64 *AP_PLUGIN_CALL * getFloatSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
const struct AP_PluginCorrelatorInterface_Functions * functions
Definition: correlator_plugin.h:157
const AP_PluginType *AP_PLUGIN_CALL * getElement(const AP_PluginTypeList *list, AP_uint32 index)
AP_TypeDiscriminator(AP_PLUGIN_CALL *getDiscriminator)(const AP_PluginType *obj)
AP_CorrelatorPluginExceptionType
Definition: correlator_plugin.h:77
AP_decimal(AP_PLUGIN_CALL *getDecimalValue)(const AP_PluginType *obj)
AP_int64(AP_PLUGIN_CALL *getIntegerValue)(const AP_PluginType *obj)
void *AP_PLUGIN_CALL * getUserData(const AP_PluginChunk *chunk)
AP_PluginChunk *AP_PLUGIN_CALL * createChunk(const AP_PluginContext *ctx, const struct AP_PluginChunk_Callbacks *callbacks, void *userData)
AP_CorrelatorPluginExceptionType(AP_PLUGIN_CALL *getExceptionType)(const AP_PluginContext *ctx)
const struct AP_PluginContext_Functions * functions
Definition: correlator_plugin.h:231
const AP_char8 * name
Definition: correlator_plugin.h:788
Out of bands.
Definition: correlator_plugin.h:85
Definition: correlator_plugin.h:177
AP_bool(AP_PLUGIN_CALL *getBooleanValue)(const AP_PluginType *obj)
AP_PLUGIN_DLL_SYM AP_ErrorCode(AP_PLUGIN_CALL * AP_PluginVersionFunctionPtr)(const AP_PluginContext *ctx, AP_uint32 *version)
Definition: correlator_plugin.h:862
AP_PluginChunk *const *AP_PLUGIN_CALL * getChunkSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
void(AP_PLUGIN_CALL *freeUserData)(AP_PluginChunk *chunk)
AP_PLUGIN_DLL_SYM AP_ErrorCode(AP_PLUGIN_CALL *AP_PluginThreadEndedFunctionPtr)(const AP_PluginContext *ctx)
Definition: correlator_plugin.h:897
AP_ENGINE_CLIENT_API void char8free(char *string)
Free any char* string returned from the client API.
AP_PLUGIN_DLL_SYM AP_ErrorCode(AP_PLUGIN_CALL * AP_PluginInitFunctionPtr)(const AP_PluginContext *ctx, AP_uint32 *version, AP_uint32 *nFunctions, AP_PluginFunction **functions)
Definition: correlator_plugin.h:832
AP_bool *AP_PLUGIN_CALL * getBooleanSequenceElements(const AP_PluginType *obj, AP_uint32 start, AP_uint32 length)
AP_PLUGIN_DLL_SYM AP_Capabilities(AP_PLUGIN_CALL * AP_PluginGetCapabilitiesFunctionPtr)(const AP_PluginContext *ctx)
Definition: correlator_plugin.h:880
Definition: correlator_plugin.h:784
AP_uint32(AP_PLUGIN_CALL *version)(const AP_PluginContext *ctx)
Definition: correlator_plugin.h:581
void(AP_PLUGIN_CALL *setChunkValue)(const AP_PluginType *obj
Unimplemented method.
Definition: correlator_plugin.h:83
void(AP_PLUGIN_CALL *setUserData)(AP_PluginChunk *chunk
AP_bool(AP_PLUGIN_CALL *isEmpty)(const AP_PluginTypeList *list)
AP_PluginChunk *AP_PLUGIN_CALL * getChunkValue(const AP_PluginType *obj)