Files
pokerth/src/third_party/asn1/VoteKickReplyMessage.h
T

69 lines
1.5 KiB
C
Raw Normal View History

/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
2010-08-01 19:51:34 +00:00
* `asn1c -fskeletons-copy`
*/
#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 {
2009-08-03 21:55:38 +00:00
NonZeroId_t gameId;
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_ */