Files
pokerth/src/third_party/asn1/AuthMessage.h
T

61 lines
1.3 KiB
C

/*
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
* From ASN.1 module "POKERTH-PROTOCOL"
* found in "../../../docs/pokerth.asn1"
* `asn1c -fskeletons-copy`
*/
#ifndef _AuthMessage_H_
#define _AuthMessage_H_
#include <asn_application.h>
/* Including external dependencies */
#include "AuthServerChallenge.h"
#include "AuthClientResponse.h"
#include "AuthServerVerification.h"
#include <constr_CHOICE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum AuthMessage_PR {
AuthMessage_PR_NOTHING, /* No components present */
AuthMessage_PR_authServerChallenge,
AuthMessage_PR_authClientResponse,
AuthMessage_PR_authServerVerification,
/* Extensions may appear below */
}
AuthMessage_PR;
/* AuthMessage */
typedef struct AuthMessage {
AuthMessage_PR present;
union AuthMessage_u {
AuthServerChallenge_t authServerChallenge;
AuthClientResponse_t authClientResponse;
AuthServerVerification_t authServerVerification;
/*
* This type is extensible,
* possible extensions are below.
*/
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} AuthMessage_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthMessage;
#ifdef __cplusplus
}
#endif
#endif /* _AuthMessage_H_ */
#include <asn_internal.h>