Adding missing protocol files.

This commit is contained in:
lotodore
2010-11-07 07:41:27 +00:00
parent 59f9ba5fef
commit 6b179cd8ca
3 changed files with 105 additions and 2 deletions
+59
View File
@@ -0,0 +1,59 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fskeletons-copy`
*/
#include "ChatRequestTypePrivate.h"
static asn_TYPE_member_t asn_MBR_ChatRequestTypePrivate_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct ChatRequestTypePrivate, targetPlayerId),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
0,
&asn_DEF_NonZeroId,
0, /* Defer constraints checking to the member type */
0, /* PER is not compiled, use -gen-PER */
0,
"targetPlayerId"
},
};
static ber_tlv_tag_t asn_DEF_ChatRequestTypePrivate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_ChatRequestTypePrivate_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* targetPlayerId at 661 */
};
static asn_SEQUENCE_specifics_t asn_SPC_ChatRequestTypePrivate_specs_1 = {
sizeof(struct ChatRequestTypePrivate),
offsetof(struct ChatRequestTypePrivate, _asn_ctx),
asn_MAP_ChatRequestTypePrivate_tag2el_1,
1, /* Count of tags in the map */
0, 0, 0, /* Optional elements (not needed) */
0, /* Start extensions */
2 /* Stop extensions */
};
asn_TYPE_descriptor_t asn_DEF_ChatRequestTypePrivate = {
"ChatRequestTypePrivate",
"ChatRequestTypePrivate",
SEQUENCE_free,
SEQUENCE_print,
SEQUENCE_constraint,
SEQUENCE_decode_ber,
SEQUENCE_encode_der,
SEQUENCE_decode_xer,
SEQUENCE_encode_xer,
0, 0, /* No PER support, use "-gen-PER" to enable */
0, /* Use generic outmost tag fetcher */
asn_DEF_ChatRequestTypePrivate_tags_1,
sizeof(asn_DEF_ChatRequestTypePrivate_tags_1)
/sizeof(asn_DEF_ChatRequestTypePrivate_tags_1[0]), /* 1 */
asn_DEF_ChatRequestTypePrivate_tags_1, /* Same as above */
sizeof(asn_DEF_ChatRequestTypePrivate_tags_1)
/sizeof(asn_DEF_ChatRequestTypePrivate_tags_1[0]), /* 1 */
0, /* No PER visible constraints */
asn_MBR_ChatRequestTypePrivate_1,
1, /* Elements count */
&asn_SPC_ChatRequestTypePrivate_specs_1 /* Additional specs */
};
+42
View File
@@ -0,0 +1,42 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fskeletons-copy`
*/
#ifndef _ChatRequestTypePrivate_H_
#define _ChatRequestTypePrivate_H_
#include <asn_application.h>
/* Including external dependencies */
#include "NonZeroId.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* ChatRequestTypePrivate */
typedef struct ChatRequestTypePrivate {
NonZeroId_t targetPlayerId;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} ChatRequestTypePrivate_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_ChatRequestTypePrivate;
#ifdef __cplusplus
}
#endif
#endif /* _ChatRequestTypePrivate_H_ */
#include <asn_internal.h>