Download XIA Handel library
Transcript
xiaNewFirmware
Syntax:
int xiaNewFirmware(char *alias)
Description:
Creates a new firmware with the name alias that can be referenced by other routines such as
xiaAddFirmwareItem(), xiaGetFirmwareItem(), xiaModifyFirmwareItem() and
xiaRemoveFirmware().
Parameters:
alias
Name of new firmware to be added to system
Return Codes:
Code
Description
XIA_ALIAS_SIZE
XIA_ALIAS_EXISTS
XIA_NOMEM
Length of alias exceeds the maximum allowed length
Firmware with the specified alias already exists
Ran out of memory trying to create new firmware
Usage:
int status;
status = xiaNewFirmware(“firmware1”);
if (status != XIA_SUCCESS)
{
/* ERROR Creating new firmware */
}
23