2009-07-18 12:13:05 +00:00
|
|
|
/*
|
2010-11-28 00:14:03 +00:00
|
|
|
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
|
2009-07-18 12:13:05 +00:00
|
|
|
* From ASN.1 module "POKERTH-PROTOCOL"
|
|
|
|
|
* found in "../../../docs/pokerth.asn1"
|
2010-08-01 19:51:34 +00:00
|
|
|
* `asn1c -fskeletons-copy`
|
2009-07-18 12:13:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _HandStartMessage_H_
|
|
|
|
|
#define _HandStartMessage_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
|
|
|
|
|
|
/* Including external dependencies */
|
|
|
|
|
#include "NonZeroId.h"
|
2009-07-31 22:38:10 +00:00
|
|
|
#include <NativeInteger.h>
|
2010-09-04 11:56:40 +00:00
|
|
|
#include "PlainCards.h"
|
|
|
|
|
#include "EncryptedCards.h"
|
|
|
|
|
#include <constr_CHOICE.h>
|
2009-07-18 12:13:05 +00:00
|
|
|
#include <constr_SEQUENCE.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2011-07-16 14:52:45 +00:00
|
|
|
/* Dependencies */
|
|
|
|
|
typedef enum yourCards_PR {
|
|
|
|
|
yourCards_PR_NOTHING, /* No components present */
|
|
|
|
|
yourCards_PR_plainCards,
|
|
|
|
|
yourCards_PR_encryptedCards,
|
|
|
|
|
/* Extensions may appear below */
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
yourCards_PR;
|
|
|
|
|
|
|
|
|
|
/* HandStartMessage */
|
|
|
|
|
typedef struct HandStartMessage {
|
|
|
|
|
NonZeroId_t gameId;
|
|
|
|
|
struct yourCards {
|
|
|
|
|
yourCards_PR present;
|
|
|
|
|
union HandStartMessage__yourCards_u {
|
|
|
|
|
PlainCards_t plainCards;
|
|
|
|
|
EncryptedCards_t encryptedCards;
|
|
|
|
|
/*
|
|
|
|
|
* This type is extensible,
|
|
|
|
|
* possible extensions are below.
|
|
|
|
|
*/
|
|
|
|
|
} choice;
|
|
|
|
|
|
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
|
|
|
asn_struct_ctx_t _asn_ctx;
|
|
|
|
|
} yourCards;
|
|
|
|
|
long smallBlind;
|
|
|
|
|
/*
|
|
|
|
|
* This type is extensible,
|
|
|
|
|
* possible extensions are below.
|
|
|
|
|
*/
|
2010-09-04 11:56:40 +00:00
|
|
|
|
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
|
|
|
asn_struct_ctx_t _asn_ctx;
|
2011-07-16 14:52:45 +00:00
|
|
|
} HandStartMessage_t;
|
2009-07-18 12:13:05 +00:00
|
|
|
|
2011-07-16 14:52:45 +00:00
|
|
|
/* Implementation */
|
|
|
|
|
extern asn_TYPE_descriptor_t asn_DEF_HandStartMessage;
|
2009-07-18 12:13:05 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* _HandStartMessage_H_ */
|
2010-10-13 16:00:22 +00:00
|
|
|
#include <asn_internal.h>
|