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

59 lines
1.3 KiB
C
Raw Normal View History

2009-10-10 20:30:35 +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-10-10 20:30:35 +00:00
*/
#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_ */