From 40cc1e543d0c2cec103e898d8fc7cb591258ec4a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 19 Jan 2022 15:53:08 +0100 Subject: refresh reflection with 8.0 --- REFLECTION | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 37bac53..69009ac 100644 --- a/REFLECTION +++ b/REFLECTION @@ -13,22 +13,24 @@ Extension [ extension #115 pam version 2.2.3 ] { Function [ function pam_auth ] { - Parameters [5] { - Parameter #0 [ $username ] - Parameter #1 [ $password ] - Parameter #2 [ &$status ] - Parameter #3 [ $checkacctmgmt ] - Parameter #4 [ $servicename ] + Parameter #0 [ string $username ] + Parameter #1 [ string $password ] + Parameter #2 [ &$status = null ] + Parameter #3 [ bool $checkacctmgmt = true ] + Parameter #4 [ string $servicename = null ] } + - Return [ bool ] } Function [ function pam_chpass ] { - Parameters [5] { - Parameter #0 [ $username ] - Parameter #1 [ $oldpassword ] - Parameter #2 [ $newpassword ] - Parameter #3 [ &$status ] - Parameter #4 [ $servicename ] + Parameter #0 [ string $username ] + Parameter #1 [ string $oldpassword ] + Parameter #2 [ string $newpassword ] + Parameter #3 [ &$status = null ] + Parameter #4 [ string $servicename = null ] } + - Return [ bool ] } } } -- cgit