aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/PrintableString.c
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2004-10-20 15:50:55 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2004-10-20 15:50:55 +0000
commit9de248e72077ceaf204aacc3341f725e9d2b1bb5 (patch)
tree156b7115d32613149da7501d514c591d781e8c33 /skeletons/PrintableString.c
parent45ca0980288bc90902fb07a9dc1a1c55f98a517f (diff)
XER support
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@513 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'skeletons/PrintableString.c')
-rw-r--r--skeletons/PrintableString.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/skeletons/PrintableString.c b/skeletons/PrintableString.c
index dfe4f9c9..dc363d84 100644
--- a/skeletons/PrintableString.c
+++ b/skeletons/PrintableString.c
@@ -14,13 +14,14 @@ static ber_tlv_tag_t asn_DEF_PrintableString_tags[] = {
};
asn_TYPE_descriptor_t asn_DEF_PrintableString = {
"PrintableString",
+ "PrintableString",
OCTET_STRING_free,
- OCTET_STRING_print_ascii, /* ASCII subset */
+ OCTET_STRING_print_utf8, /* ASCII subset */
PrintableString_constraint,
- OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */
- OCTET_STRING_encode_der, /* Implemented in terms of OCTET STRING */
- 0, /* Not implemented yet */
- OCTET_STRING_encode_xer_ascii,/* Implemented in terms of OCTET STRING */
+ OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */
+ OCTET_STRING_encode_der,
+ OCTET_STRING_decode_xer_utf8,
+ OCTET_STRING_encode_xer_utf8,
0, /* Use generic outmost tag fetcher */
asn_DEF_PrintableString_tags,
sizeof(asn_DEF_PrintableString_tags)