From 40a71cfdc77c905cb0a011be15a3f59c7de2a936 Mon Sep 17 00:00:00 2001 From: Egon Schmid Date: Mon, 8 Jan 2001 18:31:59 +0000 Subject: [PATCH] Corrected some protos. --- ext/ldap/ldap.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index ca2d4c3c90..23eeb6fa90 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -717,7 +717,7 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) } -/* {{{ proto int ldap_read(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]] ) +/* {{{ proto int ldap_read(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]]) Read an entry */ PHP_FUNCTION(ldap_read) { @@ -726,7 +726,7 @@ PHP_FUNCTION(ldap_read) /* }}} */ -/* {{{ proto int ldap_list(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]] ) +/* {{{ proto int ldap_list(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]]) Single-level search */ PHP_FUNCTION(ldap_list) { @@ -735,7 +735,7 @@ PHP_FUNCTION(ldap_list) /* }}} */ -/* {{{ proto int ldap_search(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]] ) +/* {{{ proto int ldap_search(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]]) Search LDAP tree under base_dn */ PHP_FUNCTION(ldap_search) { @@ -1738,9 +1738,7 @@ PHP_FUNCTION(ldap_set_option) { /* }}} */ -/* {{{ proto boolean ldap_parse_result(int link, int result, int errcode, - string matcheddn, string errmsg, - array referrals) +/* {{{ proto boolean ldap_parse_result(int link, int result, int errcode, string matcheddn, string errmsg, array referrals) Extract information from result */ PHP_FUNCTION(ldap_parse_result) { LDAP *ldap; @@ -1922,8 +1920,7 @@ PHP_FUNCTION(ldap_parse_reference) /* }}} */ -/* {{{ proto boolean ldap_rename(int link, string dn, string newrdn, - string newparent, boolean deleteoldrdn); +/* {{{ proto boolean ldap_rename(int link, string dn, string newrdn, string newparent, boolean deleteoldrdn); Modify the name of an entry */ PHP_FUNCTION(ldap_rename) { -- 2.50.1