-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathAuthenticationChoice.h
56 lines (44 loc) · 1.25 KB
/
AuthenticationChoice.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
* From ASN.1 module "Lightweight-Directory-Access-Protocol-V3"
* found in "Lightweight-Directory-Access-Protocol-V3.asn1"
* `asn1c -fcompound-names`
*/
#ifndef _AuthenticationChoice_H_
#define _AuthenticationChoice_H_
#include <asn_application.h>
/* Including external dependencies */
#include <OCTET_STRING.h>
#include "SaslCredentials.h"
#include <constr_CHOICE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum AuthenticationChoice_PR {
AuthenticationChoice_PR_NOTHING, /* No components present */
AuthenticationChoice_PR_simple,
AuthenticationChoice_PR_sasl,
/* Extensions may appear below */
} AuthenticationChoice_PR;
/* AuthenticationChoice */
typedef struct AuthenticationChoice {
AuthenticationChoice_PR present;
union AuthenticationChoice_u {
OCTET_STRING_t simple;
SaslCredentials_t sasl;
/*
* This type is extensible,
* possible extensions are below.
*/
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} AuthenticationChoice_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_AuthenticationChoice;
#ifdef __cplusplus
}
#endif
#endif /* _AuthenticationChoice_H_ */
#include <asn_internal.h>