Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 4 AMI API : AMI C API Error Functions : ami_ErrorGet... Accessors

ami_ErrorGet... Accessors
Function
Declaration
int ami_ErrorGetCode(
ami_Error inAmiError );
 
const char * ami_ErrorGetText(
ami_Error inAmiError );
 
int ami_ErrorGetThread(
ami_Error inAmiError );
 
const char * ami_ErrorGetFile(
ami_Error inAmiError );
 
int ami_ErrorGetLine(
ami_Error inAmiError );
Accessor Functions
 
Returns the textual description of the specified AMI error. This function always returns a description (never NULL). If no description was specified in the create call then a default message is used which states that no description is available.
Returns the name of the source file which generated the specified AMI error. This function can return a NULL pointer if the specified error was not file stamped.
Returns the line number of the source file which generated the specified AMI error. This function could return zero if the specified error was not file stamped.
Callback Function Types Summary
The following table summarizes the AMI C API callback function types. These types are described in the following sections.
Prototype for the optional AMI asynchronous method on start callback function.
Prototype for the optional AMI asynchronous method on stop callback function.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved