~ubuntu-branches/ubuntu/raring/freerdp/raring-proposed

« back to all changes in this revision

Viewing changes to asn1/NegTokenInit.c

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2010-06-23 21:39:09 UTC
  • Revision ID: james.westby@ubuntu.com-20100623213909-bb9pvvv03913tdv6
Tags: upstream-0.7.1
ImportĀ upstreamĀ versionĀ 0.7.1

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 "SPNEGO"
 
4
 *      found in "spnego.asn1"
 
5
 *      `asn1c -fnative-types -fskeletons-copy`
 
6
 */
 
7
 
 
8
#include <asn_internal.h>
 
9
 
 
10
#include "NegTokenInit.h"
 
11
 
 
12
static asn_TYPE_member_t asn_MBR_NegTokenInit_1[] = {
 
13
        { ATF_NOFLAGS, 0, offsetof(struct NegTokenInit, mechTypes),
 
14
                (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
 
15
                +1,     /* EXPLICIT tag at current level */
 
16
                &asn_DEF_MechTypeList,
 
17
                0,      /* Defer constraints checking to the member type */
 
18
                0,      /* No PER visible constraints */
 
19
                0,
 
20
                "mechTypes"
 
21
                },
 
22
        { ATF_POINTER, 3, offsetof(struct NegTokenInit, reqFlags),
 
23
                (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
 
24
                +1,     /* EXPLICIT tag at current level */
 
25
                &asn_DEF_ContextFlags,
 
26
                0,      /* Defer constraints checking to the member type */
 
27
                0,      /* No PER visible constraints */
 
28
                0,
 
29
                "reqFlags"
 
30
                },
 
31
        { ATF_POINTER, 2, offsetof(struct NegTokenInit, mechToken),
 
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,      /* No PER visible constraints */
 
37
                0,
 
38
                "mechToken"
 
39
                },
 
40
        { ATF_POINTER, 1, offsetof(struct NegTokenInit, mechListMIC),
 
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,      /* No PER visible constraints */
 
46
                0,
 
47
                "mechListMIC"
 
48
                },
 
49
};
 
50
static int asn_MAP_NegTokenInit_oms_1[] = { 1, 2, 3 };
 
51
static ber_tlv_tag_t asn_DEF_NegTokenInit_tags_1[] = {
 
52
        (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
 
53
};
 
54
static asn_TYPE_tag2member_t asn_MAP_NegTokenInit_tag2el_1[] = {
 
55
    { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* mechTypes at 15 */
 
56
    { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* reqFlags at 16 */
 
57
    { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* mechToken at 17 */
 
58
    { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* mechListMIC at 18 */
 
59
};
 
60
static asn_SEQUENCE_specifics_t asn_SPC_NegTokenInit_specs_1 = {
 
61
        sizeof(struct NegTokenInit),
 
62
        offsetof(struct NegTokenInit, _asn_ctx),
 
63
        asn_MAP_NegTokenInit_tag2el_1,
 
64
        4,      /* Count of tags in the map */
 
65
        asn_MAP_NegTokenInit_oms_1,     /* Optional members */
 
66
        3, 0,   /* Root/Additions */
 
67
        -1,     /* Start extensions */
 
68
        -1      /* Stop extensions */
 
69
};
 
70
asn_TYPE_descriptor_t asn_DEF_NegTokenInit = {
 
71
        "NegTokenInit",
 
72
        "NegTokenInit",
 
73
        SEQUENCE_free,
 
74
        SEQUENCE_print,
 
75
        SEQUENCE_constraint,
 
76
        SEQUENCE_decode_ber,
 
77
        SEQUENCE_encode_der,
 
78
        SEQUENCE_decode_xer,
 
79
        SEQUENCE_encode_xer,
 
80
        SEQUENCE_decode_uper,
 
81
        SEQUENCE_encode_uper,
 
82
        0,      /* Use generic outmost tag fetcher */
 
83
        asn_DEF_NegTokenInit_tags_1,
 
84
        sizeof(asn_DEF_NegTokenInit_tags_1)
 
85
                /sizeof(asn_DEF_NegTokenInit_tags_1[0]), /* 1 */
 
86
        asn_DEF_NegTokenInit_tags_1,    /* Same as above */
 
87
        sizeof(asn_DEF_NegTokenInit_tags_1)
 
88
                /sizeof(asn_DEF_NegTokenInit_tags_1[0]), /* 1 */
 
89
        0,      /* No PER visible constraints */
 
90
        asn_MBR_NegTokenInit_1,
 
91
        4,      /* Elements count */
 
92
        &asn_SPC_NegTokenInit_specs_1   /* Additional specs */
 
93
};
 
94