Adding missing files.

This commit is contained in:
lotodore
2009-10-10 20:30:35 +00:00
parent 730f81129b
commit 6db2a97eef
8 changed files with 524 additions and 0 deletions
+82
View File
@@ -0,0 +1,82 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fnative-types`
*/
#include <asn_internal.h>
#include "AuthMessage.h"
static asn_TYPE_member_t asn_MBR_AuthMessage_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct AuthMessage, choice.authServerChallenge),
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_AuthServerChallenge,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"authServerChallenge"
},
{ ATF_NOFLAGS, 0, offsetof(struct AuthMessage, choice.authClientResponse),
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_AuthClientResponse,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"authClientResponse"
},
{ ATF_NOFLAGS, 0, offsetof(struct AuthMessage, choice.authServerVerification),
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
-1, /* IMPLICIT tag at current level */
&asn_DEF_AuthServerVerification,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"authServerVerification"
},
};
static ber_tlv_tag_t asn_DEF_AuthMessage_tags_1[] = {
(ASN_TAG_CLASS_APPLICATION | (1 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_AuthMessage_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* authServerChallenge at 96 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* authClientResponse at 97 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* authServerVerification at 99 */
};
static asn_CHOICE_specifics_t asn_SPC_AuthMessage_specs_1 = {
sizeof(struct AuthMessage),
offsetof(struct AuthMessage, _asn_ctx),
offsetof(struct AuthMessage, present),
sizeof(((struct AuthMessage *)0)->present),
asn_MAP_AuthMessage_tag2el_1,
3, /* Count of tags in the map */
0,
3 /* Extensions start */
};
asn_TYPE_descriptor_t asn_DEF_AuthMessage = {
"AuthMessage",
"AuthMessage",
CHOICE_free,
CHOICE_print,
CHOICE_constraint,
CHOICE_decode_ber,
CHOICE_encode_der,
CHOICE_decode_xer,
CHOICE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
CHOICE_outmost_tag,
asn_DEF_AuthMessage_tags_1,
sizeof(asn_DEF_AuthMessage_tags_1)
/sizeof(asn_DEF_AuthMessage_tags_1[0]), /* 1 */
asn_DEF_AuthMessage_tags_1, /* Same as above */
sizeof(asn_DEF_AuthMessage_tags_1)
/sizeof(asn_DEF_AuthMessage_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
asn_MBR_AuthMessage_1,
3, /* Elements count */
&asn_SPC_AuthMessage_specs_1 /* Additional specs */
};