Synopsis

char *safp_DecodeString(const char *instring)

Purpose

Read a string token without peforming any language conversion

Description

Given a input string, return th string without doing any language conversion. This is the default language handling mechanism for the STEP Parser. See safp_RegisterDecoder(). This function is called by the safp_ParseFile function. The instring is a static variable. If the return string address differs from the input string address, the safp system will "free" this string after usage. The length of the return string must be less than SAFP__MAXSTRLEN.

Input

instring

the input string to decode

Return

If successful, returns the input string if nothing changed, or a dynamically allocated string; otherwise, returns NULL.