dolibarr/dev/tools/phan/stubs/ldap.phan_php

158 lines
8.4 KiB
Plaintext
Raw Permalink Normal View History

2024-09-06 20:28:06 +08:00
<?php
// These stubs were generated by the phan stub generator.
// @phan-stub-for-extension ldap@7.4.33
namespace {
function ldap_add($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_add_ext($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_bind($link_identifier, $bind_rdn = null, $bind_password = null) {}
function ldap_bind_ext($link_identifier, $bind_rdn = null, $bind_password = null, $servercontrols = null) {}
function ldap_close($link_identifier) {}
function ldap_compare($link_identifier, $dn, $attribute, $value, $servercontrols = null) {}
function ldap_connect($hostname = null, $port = null) {}
function ldap_control_paged_result($link, $pagesize, $iscritical = null, $cookie = null) {}
function ldap_control_paged_result_response($link, $result, &$cookie = null, &$estimated = null) {}
function ldap_count_entries($link_identifier, $result_identifier) {}
function ldap_delete($link_identifier, $dn, $servercontrols = null) {}
function ldap_delete_ext($link_identifier, $dn, $servercontrols = null) {}
function ldap_dn2ufn($dn) {}
function ldap_err2str($errno) {}
/** @return int */
function ldap_errno($link_identifier) {}
/** @return string */
function ldap_error($link_identifier) {}
function ldap_escape($value, $ignore = null, $flags = null) {}
function ldap_exop($link, $reqoid, $reqdata = null, $servercontrols = null, &$retdata = null, &$retoid = null) {}
function ldap_exop_passwd($link, $user = null, $oldpw = null, $newpw = null, &$serverctrls = null) {}
function ldap_exop_refresh($link, $dn, $ttl) {}
function ldap_exop_whoami($link) {}
function ldap_explode_dn($dn, $with_attrib) {}
function ldap_first_attribute($link_identifier, $result_entry_identifier) {}
function ldap_first_entry($link_identifier, $result_identifier) {}
function ldap_first_reference($link, $result) {}
function ldap_free_result($link_identifier) {}
function ldap_get_attributes($link_identifier, $result_entry_identifier) {}
function ldap_get_dn($link_identifier, $result_entry_identifier) {}
function ldap_get_entries($link_identifier, $result_identifier) {}
function ldap_get_option($link_identifier, $option, &$retval) {}
function ldap_get_values($link_identifier, $result_entry_identifier, $attribute) {}
function ldap_get_values_len($link_identifier, $result_entry_identifier, $attribute) {}
function ldap_list($link_identifier, $base_dn, $filter, $attributes = null, $attrsonly = null, $sizelimit = null, $timelimit = null, $deref = null, $servercontrols = null) {}
function ldap_mod_add($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_mod_add_ext($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_mod_del($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_mod_del_ext($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_mod_replace($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_mod_replace_ext($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_modify($link_identifier, $dn, $entry, $servercontrols = null) {}
function ldap_modify_batch($link_identifier, $dn, array $modifications_info, $servercontrols = null) {}
function ldap_next_attribute($link_identifier, $result_entry_identifier) {}
function ldap_next_entry($link_identifier, $result_identifier) {}
function ldap_next_reference($link, $entry) {}
function ldap_parse_exop($link, $result, &$retdata, &$retoid) {}
function ldap_parse_reference($link, $entry, &$referrals) {}
function ldap_parse_result($link, $result, &$errcode, &$matcheddn = null, &$errmsg = null, &$referrals = null, &$serverctrls = null) {}
function ldap_read($link_identifier, $base_dn, $filter, $attributes = null, $attrsonly = null, $sizelimit = null, $timelimit = null, $deref = null, $servercontrols = null) {}
function ldap_rename($link_identifier, $dn, $newrdn, $newparent, $deleteoldrdn, $servercontrols = null) {}
function ldap_rename_ext($link_identifier, $dn, $newrdn, $newparent, $deleteoldrdn, $servercontrols = null) {}
function ldap_sasl_bind($link, $binddn = null, $password = null, $sasl_mech = null, $sasl_realm = null, $sasl_authz_id = null, $props = null) {}
function ldap_search($link_identifier, $base_dn, $filter, $attributes = null, $attrsonly = null, $sizelimit = null, $timelimit = null, $deref = null, $servercontrols = null) {}
function ldap_set_option($link_identifier, $option, $newval) {}
function ldap_set_rebind_proc($link, $callback) {}
function ldap_sort($link, $result, $sortfilter) {}
function ldap_start_tls($link_identifier) {}
function ldap_unbind($link_identifier) {}
const LDAP_CONTROL_ASSERT = '1.3.6.1.1.12';
const LDAP_CONTROL_DONTUSECOPY = '1.3.6.1.1.22';
const LDAP_CONTROL_MANAGEDSAIT = '2.16.840.1.113730.3.4.2';
const LDAP_CONTROL_PAGEDRESULTS = '1.2.840.113556.1.4.319';
const LDAP_CONTROL_PASSWORDPOLICYREQUEST = '1.3.6.1.4.1.42.2.27.8.5.1';
const LDAP_CONTROL_PASSWORDPOLICYRESPONSE = '1.3.6.1.4.1.42.2.27.8.5.1';
const LDAP_CONTROL_POST_READ = '1.3.6.1.1.13.2';
const LDAP_CONTROL_PRE_READ = '1.3.6.1.1.13.1';
const LDAP_CONTROL_PROXY_AUTHZ = '2.16.840.1.113730.3.4.18';
const LDAP_CONTROL_SORTREQUEST = '1.2.840.113556.1.4.473';
const LDAP_CONTROL_SORTRESPONSE = '1.2.840.113556.1.4.474';
const LDAP_CONTROL_SUBENTRIES = '1.3.6.1.4.1.4203.1.10.1';
const LDAP_CONTROL_SYNC = '1.3.6.1.4.1.4203.1.9.1.1';
const LDAP_CONTROL_SYNC_DONE = '1.3.6.1.4.1.4203.1.9.1.3';
const LDAP_CONTROL_SYNC_STATE = '1.3.6.1.4.1.4203.1.9.1.2';
const LDAP_CONTROL_VALUESRETURNFILTER = '1.2.826.0.1.3344810.2.3';
const LDAP_CONTROL_VLVREQUEST = '2.16.840.1.113730.3.4.9';
const LDAP_CONTROL_VLVRESPONSE = '2.16.840.1.113730.3.4.10';
const LDAP_CONTROL_X_DOMAIN_SCOPE = '1.2.840.113556.1.4.1339';
const LDAP_CONTROL_X_EXTENDED_DN = '1.2.840.113556.1.4.529';
const LDAP_CONTROL_X_INCREMENTAL_VALUES = '1.2.840.113556.1.4.802';
const LDAP_CONTROL_X_PERMISSIVE_MODIFY = '1.2.840.113556.1.4.1413';
const LDAP_CONTROL_X_SEARCH_OPTIONS = '1.2.840.113556.1.4.1340';
const LDAP_CONTROL_X_TREE_DELETE = '1.2.840.113556.1.4.805';
const LDAP_DEREF_ALWAYS = 3;
const LDAP_DEREF_FINDING = 2;
const LDAP_DEREF_NEVER = 0;
const LDAP_DEREF_SEARCHING = 1;
const LDAP_ESCAPE_DN = 2;
const LDAP_ESCAPE_FILTER = 1;
const LDAP_EXOP_MODIFY_PASSWD = '1.3.6.1.4.1.4203.1.11.1';
const LDAP_EXOP_REFRESH = '1.3.6.1.4.1.1466.101.119.1';
const LDAP_EXOP_START_TLS = '1.3.6.1.4.1.1466.20037';
const LDAP_EXOP_TURN = '1.3.6.1.1.19';
const LDAP_EXOP_WHO_AM_I = '1.3.6.1.4.1.4203.1.11.3';
const LDAP_MODIFY_BATCH_ADD = 1;
const LDAP_MODIFY_BATCH_ATTRIB = 'attrib';
const LDAP_MODIFY_BATCH_MODTYPE = 'modtype';
const LDAP_MODIFY_BATCH_REMOVE = 2;
const LDAP_MODIFY_BATCH_REMOVE_ALL = 18;
const LDAP_MODIFY_BATCH_REPLACE = 3;
const LDAP_MODIFY_BATCH_VALUES = 'values';
const LDAP_OPT_CLIENT_CONTROLS = 19;
const LDAP_OPT_DEBUG_LEVEL = 20481;
const LDAP_OPT_DEREF = 2;
const LDAP_OPT_DIAGNOSTIC_MESSAGE = 50;
const LDAP_OPT_ERROR_NUMBER = 49;
const LDAP_OPT_ERROR_STRING = 50;
const LDAP_OPT_HOST_NAME = 48;
const LDAP_OPT_MATCHED_DN = 51;
const LDAP_OPT_NETWORK_TIMEOUT = 20485;
const LDAP_OPT_PROTOCOL_VERSION = 17;
const LDAP_OPT_REFERRALS = 8;
const LDAP_OPT_RESTART = 9;
const LDAP_OPT_SERVER_CONTROLS = 18;
const LDAP_OPT_SIZELIMIT = 3;
const LDAP_OPT_TIMELIMIT = 4;
const LDAP_OPT_TIMEOUT = 20482;
const LDAP_OPT_X_KEEPALIVE_IDLE = 25344;
const LDAP_OPT_X_KEEPALIVE_INTERVAL = 25346;
const LDAP_OPT_X_KEEPALIVE_PROBES = 25345;
const LDAP_OPT_X_SASL_AUTHCID = 24834;
const LDAP_OPT_X_SASL_AUTHZID = 24835;
const LDAP_OPT_X_SASL_MECH = 24832;
const LDAP_OPT_X_SASL_NOCANON = 24843;
const LDAP_OPT_X_SASL_REALM = 24833;
const LDAP_OPT_X_SASL_USERNAME = 24844;
const LDAP_OPT_X_TLS_ALLOW = 3;
const LDAP_OPT_X_TLS_CACERTDIR = 24579;
const LDAP_OPT_X_TLS_CACERTFILE = 24578;
const LDAP_OPT_X_TLS_CERTFILE = 24580;
const LDAP_OPT_X_TLS_CIPHER_SUITE = 24584;
const LDAP_OPT_X_TLS_CRLCHECK = 24587;
const LDAP_OPT_X_TLS_CRLFILE = 24592;
const LDAP_OPT_X_TLS_CRL_ALL = 2;
const LDAP_OPT_X_TLS_CRL_NONE = 0;
const LDAP_OPT_X_TLS_CRL_PEER = 1;
const LDAP_OPT_X_TLS_DEMAND = 2;
const LDAP_OPT_X_TLS_DHFILE = 24590;
const LDAP_OPT_X_TLS_HARD = 1;
const LDAP_OPT_X_TLS_KEYFILE = 24581;
const LDAP_OPT_X_TLS_NEVER = 0;
const LDAP_OPT_X_TLS_PACKAGE = 24593;
const LDAP_OPT_X_TLS_PROTOCOL_MIN = 24583;
const LDAP_OPT_X_TLS_PROTOCOL_SSL2 = 512;
const LDAP_OPT_X_TLS_PROTOCOL_SSL3 = 768;
const LDAP_OPT_X_TLS_PROTOCOL_TLS1_0 = 769;
const LDAP_OPT_X_TLS_PROTOCOL_TLS1_1 = 770;
const LDAP_OPT_X_TLS_PROTOCOL_TLS1_2 = 771;
const LDAP_OPT_X_TLS_RANDOM_FILE = 24585;
const LDAP_OPT_X_TLS_REQUIRE_CERT = 24582;
const LDAP_OPT_X_TLS_TRY = 4;
}