-
Notifications
You must be signed in to change notification settings - Fork 3
/
applicationcode.go
33 lines (29 loc) · 1.23 KB
/
applicationcode.go
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
package ldap
import (
"github.com/eaciit/asn1-ber"
)
// LDAP Application Codes
type ApplicationCode ber.Tag
// go:generate stringer -type=ApplicationCode
const (
ApplicationBindRequest ApplicationCode = 0
ApplicationBindResponse ApplicationCode = 1
ApplicationUnbindRequest ApplicationCode = 2
ApplicationSearchRequest ApplicationCode = 3
ApplicationSearchResultEntry ApplicationCode = 4
ApplicationSearchResultDone ApplicationCode = 5
ApplicationModifyRequest ApplicationCode = 6
ApplicationModifyResponse ApplicationCode = 7
ApplicationAddRequest ApplicationCode = 8
ApplicationAddResponse ApplicationCode = 9
ApplicationDelRequest ApplicationCode = 10
ApplicationDelResponse ApplicationCode = 11
ApplicationModifyDNRequest ApplicationCode = 12
ApplicationModifyDNResponse ApplicationCode = 13
ApplicationCompareRequest ApplicationCode = 14
ApplicationCompareResponse ApplicationCode = 15
ApplicationAbandonRequest ApplicationCode = 16
ApplicationSearchResultReference ApplicationCode = 19
ApplicationExtendedRequest ApplicationCode = 23
ApplicationExtendedResponse ApplicationCode = 24
)