Adding code which was generated by asn1c from pokerth.asn1 using the call asn1c -fnative-types. Note the license file (COPYING_asn1c).
This commit is contained in:
+46
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "POKERTH-PROTOCOL"
|
||||
* found in "../../../docs/pokerth.asn1"
|
||||
*/
|
||||
|
||||
#ifndef _MyActionRequestMessage_H_
|
||||
#define _MyActionRequestMessage_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NonZeroId.h"
|
||||
#include "GameState.h"
|
||||
#include "PlayerAction.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* MyActionRequestMessage */
|
||||
typedef struct MyActionRequestMessage {
|
||||
NonZeroId_t gameId;
|
||||
GameState_t gameState;
|
||||
PlayerAction_t myAction;
|
||||
long myRelativeBet;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} MyActionRequestMessage_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_MyActionRequestMessage;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _MyActionRequestMessage_H_ */
|
||||
Reference in New Issue
Block a user