> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/compatibility_helper_8h_source.md).

# compatibilityHelper.h

[Go to the documentation of this file.](/s-adk-5.1-programmers-guide/readme/files/dir_16ebd1d2d73191fda1ea8e9cfc03e012/dir_8266e5c14dc74e90f33f07ca932afbf0/dir_b923322e571c7bbbdf8ca0235601f24c/dir_a4bd7de3367ab1637f06ad0eeada778b/dir_f7f8126e2ed8b92f6435c9f330cc6acf/compatibility_helper_8h.md)

```cpp
 1 
 11 #ifndef API_EXPORT_COMPATIBILITYHELPER_H_
 12 #define API_EXPORT_COMPATIBILITYHELPER_H_
 13 
 14 #include <stdlib.h>
 15 #include "libsec.h"
 16 
 17 #if (defined _VRXEVO || defined _WIN32)
 18 # if defined VFI_SEC_SHARED_EXPORT
 19 # define DllSpecSEC __declspec(dllexport)
 20 # elif defined VFI_SEC_STATIC_EXPORT || defined _WIN32 // dllimport not required for Windows
 21 # define DllSpecSEC
 22 # else
 23 # define DllSpecSEC __declspec(dllimport)
 24 # endif
 25 #elif defined __GNUC__ && defined VFI_SEC_SHARED_EXPORT
 26 # define DllSpecSEC __attribute__((visibility ("default")))
 27 #else
 28 # define DllSpecSEC
 29 #endif
 30 
 31 
 32 DllSpecSEC secError secCompatiblity_getHandle(u_char oldHandle, secHandle_t& newHandle);
 33 
 34 DllSpecSEC u_char secCompatiblity_registerHandle(secHandle_t handle, u_char hash = 0);
 35 
 36 DllSpecSEC secError secCompatiblity_deregisterHandle(u_char oldHandle);
 37 
 38 #undef DllSpecSEC // important to avoid duplicated definitions of DllSpec with other component header files
 39 
 40 #endif /* API_EXPORT_COMPATIBILITYHELPER_H_ */
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/compatibility_helper_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
