-
Notifications
You must be signed in to change notification settings - Fork 6
/
Filter.h
92 lines (76 loc) · 2 KB
/
Filter.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* 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 _Filter_H_
#define _Filter_H_
#include <asn_application.h>
/* Including external dependencies */
#include "AttributeValueAssertion.h"
#include "SubstringFilter.h"
#include "AttributeDescription.h"
#include "MatchingRuleAssertion.h"
#include <asn_SET_OF.h>
#include <constr_SET_OF.h>
#include <constr_CHOICE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum Filter_PR {
Filter_PR_NOTHING, /* No components present */
Filter_PR_and,
Filter_PR_or,
Filter_PR_not,
Filter_PR_equalityMatch,
Filter_PR_substrings,
Filter_PR_greaterOrEqual,
Filter_PR_lessOrEqual,
Filter_PR_present,
Filter_PR_approxMatch,
Filter_PR_extensibleMatch,
/* Extensions may appear below */
} Filter_PR;
/* Forward declarations */
struct Filter;
/* Filter */
typedef struct Filter {
Filter_PR present;
union Filter_u {
struct Filter__and {
A_SET_OF(struct Filter) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} and;
struct Filter__or {
A_SET_OF(struct Filter) list;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} or;
struct Filter *not;
AttributeValueAssertion_t equalityMatch;
SubstringFilter_t substrings;
AttributeValueAssertion_t greaterOrEqual;
AttributeValueAssertion_t lessOrEqual;
AttributeDescription_t present;
AttributeValueAssertion_t approxMatch;
MatchingRuleAssertion_t extensibleMatch;
/*
* This type is extensible,
* possible extensions are below.
*/
} choice;
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} Filter_t;
/* Implementation */
extern asn_TYPE_descriptor_t asn_DEF_Filter;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include "Filter.h"
#endif /* _Filter_H_ */
#include <asn_internal.h>