Adding missing vote-kick messages to ASN.1 protocol definition.

This commit is contained in:
lotodore
2009-07-26 08:52:58 +00:00
parent 6d0af720a0
commit 336dc836a0
79 changed files with 1995 additions and 186 deletions
+66
View File
@@ -0,0 +1,66 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
*/
#ifndef _VoteKickReplyMessage_H_
#define _VoteKickReplyMessage_H_
#include <asn_application.h>
/* Including external dependencies */
#include "NonZeroId.h"
#include "VoteKickAck.h"
#include "VoteKickDenied.h"
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum voteKickReplyType_PR {
voteKickReplyType_PR_NOTHING, /* No components present */
voteKickReplyType_PR_voteKickAck,
voteKickReplyType_PR_voteKickDenied,
/* Extensions may appear below */
} voteKickReplyType_PR;
/* VoteKickReplyMessage */
typedef struct VoteKickReplyMessage {
NonZeroId_t petitionId;
struct voteKickReplyType {
voteKickReplyType_PR present;
union VoteKickReplyMessage__voteKickReplyType_u {
VoteKickAck_t voteKickAck;
VoteKickDenied_t voteKickDenied;
/*
* This type is extensible,
* possible extensions are below.
*/
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} voteKickReplyType;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} VoteKickReplyMessage_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_VoteKickReplyMessage;
#ifdef __cplusplus
}
#endif
#endif /* _VoteKickReplyMessage_H_ */