-
Notifications
You must be signed in to change notification settings - Fork 6
/
LDAPResult.h
100 lines (87 loc) · 3.07 KB
/
LDAPResult.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
93
94
95
96
97
98
99
100
/*
* 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 _LDAPResult_H_
#define _LDAPResult_H_
#include <asn_application.h>
/* Including external dependencies */
#include <ENUMERATED.h>
#include "LDAPDN.h"
#include "LDAPString.h"
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum LDAPResult__resultCode {
LDAPResult__resultCode_success = 0,
LDAPResult__resultCode_operationsError = 1,
LDAPResult__resultCode_protocolError = 2,
LDAPResult__resultCode_timeLimitExceeded = 3,
LDAPResult__resultCode_sizeLimitExceeded = 4,
LDAPResult__resultCode_compareFalse = 5,
LDAPResult__resultCode_compareTrue = 6,
LDAPResult__resultCode_authMethodNotSupported = 7,
LDAPResult__resultCode_strongerAuthRequired = 8,
LDAPResult__resultCode_referral = 10,
LDAPResult__resultCode_adminLimitExceeded = 11,
LDAPResult__resultCode_unavailableCriticalExtension = 12,
LDAPResult__resultCode_confidentialityRequired = 13,
LDAPResult__resultCode_saslBindInProgress = 14,
LDAPResult__resultCode_noSuchAttribute = 16,
LDAPResult__resultCode_undefinedAttributeType = 17,
LDAPResult__resultCode_inappropriateMatching = 18,
LDAPResult__resultCode_constraintViolation = 19,
LDAPResult__resultCode_attributeOrValueExists = 20,
LDAPResult__resultCode_invalidAttributeSyntax = 21,
LDAPResult__resultCode_noSuchObject = 32,
LDAPResult__resultCode_aliasProblem = 33,
LDAPResult__resultCode_invalidDNSyntax = 34,
LDAPResult__resultCode_aliasDereferencingProblem = 36,
LDAPResult__resultCode_inappropriateAuthentication = 48,
LDAPResult__resultCode_invalidCredentials = 49,
LDAPResult__resultCode_insufficientAccessRights = 50,
LDAPResult__resultCode_busy = 51,
LDAPResult__resultCode_unavailable = 52,
LDAPResult__resultCode_unwillingToPerform = 53,
LDAPResult__resultCode_loopDetect = 54,
LDAPResult__resultCode_namingViolation = 64,
LDAPResult__resultCode_objectClassViolation = 65,
LDAPResult__resultCode_notAllowedOnNonLeaf = 66,
LDAPResult__resultCode_notAllowedOnRDN = 67,
LDAPResult__resultCode_entryAlreadyExists = 68,
LDAPResult__resultCode_objectClassModsProhibited = 69,
LDAPResult__resultCode_affectsMultipleDSAs = 71,
LDAPResult__resultCode_other = 80
/*
* Enumeration is extensible
*/
} e_LDAPResult__resultCode;
/* Forward declarations */
struct Referral;
/* LDAPResult */
typedef struct LDAPResult {
ENUMERATED_t resultCode;
LDAPDN_t matchedDN;
LDAPString_t diagnosticMessage;
struct Referral *referral /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} LDAPResult_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_resultCode_2; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_LDAPResult;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include "Referral.h"
#endif /* _LDAPResult_H_ */
#include <asn_internal.h>