2009-07-18 12:13:05 +00:00
|
|
|
/*
|
|
|
|
|
* 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`
|
2009-07-18 12:13:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _ChatRequestMessage_H_
|
|
|
|
|
#define _ChatRequestMessage_H_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <asn_application.h>
|
|
|
|
|
|
|
|
|
|
/* Including external dependencies */
|
|
|
|
|
#include <UTF8String.h>
|
2009-08-15 08:38:56 +00:00
|
|
|
#include "ChatRequestTypeLobby.h"
|
|
|
|
|
#include "ChatRequestTypeGame.h"
|
|
|
|
|
#include <constr_CHOICE.h>
|
2009-07-18 12:13:05 +00:00
|
|
|
#include <constr_SEQUENCE.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2009-08-15 08:38:56 +00:00
|
|
|
/* Dependencies */
|
|
|
|
|
typedef enum chatRequestType_PR {
|
|
|
|
|
chatRequestType_PR_NOTHING, /* No components present */
|
|
|
|
|
chatRequestType_PR_chatRequestTypeLobby,
|
|
|
|
|
chatRequestType_PR_chatRequestTypeGame,
|
|
|
|
|
/* Extensions may appear below */
|
|
|
|
|
|
|
|
|
|
} chatRequestType_PR;
|
|
|
|
|
|
2009-07-18 12:13:05 +00:00
|
|
|
/* ChatRequestMessage */
|
|
|
|
|
typedef struct ChatRequestMessage {
|
2009-08-15 08:38:56 +00:00
|
|
|
struct chatRequestType {
|
|
|
|
|
chatRequestType_PR present;
|
|
|
|
|
union ChatRequestMessage__chatRequestType_u {
|
|
|
|
|
ChatRequestTypeLobby_t chatRequestTypeLobby;
|
|
|
|
|
ChatRequestTypeGame_t chatRequestTypeGame;
|
|
|
|
|
/*
|
|
|
|
|
* This type is extensible,
|
|
|
|
|
* possible extensions are below.
|
|
|
|
|
*/
|
|
|
|
|
} choice;
|
|
|
|
|
|
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
|
|
|
asn_struct_ctx_t _asn_ctx;
|
|
|
|
|
} chatRequestType;
|
2009-07-18 12:13:05 +00:00
|
|
|
UTF8String_t chatText;
|
|
|
|
|
/*
|
|
|
|
|
* This type is extensible,
|
|
|
|
|
* possible extensions are below.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/* Context for parsing across buffer boundaries */
|
|
|
|
|
asn_struct_ctx_t _asn_ctx;
|
|
|
|
|
} ChatRequestMessage_t;
|
|
|
|
|
|
|
|
|
|
/* Implementation */
|
|
|
|
|
extern asn_TYPE_descriptor_t asn_DEF_ChatRequestMessage;
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif /* _ChatRequestMessage_H_ */
|