"Fossies" - the Fresh Open Source Software Archive

Member "mod_auth_gssapi-1.6.3/src/asn1c/GSSSessionData.c" (15 Mar 2017, 3966 Bytes) of package /linux/www/apache_httpd_modules/mod_auth_gssapi-1.6.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "GSSSessionData.c" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Generated by asn1c-0.9.27 (http://lionet.info/asn1c)
    3  * From ASN.1 module "GssapiSessionModule"
    4  *  found in "session.asn1"
    5  */
    6 
    7 #include "GSSSessionData.h"
    8 
    9 static asn_TYPE_member_t asn_MBR_GSSSessionData_1[] = {
   10     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, established),
   11         (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
   12         +1, /* EXPLICIT tag at current level */
   13         &asn_DEF_BOOLEAN,
   14         0,  /* Defer constraints checking to the member type */
   15         0,  /* PER is not compiled, use -gen-PER */
   16         0,
   17         "established"
   18         },
   19     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, delegated),
   20         (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
   21         +1, /* EXPLICIT tag at current level */
   22         &asn_DEF_BOOLEAN,
   23         0,  /* Defer constraints checking to the member type */
   24         0,  /* PER is not compiled, use -gen-PER */
   25         0,
   26         "delegated"
   27         },
   28     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, expiration),
   29         (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
   30         +1, /* EXPLICIT tag at current level */
   31         &asn_DEF_Uint32,
   32         0,  /* Defer constraints checking to the member type */
   33         0,  /* PER is not compiled, use -gen-PER */
   34         0,
   35         "expiration"
   36         },
   37     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, username),
   38         (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
   39         +1, /* EXPLICIT tag at current level */
   40         &asn_DEF_OCTET_STRING,
   41         0,  /* Defer constraints checking to the member type */
   42         0,  /* PER is not compiled, use -gen-PER */
   43         0,
   44         "username"
   45         },
   46     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, gssname),
   47         (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
   48         +1, /* EXPLICIT tag at current level */
   49         &asn_DEF_OCTET_STRING,
   50         0,  /* Defer constraints checking to the member type */
   51         0,  /* PER is not compiled, use -gen-PER */
   52         0,
   53         "gssname"
   54         },
   55     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, basichash),
   56         (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
   57         +1, /* EXPLICIT tag at current level */
   58         &asn_DEF_OCTET_STRING,
   59         0,  /* Defer constraints checking to the member type */
   60         0,  /* PER is not compiled, use -gen-PER */
   61         0,
   62         "basichash"
   63         },
   64     { ATF_NOFLAGS, 0, offsetof(struct GSSSessionData, ccname),
   65         (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
   66         +1, /* EXPLICIT tag at current level */
   67         &asn_DEF_OCTET_STRING,
   68         0,  /* Defer constraints checking to the member type */
   69         0,  /* PER is not compiled, use -gen-PER */
   70         0,
   71         "ccname"
   72         },
   73 };
   74 static ber_tlv_tag_t asn_DEF_GSSSessionData_tags_1[] = {
   75     (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
   76 };
   77 static asn_TYPE_tag2member_t asn_MAP_GSSSessionData_tag2el_1[] = {
   78     { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* established */
   79     { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* delegated */
   80     { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* expiration */
   81     { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* username */
   82     { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* gssname */
   83     { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* basichash */
   84     { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 } /* ccname */
   85 };
   86 static asn_SEQUENCE_specifics_t asn_SPC_GSSSessionData_specs_1 = {
   87     sizeof(struct GSSSessionData),
   88     offsetof(struct GSSSessionData, _asn_ctx),
   89     asn_MAP_GSSSessionData_tag2el_1,
   90     7,  /* Count of tags in the map */
   91     0, 0, 0,    /* Optional elements (not needed) */
   92     -1, /* Start extensions */
   93     -1  /* Stop extensions */
   94 };
   95 asn_TYPE_descriptor_t asn_DEF_GSSSessionData = {
   96     "GSSSessionData",
   97     "GSSSessionData",
   98     SEQUENCE_free,
   99     SEQUENCE_print,
  100     SEQUENCE_constraint,
  101     SEQUENCE_decode_ber,
  102     SEQUENCE_encode_der,
  103     SEQUENCE_decode_xer,
  104     SEQUENCE_encode_xer,
  105     0, 0,   /* No PER support, use "-gen-PER" to enable */
  106     0,  /* Use generic outmost tag fetcher */
  107     asn_DEF_GSSSessionData_tags_1,
  108     sizeof(asn_DEF_GSSSessionData_tags_1)
  109         /sizeof(asn_DEF_GSSSessionData_tags_1[0]), /* 1 */
  110     asn_DEF_GSSSessionData_tags_1,  /* Same as above */
  111     sizeof(asn_DEF_GSSSessionData_tags_1)
  112         /sizeof(asn_DEF_GSSSessionData_tags_1[0]), /* 1 */
  113     0,  /* No PER visible constraints */
  114     asn_MBR_GSSSessionData_1,
  115     7,  /* Elements count */
  116     &asn_SPC_GSSSessionData_specs_1 /* Additional specs */
  117 };
  118