summaryrefslogtreecommitdiff
path: root/src/nslcd_proto/nslcd_h.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-08-27 00:41:24 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-08-27 00:41:24 -0600
commitf2482fcbf1bd7d521bb45192065e661971f227e6 (patch)
tree1d8fba4627433b72e0b5c043b57148cf8d3c203b /src/nslcd_proto/nslcd_h.go
parentbf31108a18d4d592a2464a580db813a58387e8fe (diff)
wip
Diffstat (limited to 'src/nslcd_proto/nslcd_h.go')
-rw-r--r--src/nslcd_proto/nslcd_h.go10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/nslcd_proto/nslcd_h.go b/src/nslcd_proto/nslcd_h.go
index 4034472..394e91c 100644
--- a/src/nslcd_proto/nslcd_h.go
+++ b/src/nslcd_proto/nslcd_h.go
@@ -80,19 +80,15 @@ type void struct{}
const NSLCD_VERSION int32 = 0x00000002
/* Get a NSLCD configuration option. There is one request parameter: */
-type Request_Config_Get struct {
- Key int32
-}
+type Request_Config_Get int32 /* NSLCD_CONFIG_* */
/* the result value is: */
-type Config struct {
- Value string /* interpretation depending on request */
-}
+type Config string /* interpretation depending on request */
const NSLCD_ACTION_CONFIG_GET int32 = 0x00010001
const (
/* return the message, if any, that is presented to the user when password
modification through PAM is prohibited */
- NSLCD_CONFIG_PAM_PASSWORD_PROHIBIT_MESSAGE int32 = 1
+ NSLCD_CONFIG_PAM_PASSWORD_PROHIBIT_MESSAGE Request_Config_Get = 1
)
/* Email alias (/etc/aliases) NSS requests. The result values for a