⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldap_parse_reference.3

📁 OpenLdap是LDAP的开源项目
💻 3
字号:
.TH LDAP_PARSE_REFERENCE 3 "RELEASEDATE" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap_parse_reference.3,v 1.10.2.4 2007/01/02 21:43:45 kurt Exp $.\" Copyright 1998-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply.  See COPYRIGHT/LICENSE..SH NAMEldap_parse_reference \- Extract referrals and controls from a reference message.SH LIBRARYOpenLDAP LDAP (libldap, -lldap).SH SYNOPSIS.nf.ft B#include <ldap.h>.LP.ft Bint ldap_parse_reference( LDAP *ld, LDAPMessage *reference,	char ***referralsp, LDAPControl ***serverctrlsp,	int freeit ).SH DESCRIPTION.LPThe.B ldap_parse_reference()routine is used to extract referrals and controls from a reference message.The \fIreference\fP parameter is a reference message as returned by acall to.BR ldap_first_reference (3) ,.BR ldap_next_reference (3) ,.BR ldap_first_message (3) ,.BR ldap_next_message (3) ,or.BR ldap_result (3) ..LPThe \fIreferralsp\fP parameter will be filled in with an allocated array ofcharacter strings. The strings are copies of the referrals contained inthe parsed message. The array should be freed by calling.BR ldap_value_free (3) .If \fIreferralsp\fP is NULL, no referrals are returned.If no referrals were returned, \fI*referralsp\fP is set to NULL..LPThe \fIserverctrlsp\fP parameter will be filled in with an allocated array ofcontrols copied from the parsed message. The array should be freed by calling.BR ldap_controls_free (3).If \fIserverctrlsp\fP is NULL, no controls are returned.If no controls were returned, \fI*serverctrlsp\fP is set to NULL..LPThe \fIfreeit\fP parameter determines whether the parsed message isfreed or not after the extraction. Any non-zero value will make itfree the message. The.BR ldap_msgfree (3)routine can also be used to free the message later..SH ERRORSUpon success LDAP_SUCCESS is returned. Otherwise the values of the\fIreferralsp\fP and \fIserverctrlsp\fP parameters are undefined..SH SEE ALSO.BR ldap (3),.BR ldap_first_reference (3),.BR ldap_first_message (3),.BR ldap_result (3),.BR ldap_get_values (3),.BR ldap_controls_free (3).SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -