aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/ENUMERATED.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-09-26 13:10:40 +0000
committerLev Walkin <vlm@lionet.info>2004-09-26 13:10:40 +0000
commit8e8078aa8874113b602ccf6a83ae3b39da8b0f9a (patch)
tree3ca594c26afc87cfb43b7bbd54b7bfc6e5ee128c /skeletons/ENUMERATED.c
parent9821098d07e8d54d8b85b6605a7fbb0782fb1e3b (diff)
clean-up; removed unnecessary field from type descriptor
Diffstat (limited to 'skeletons/ENUMERATED.c')
-rw-r--r--skeletons/ENUMERATED.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/skeletons/ENUMERATED.c b/skeletons/ENUMERATED.c
index 158119d6..821a4674 100644
--- a/skeletons/ENUMERATED.c
+++ b/skeletons/ENUMERATED.c
@@ -4,6 +4,7 @@
*/
#include <asn_internal.h>
#include <ENUMERATED.h>
+#include <ber_codec_prim.h>
/*
* ENUMERATED basic type description.
@@ -13,10 +14,10 @@ static ber_tlv_tag_t asn1_DEF_ENUMERATED_tags[] = {
};
asn1_TYPE_descriptor_t asn1_DEF_ENUMERATED = {
"ENUMERATED",
- INTEGER_free, /* Implemented in terms of INTEGER */
+ ASN__PRIMITIVE_TYPE_free,
INTEGER_print, /* Implemented in terms of INTEGER */
asn_generic_no_constraint,
- INTEGER_decode_ber, /* Implemented in terms of INTEGER */
+ ber_decode_primitive,
INTEGER_encode_der, /* Implemented in terms of INTEGER */
0, /* Not implemented yet */
INTEGER_encode_xer, /* Implemented in terms of INTEGER */
@@ -25,7 +26,6 @@ asn1_TYPE_descriptor_t asn1_DEF_ENUMERATED = {
sizeof(asn1_DEF_ENUMERATED_tags) / sizeof(asn1_DEF_ENUMERATED_tags[0]),
asn1_DEF_ENUMERATED_tags, /* Same as above */
sizeof(asn1_DEF_ENUMERATED_tags) / sizeof(asn1_DEF_ENUMERATED_tags[0]),
- 0, /* Primitive */
0, 0, /* No members */
0 /* No specifics */
};