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:
lotodore
2009-07-18 12:13:05 +00:00
parent 2451fef351
commit eb1b1e4b9c
204 changed files with 12647 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
*/
#ifndef _InitMessage_H_
#define _InitMessage_H_
#include <asn_application.h>
/* Including external dependencies */
#include "Version.h"
#include "AnonymousLogin.h"
#include "AuthenticatedLogin.h"
#include "StatisticsLogin.h"
#include <constr_CHOICE.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum login_PR {
login_PR_NOTHING, /* No components present */
login_PR_anonymousLogin,
login_PR_authenticatedLogin,
login_PR_statisticsLogin,
/* Extensions may appear below */
} login_PR;
/* InitMessage */
typedef struct InitMessage {
Version_t requestedVersion;
struct login {
login_PR present;
union InitMessage__login_u {
AnonymousLogin_t anonymousLogin;
AuthenticatedLogin_t authenticatedLogin;
StatisticsLogin_t statisticsLogin;
/*
* This type is extensible,
* possible extensions are below.
*/
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} login;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} InitMessage_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_InitMessage;
#ifdef __cplusplus
}
#endif
#endif /* _InitMessage_H_ */