diff options
Diffstat (limited to 'usr/src/lib/libldap5')
-rw-r--r-- | usr/src/lib/libldap5/include/ldap/ldappr.h | 4 | ||||
-rw-r--r-- | usr/src/lib/libldap5/sources/ldap/prldap/ldappr-public.c | 4 | ||||
-rw-r--r-- | usr/src/lib/libldap5/spec/ldap.spec | 35 |
3 files changed, 36 insertions, 7 deletions
diff --git a/usr/src/lib/libldap5/include/ldap/ldappr.h b/usr/src/lib/libldap5/include/ldap/ldappr.h index 99a981504e..3033f8714d 100644 --- a/usr/src/lib/libldap5/include/ldap/ldappr.h +++ b/usr/src/lib/libldap5/include/ldap/ldappr.h @@ -1,5 +1,5 @@ /* - * Copyright 2002 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -72,7 +72,6 @@ LDAP * LDAP_CALL prldap_init( const char *defhost, int defport, int shared ); int LDAP_CALL prldap_install_routines( LDAP *ld, int shared ); -#ifndef _SOLARIS_SDK /* Not used, left in to stay in sync with iplanet */ /* * Function: prldap_set_session_option(). * @@ -121,7 +120,6 @@ int LDAP_CALL prldap_get_session_option( LDAP *ld, void *sessionarg, * LDAP_X_IO_TIMEOUT_NO_WAIT */ #define PRLDAP_OPT_IO_MAX_TIMEOUT 1 -#endif /* !_SOLARIS_SDK */ /** diff --git a/usr/src/lib/libldap5/sources/ldap/prldap/ldappr-public.c b/usr/src/lib/libldap5/sources/ldap/prldap/ldappr-public.c index ad36e53e04..6f8765adbb 100644 --- a/usr/src/lib/libldap5/sources/ldap/prldap/ldappr-public.c +++ b/usr/src/lib/libldap5/sources/ldap/prldap/ldappr-public.c @@ -1,5 +1,5 @@ /* - * Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -94,7 +94,6 @@ prldap_install_routines( LDAP *ld, int shared ) } -#ifndef _SOLARIS_SDK /* Not used, left in to stay in sync with iplanet */ /* * Function: prldap_set_session_option(). * @@ -177,7 +176,6 @@ int LDAP_CALL prldap_get_session_option( LDAP *ld, void *sessionarg, return( rc ); } -#endif /* !_SOLARIS_SDK */ /* diff --git a/usr/src/lib/libldap5/spec/ldap.spec b/usr/src/lib/libldap5/spec/ldap.spec index bea036a154..387d97e53a 100644 --- a/usr/src/lib/libldap5/spec/ldap.spec +++ b/usr/src/lib/libldap5/spec/ldap.spec @@ -1,7 +1,26 @@ # -# Copyright 2003 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# # ident "%Z%%M% %I% %E% SMI" # # lib/libldap5/spec/ldap.spec @@ -1536,3 +1555,17 @@ include <lber.h>, <ldap.h> declaration int ldap_str2charray( char *str, char *brkstr ) version SUNWprivate_1.1 end + +function prldap_set_session_option +include <lber.h>, <ldap.h> +declaration int prldap_set_session_option( LDAP *ld, void *sessionarg, \ + int option, ... ) +version SUNWprivate_1.1 +end + +function prldap_get_session_option +include <lber.h>, <ldap.h> +declaration int prldap_get_session_option( LDAP *ld, void *sessionarg, \ + int option, ... ) +version SUNWprivate_1.1 +end |