diff options
Diffstat (limited to 'src/nslcd_proto/nslcd_h.go')
-rw-r--r-- | src/nslcd_proto/nslcd_h.go | 10 |
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 |