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:
+72
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
|
||||
* From ASN.1 module "POKERTH-PROTOCOL"
|
||||
* found in "../../../docs/pokerth.asn1"
|
||||
*/
|
||||
|
||||
#ifndef _AvatarReplyMessage_H_
|
||||
#define _AvatarReplyMessage_H_
|
||||
|
||||
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "NonZeroId.h"
|
||||
#include "AvatarHeader.h"
|
||||
#include "AvatarData.h"
|
||||
#include "AvatarEnd.h"
|
||||
#include "UnknownAvatar.h"
|
||||
#include <constr_CHOICE.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Dependencies */
|
||||
typedef enum avatarResult_PR {
|
||||
avatarResult_PR_NOTHING, /* No components present */
|
||||
avatarResult_PR_avatarHeader,
|
||||
avatarResult_PR_avatarData,
|
||||
avatarResult_PR_avatarEnd,
|
||||
avatarResult_PR_unknownAvatar,
|
||||
/* Extensions may appear below */
|
||||
|
||||
} avatarResult_PR;
|
||||
|
||||
/* AvatarReplyMessage */
|
||||
typedef struct AvatarReplyMessage {
|
||||
NonZeroId_t requestId;
|
||||
struct avatarResult {
|
||||
avatarResult_PR present;
|
||||
union AvatarReplyMessage__avatarResult_u {
|
||||
AvatarHeader_t avatarHeader;
|
||||
AvatarData_t avatarData;
|
||||
AvatarEnd_t avatarEnd;
|
||||
UnknownAvatar_t unknownAvatar;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
} choice;
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} avatarResult;
|
||||
/*
|
||||
* This type is extensible,
|
||||
* possible extensions are below.
|
||||
*/
|
||||
|
||||
/* Context for parsing across buffer boundaries */
|
||||
asn_struct_ctx_t _asn_ctx;
|
||||
} AvatarReplyMessage_t;
|
||||
|
||||
/* Implementation */
|
||||
extern asn_TYPE_descriptor_t asn_DEF_AvatarReplyMessage;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _AvatarReplyMessage_H_ */
|
||||
Reference in New Issue
Block a user