![background image](http://html1.mh-extra.com/html/aim/api-fdx-2-v2/api-fdx-2-v2_getting-started-manual_2871728031.webp)
API-FDX Linux Getting Started Manual
23
GmbH
Section 8 – Programming the API-FDX Module
// free the resource-list
if (pRLEHead != NULL)
{
FdxCmdFreeMemory(pRLEHead, pRLEHead->ul_StructId);
}
// free the server-list
if (px_ServerNames != NULL)
{
FdxCmdFreeMemory(px_ServerNames, px_ServerNames->ul_StructId);
}
// define it as success if we have valid handles for all global
variables....
bRetSuccess = (g_ulBoardHandle != 0) && (g_ulPort1Handle != 0) &&
(g_ulPort2Handle != 0);
return bRetSuccess;
}