ISSUE ID:- RICAPP-216
[ric-app/bouncer.git] / Bouncer / e2sm_kpm / lib / ObjectDescriptor.c
1 /*-
2  * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #include <asn_internal.h>
6 #include <ObjectDescriptor.h>
7
8 /*
9  * ObjectDescriptor basic type description.
10  */
11 static const ber_tlv_tag_t asn_DEF_ObjectDescriptor_tags[] = {
12         (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)),   /* [UNIVERSAL 7] IMPLICIT ... */
13         (ASN_TAG_CLASS_UNIVERSAL | (4 << 2))    /* ... OCTET STRING */
14 };
15 asn_TYPE_operation_t asn_OP_ObjectDescriptor = {
16         OCTET_STRING_free,
17         OCTET_STRING_print_utf8,   /* Treat as ASCII subset (it's not) */
18         OCTET_STRING_compare,
19         OCTET_STRING_decode_ber,    /* Implemented in terms of OCTET STRING */
20         OCTET_STRING_encode_der,
21         OCTET_STRING_decode_xer_utf8,
22         OCTET_STRING_encode_xer_utf8,
23 #ifdef  ASN_DISABLE_OER_SUPPORT
24         0,
25         0,
26 #else
27         0,
28         0,
29 #endif  /* ASN_DISABLE_OER_SUPPORT */
30 #ifdef  ASN_DISABLE_PER_SUPPORT
31         0,
32         0,
33         0,
34         0,
35 #else
36         OCTET_STRING_decode_uper,
37         OCTET_STRING_encode_uper,
38         OCTET_STRING_decode_aper,
39         OCTET_STRING_encode_aper,
40 #endif  /* ASN_DISABLE_PER_SUPPORT */
41         0,      /* Not supported for ObjectDescriptor */
42         0       /* Use generic outmost tag fetcher */
43 };
44 asn_TYPE_descriptor_t asn_DEF_ObjectDescriptor = {
45         "ObjectDescriptor",
46         "ObjectDescriptor",
47         &asn_OP_ObjectDescriptor,
48         asn_DEF_ObjectDescriptor_tags,
49         sizeof(asn_DEF_ObjectDescriptor_tags)
50           / sizeof(asn_DEF_ObjectDescriptor_tags[0]) - 1,
51         asn_DEF_ObjectDescriptor_tags,
52         sizeof(asn_DEF_ObjectDescriptor_tags)
53           / sizeof(asn_DEF_ObjectDescriptor_tags[0]),
54         { 0, 0, asn_generic_unknown_constraint },
55         0, 0,   /* No members */
56         0       /* No specifics */
57 };
58