Hi,
We want to map the ASN BMPString construct to a C array.
e.g.
GatekeeperIdentifier ::= BMPString (SIZE(32))
We want this to mapped as:
typedef struct AsnH225_GatekeeperIdentifier {
unsigned short length;
unsigned short value[32];
} AsnH225_GatekeeperIdentifier;
However, it is getting mapped to the following
typedef struct AsnH225_GatekeeperIdentifier {
unsigned short length;
unsigned short *value;
} AsnH225_GatekeeperIdentifier;
We've tried various combinations of the OSS Compiler directives (e.g. VARYING, etc.) without any success. However, other ASN.1 character string constructs like IA5String etc. are correctly getting mapped to the array format as above. The pointer/dynamic array is not usable due to certain restrictions in our tools/legacy code.
Any ideas folks?
FYI, we're using OSS ASN1-C Compiler v6.0 on Solaris.
Thanks,
Tirthankar Saha
Senior Software Engineer
Hughes Software Systems
+91-124-26346666, #3212
*********************** HSS-Unclassified ***********************
"Please note: The email domain of Hughes Software Systems Ltd. has been changed to "hssworld.com" from hss.hns.com" "DISCLAIMER: This message is proprietary to Hughes Software Systems Limited (HSS) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. HSS accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus." |
_______________________________________________ ASN1 mailing list [EMAIL PROTECTED] http://lists.asn1.org/mailman/listinfo/asn1
