The initialization and finalization part of the API is used to setup PDI, release its resources and check version information.
More...
The initialization and finalization part of the API is used to setup PDI, release its resources and check version information.
◆ PDI_init()
Initializes PDI.
- Parameters
-
[in] | conf | the configuration |
- Returns
- an error status
◆ PDI_finalize()
Finalizes PDI.
- Returns
- an error status
◆ PDI_version()
PDI_status_t PDI_version |
( |
unsigned long * |
provided, |
|
|
unsigned long |
expected |
|
) |
| |
Checks PDI API version.
- Parameters
-
[out] | provided | version if non-null it is filled with the provided API version |
[in] | expected | if non-zero the expected API version |
- Returns
- an error status if the expected version is incompatible with the provided one