~paulliu/ubuntu/quantal/freerdp/fixext

« back to all changes in this revision

Viewing changes to asn1/TSCspDataDetail.c

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-01-31 10:02:14 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20120131100214-zvig71djj2sqgq22
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Generated by asn1c-0.9.22.1409 (http://lionet.info/asn1c)
3
 
 * From ASN.1 module "CREDSSP"
4
 
 *      found in "credssp.asn1"
5
 
 *      `asn1c -fnative-types -fskeletons-copy -fcompound-names`
6
 
 */
7
 
 
8
 
#include <asn_internal.h>
9
 
 
10
 
#include "TSCspDataDetail.h"
11
 
 
12
 
static asn_TYPE_member_t asn_MBR_TSCspDataDetail_1[] = {
13
 
        { ATF_NOFLAGS, 0, offsetof(struct TSCspDataDetail, keySpec),
14
 
                (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
15
 
                +1,     /* EXPLICIT tag at current level */
16
 
                &asn_DEF_NativeInteger,
17
 
                0,      /* Defer constraints checking to the member type */
18
 
                0,      /* PER is not compiled, use -gen-PER */
19
 
                0,
20
 
                "keySpec"
21
 
                },
22
 
        { ATF_POINTER, 4, offsetof(struct TSCspDataDetail, cardName),
23
 
                (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
24
 
                +1,     /* EXPLICIT tag at current level */
25
 
                &asn_DEF_OCTET_STRING,
26
 
                0,      /* Defer constraints checking to the member type */
27
 
                0,      /* PER is not compiled, use -gen-PER */
28
 
                0,
29
 
                "cardName"
30
 
                },
31
 
        { ATF_POINTER, 3, offsetof(struct TSCspDataDetail, readerName),
32
 
                (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
33
 
                +1,     /* EXPLICIT tag at current level */
34
 
                &asn_DEF_OCTET_STRING,
35
 
                0,      /* Defer constraints checking to the member type */
36
 
                0,      /* PER is not compiled, use -gen-PER */
37
 
                0,
38
 
                "readerName"
39
 
                },
40
 
        { ATF_POINTER, 2, offsetof(struct TSCspDataDetail, containerName),
41
 
                (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
42
 
                +1,     /* EXPLICIT tag at current level */
43
 
                &asn_DEF_OCTET_STRING,
44
 
                0,      /* Defer constraints checking to the member type */
45
 
                0,      /* PER is not compiled, use -gen-PER */
46
 
                0,
47
 
                "containerName"
48
 
                },
49
 
        { ATF_POINTER, 1, offsetof(struct TSCspDataDetail, cspName),
50
 
                (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
51
 
                +1,     /* EXPLICIT tag at current level */
52
 
                &asn_DEF_OCTET_STRING,
53
 
                0,      /* Defer constraints checking to the member type */
54
 
                0,      /* PER is not compiled, use -gen-PER */
55
 
                0,
56
 
                "cspName"
57
 
                },
58
 
};
59
 
static ber_tlv_tag_t asn_DEF_TSCspDataDetail_tags_1[] = {
60
 
        (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
61
 
};
62
 
static asn_TYPE_tag2member_t asn_MAP_TSCspDataDetail_tag2el_1[] = {
63
 
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* keySpec at 40 */
64
 
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* cardName at 41 */
65
 
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* readerName at 42 */
66
 
    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* containerName at 43 */
67
 
    { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 } /* cspName at 44 */
68
 
};
69
 
static asn_SEQUENCE_specifics_t asn_SPC_TSCspDataDetail_specs_1 = {
70
 
        sizeof(struct TSCspDataDetail),
71
 
        offsetof(struct TSCspDataDetail, _asn_ctx),
72
 
        asn_MAP_TSCspDataDetail_tag2el_1,
73
 
        5,      /* Count of tags in the map */
74
 
        0, 0, 0,        /* Optional elements (not needed) */
75
 
        -1,     /* Start extensions */
76
 
        -1      /* Stop extensions */
77
 
};
78
 
asn_TYPE_descriptor_t asn_DEF_TSCspDataDetail = {
79
 
        "TSCspDataDetail",
80
 
        "TSCspDataDetail",
81
 
        SEQUENCE_free,
82
 
        SEQUENCE_print,
83
 
        SEQUENCE_constraint,
84
 
        SEQUENCE_decode_ber,
85
 
        SEQUENCE_encode_der,
86
 
        SEQUENCE_decode_xer,
87
 
        SEQUENCE_encode_xer,
88
 
        0, 0,   /* No PER support, use "-gen-PER" to enable */
89
 
        0,      /* Use generic outmost tag fetcher */
90
 
        asn_DEF_TSCspDataDetail_tags_1,
91
 
        sizeof(asn_DEF_TSCspDataDetail_tags_1)
92
 
                /sizeof(asn_DEF_TSCspDataDetail_tags_1[0]), /* 1 */
93
 
        asn_DEF_TSCspDataDetail_tags_1, /* Same as above */
94
 
        sizeof(asn_DEF_TSCspDataDetail_tags_1)
95
 
                /sizeof(asn_DEF_TSCspDataDetail_tags_1[0]), /* 1 */
96
 
        0,      /* No PER visible constraints */
97
 
        asn_MBR_TSCspDataDetail_1,
98
 
        5,      /* Elements count */
99
 
        &asn_SPC_TSCspDataDetail_specs_1        /* Additional specs */
100
 
};
101