Adds an optional argument -fprefix=<PREFIX> to the compiler, allowing the user to specify a prefix to be added to generated types.
This is a rather useful feature in applications which need to use different ASN.1 definitions with identical names.
The functionality was already there, though was undocumented. It could be used by setting the environment variable ASN1C_PREFIX.
I've left the environment variable setting still possible, however the new optional argument takes precedence.
Adds an optional argument
-fprefix=<PREFIX>
to the compiler, allowing the user to specify a prefix to be added to generated types.This is a rather useful feature in applications which need to use different ASN.1 definitions with identical names. The functionality was already there, though was undocumented. It could be used by setting the environment variable
ASN1C_PREFIX
.I've left the environment variable setting still possible, however the new optional argument takes precedence.