Download FLEXlm Reference Manual

Transcript
FLEXible API Function Descriptions
(char *) context
This is a string which gives additional
information about the error. Its contents
depends on the type of error, but is not
language dependent. Refer to
machind/lcontext.h for information
needed for translation.
This information allows applications to present error messages in any language
and in any desired format. The FLEXlm SDK provides the English text of all
messages. The three types of messages that need to be translated are
• short — located in machind/lmerrors.h
• long — located in machind/lm_lerr.h
• context — located in machind/lcontext.h
Use the value err_info.maj_errno as an index into these files in order to
retrieve the corresponding message.
PARAMETERS
(LM_HANDLE *) job
From lc_new_job().
RETURN
(LM_ERR_INFO *) err_info
SEE ALSO
• Section 6.4.19, “lc_perror()”
108
FLEXible API
Pointer to the LM_ERR_INFO struct,
outlined above.