69 lines
1.5 KiB
C
69 lines
1.5 KiB
C
/*
|
|
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
|
|
* From ASN.1 module "POKERTH-PROTOCOL"
|
|
* found in "../../../docs/pokerth.asn1"
|
|
* `asn1c -fnative-types`
|
|
*/
|
|
|
|
#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 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_ */
|