mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Happy (belated) new year
This commit is contained in:
parent
98d7a6ed87
commit
30be0c2240
356 changed files with 7112 additions and 504 deletions
34
Makefile.in
Normal file
34
Makefile.in
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# $OpenLDAP$
|
||||
# Master Makefile for OpenLDAP
|
||||
##
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
## All rights reserved.
|
||||
##
|
||||
## Redistribution and use in source and binary forms are permitted only
|
||||
## as authorized by the OpenLDAP Public License. A copy of this
|
||||
## license is available at http://www.OpenLDAP.org/license.html or
|
||||
## in file LICENSE in the top-level directory of the distribution.
|
||||
##
|
||||
|
||||
SUBDIRS= include libraries clients servers tests doc
|
||||
CLEANDIRS=
|
||||
INSTALLDIRS=
|
||||
|
||||
makefiles: FORCE
|
||||
./config.status
|
||||
|
||||
# force a make all before make install
|
||||
# only done at the top-level
|
||||
install-common: all FORCE
|
||||
|
||||
clean-local: FORCE
|
||||
$(RM) config.log
|
||||
|
||||
veryclean-local: FORCE
|
||||
$(RM) config.cache config.status libtool stamp-h stamp-h.in
|
||||
|
||||
distclean: veryclean FORCE
|
||||
|
||||
check: test
|
||||
test: FORCE
|
||||
cd tests; make test
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
14
acinclude.m4
Normal file
14
acinclude.m4
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
dnl
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl Redistribution and use in source and binary forms, with or without
|
||||
dnl modification, are permitted only as authorized by the OpenLDAP
|
||||
dnl Public License. A copy of this license is available at
|
||||
dnl http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
dnl top-level directory of the distribution.
|
||||
dnl
|
||||
dnl OpenLDAP Autoconf Macros
|
||||
dnl
|
||||
divert(-1)
|
||||
builtin(include, build/openldap.m4)dnl
|
||||
2
aclocal.m4
vendored
2
aclocal.m4
vendored
|
|
@ -11,7 +11,7 @@ dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|||
dnl PARTICULAR PURPOSE.
|
||||
|
||||
dnl
|
||||
dnl Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
dnl Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
dnl All rights reserved.
|
||||
dnl
|
||||
dnl Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
10
build/build.mak
Normal file
10
build/build.mak
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# $OpenLDAP$
|
||||
#
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
# COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
||||
#
|
||||
|
||||
all: build.txt
|
||||
|
||||
build.txt: version
|
||||
copy version build.txt
|
||||
56
build/dir.mk
Normal file
56
build/dir.mk
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makes subdirectories
|
||||
##
|
||||
|
||||
|
||||
all-common: FORCE
|
||||
@echo "Making all in `$(PWD)`"
|
||||
@for i in $(SUBDIRS) $(ALLDIRS); do \
|
||||
echo " Entering subdirectory $$i"; \
|
||||
( cd $$i; $(MAKE) $(MFLAGS) all ); \
|
||||
if test $$? != 0 ; then exit 1; fi ; \
|
||||
echo " "; \
|
||||
done
|
||||
|
||||
install-common: FORCE
|
||||
@echo "Making install in `$(PWD)`"
|
||||
@for i in $(SUBDIRS) $(INSTALLDIRS); do \
|
||||
echo " Entering subdirectory $$i"; \
|
||||
( cd $$i; $(MAKE) $(MFLAGS) install ); \
|
||||
if test $$? != 0 ; then exit 1; fi ; \
|
||||
echo " "; \
|
||||
done
|
||||
|
||||
clean-common: FORCE
|
||||
@echo "Making clean in `$(PWD)`"
|
||||
@for i in $(SUBDIRS) $(CLEANDIRS); do \
|
||||
echo " Entering subdirectory $$i"; \
|
||||
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
|
||||
if test $$? != 0 ; then exit 1; fi ; \
|
||||
echo " "; \
|
||||
done
|
||||
|
||||
veryclean-common: FORCE
|
||||
@echo "Making veryclean in `$(PWD)`"
|
||||
@for i in $(SUBDIRS) $(CLEANDIRS); do \
|
||||
echo " Entering subdirectory $$i"; \
|
||||
( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
|
||||
if test $$? != 0 ; then exit 1; fi ; \
|
||||
echo " "; \
|
||||
done
|
||||
|
||||
depend-common: FORCE
|
||||
@echo "Making depend in `$(PWD)`"
|
||||
@for i in $(SUBDIRS) $(DEPENDDIRS); do \
|
||||
echo " Entering subdirectory $$i"; \
|
||||
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
|
||||
if test $$? != 0 ; then exit 1; fi ; \
|
||||
echo " "; \
|
||||
done
|
||||
|
||||
Makefile: $(top_srcdir)/build/dir.mk
|
||||
10
build/info.mk
Normal file
10
build/info.mk
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Non-Source Directories
|
||||
##
|
||||
|
||||
Makefile: $(top_srcdir)/build/info.mk
|
||||
21
build/lib-shared.mk
Normal file
21
build/lib-shared.mk
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Shared Libraries
|
||||
##
|
||||
|
||||
MKDEPFLAG = -l
|
||||
|
||||
.SUFFIXES: .c .o .lo
|
||||
|
||||
.c.lo:
|
||||
$(LTCOMPILE_LIB) $<
|
||||
|
||||
$(LIBRARY): version.lo
|
||||
$(LTLINK_LIB) -o $@ $(OBJS) version.lo $(LINK_LIBS)
|
||||
|
||||
Makefile: $(top_srcdir)/build/lib-shared.mk
|
||||
|
||||
14
build/lib-static.mk
Normal file
14
build/lib-static.mk
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Static Libraries
|
||||
##
|
||||
|
||||
$(LIBRARY): version.o
|
||||
$(AR) ru $@ $(OBJS) version.o
|
||||
@$(RANLIB) $@
|
||||
|
||||
Makefile: $(top_srcdir)/build/lib-static.mk
|
||||
43
build/lib.mk
Normal file
43
build/lib.mk
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Libraries
|
||||
##
|
||||
|
||||
all-common: $(LIBRARY) $(PROGRAMS)
|
||||
|
||||
version.c: $(OBJS)
|
||||
$(RM) $@
|
||||
$(MKVERSION) $(LIBRARY) > $@
|
||||
|
||||
install-common: FORCE
|
||||
|
||||
lint: lint-local FORCE
|
||||
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
lint5: lint5-local FORCE
|
||||
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
#
|
||||
# In the mingw/cygwin environment, the so and dll files must be
|
||||
# deleted separately, instead of using the {.so*,*.dll} construct
|
||||
# that was previously used. It just didn't work.
|
||||
#
|
||||
clean-common: FORCE
|
||||
$(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
|
||||
$(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
|
||||
*.o *.lo a.out *.exe core version.c .libs/* \
|
||||
../`$(BASENAME) $(LIBRARY) .la`.so* \
|
||||
../`$(BASENAME) $(LIBRARY) .la`*.dll
|
||||
|
||||
depend-common: FORCE
|
||||
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
|
||||
|
||||
lint-local: FORCE
|
||||
lint5-local: FORCE
|
||||
|
||||
Makefile: $(top_srcdir)/build/lib.mk
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2002 The OpenLDAP Foundation
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh -
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2002 The OpenLDAP Foundation
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
## Copyright 1998-2002 The OpenLDAP Foundation
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
#
|
||||
|
|
|
|||
81
build/mod.mk
Normal file
81
build/mod.mk
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Server Modules
|
||||
##
|
||||
|
||||
LIBRARY = $(LIBBASE).la
|
||||
LIBSTAT = lib$(LIBBASE).a
|
||||
|
||||
MKDEPFLAG = -l
|
||||
|
||||
.SUFFIXES: .c .o .lo
|
||||
|
||||
.c.lo:
|
||||
$(LTCOMPILE_MOD) $<
|
||||
|
||||
all-no lint-no 5lint-no depend-no install-no: FORCE
|
||||
@echo "run configure with $(BUILD_OPT) to make $(LIBBASE)"
|
||||
|
||||
all-common: all-$(BUILD_MOD)
|
||||
|
||||
version.c: $(OBJS)
|
||||
$(RM) $@
|
||||
$(MKVERSION) $(LIBBASE) > $@
|
||||
|
||||
$(LIBRARY): version.lo
|
||||
$(LTLINK_MOD) -module -o $@ $(OBJS) version.lo $(LINK_LIBS)
|
||||
|
||||
$(LIBSTAT): version.lo
|
||||
$(AR) ruv $@ `echo $(OBJS) | sed 's/\.lo/.o/g'` version.o
|
||||
@$(RANLIB) $@
|
||||
|
||||
clean-common: clean-lib FORCE
|
||||
veryclean-common: veryclean-lib FORCE
|
||||
|
||||
|
||||
lint-common: lint-$(BUILD_MOD)
|
||||
|
||||
5lint-common: 5lint-$(BUILD_MOD)
|
||||
|
||||
depend-common: depend-$(BUILD_MOD)
|
||||
|
||||
install-common: install-$(BUILD_MOD)
|
||||
|
||||
all-local-mod:
|
||||
all-mod: $(LIBRARY) all-local-mod FORCE
|
||||
|
||||
all-local-lib:
|
||||
all-yes: $(LIBSTAT) all-local-lib FORCE
|
||||
|
||||
install-mod: $(LIBRARY)
|
||||
@-$(MKDIR) $(DESTDIR)$(moduledir)
|
||||
$(LTINSTALL) $(INSTALLFLAGS) -m 755 $(LIBRARY) $(DESTDIR)$(moduledir)
|
||||
|
||||
install-local-lib:
|
||||
install-yes: install-local-lib FORCE
|
||||
|
||||
lint-local-lib:
|
||||
lint-yes lint-mod: lint-local-lib FORCE
|
||||
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
5lint-local-lib:
|
||||
5lint-yes 5lint-mod: 5lint-local-lib FORCE
|
||||
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
clean-local-lib:
|
||||
clean-lib: clean-local-lib FORCE
|
||||
$(RM) $(LIBRARY) $(LIBSTAT) version.c *.o *.lo a.out core .libs/*
|
||||
|
||||
depend-local-lib:
|
||||
depend-yes depend-mod: depend-local-lib FORCE
|
||||
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
veryclean-local-lib:
|
||||
veryclean-lib: clean-lib veryclean-local-lib
|
||||
|
||||
Makefile: $(top_srcdir)/build/mod.mk
|
||||
|
||||
26
build/rules.mk
Normal file
26
build/rules.mk
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Programs
|
||||
##
|
||||
|
||||
all-common: $(PROGRAMS) FORCE
|
||||
|
||||
clean-common: FORCE
|
||||
$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o *.lo a.out core *.core \
|
||||
.libs/* *.exe
|
||||
|
||||
depend-common: FORCE
|
||||
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
lint: FORCE
|
||||
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
lint5: FORCE
|
||||
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
Makefile: $(top_srcdir)/build/rules.mk
|
||||
|
||||
50
build/srv.mk
Normal file
50
build/srv.mk
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation
|
||||
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
|
||||
## of this package for details.
|
||||
##---------------------------------------------------------------------------
|
||||
##
|
||||
## Makefile Template for Servers
|
||||
##
|
||||
|
||||
all-common: all-$(BUILD_SRV)
|
||||
all-no lint-no 5lint-no depend-no install-no:
|
||||
@echo "run configure with $(BUILD_OPT) to make $(PROGRAMS)"
|
||||
|
||||
clean-common: clean-srv FORCE
|
||||
veryclean-common: veryclean-srv FORCE
|
||||
|
||||
lint-common: lint-$(BUILD_SRV)
|
||||
|
||||
5lint-common: 5lint-$(BUILD_SRV)
|
||||
|
||||
depend-common: depend-$(BUILD_SRV)
|
||||
|
||||
install-common: install-$(BUILD_SRV)
|
||||
|
||||
all-local-srv:
|
||||
all-yes: all-local-srv FORCE
|
||||
|
||||
install-local-srv:
|
||||
install-yes: install-local-srv FORCE
|
||||
|
||||
lint-local-srv:
|
||||
lint-yes: lint-local-srv FORCE
|
||||
$(LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
5lint-local-srv:
|
||||
5lint-yes: 5lint-local-srv FORCE
|
||||
$(5LINT) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
clean-local-srv:
|
||||
clean-srv: clean-local-srv FORCE
|
||||
$(RM) $(PROGRAMS) $(XPROGRAMS) $(XSRCS) *.o a.out core .libs/* *.exe
|
||||
|
||||
depend-local-srv:
|
||||
depend-yes: depend-local-srv FORCE
|
||||
$(MKDEP) $(DEFS) $(DEFINES) $(SRCS)
|
||||
|
||||
veryclean-local-srv:
|
||||
veryclean-srv: clean-srv veryclean-local-srv
|
||||
|
||||
Makefile: $(top_srcdir)/build/srv.mk
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## Clients Makefile.in for OpenLDAP
|
||||
|
|
|
|||
37
contrib/ldapc++/COPYRIGHT
Normal file
37
contrib/ldapc++/COPYRIGHT
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
Copyright 1998-2003 The OpenLDAP Foundation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted only as authorized by the OpenLDAP
|
||||
Public License. A copy of this license is available at
|
||||
http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
top-level directory of the distribution.
|
||||
|
||||
OpenLDAP is a registered trademark of the OpenLDAP Foundation.
|
||||
|
||||
Individual files and/or contributed packages may be copyright by
|
||||
other parties and subject to additional restrictions.
|
||||
|
||||
This work is derived from the University of Michigan LDAP v3.3
|
||||
distribution. Information concerning this software is available
|
||||
at: http://www.umich.edu/~dirsvcs/ldap/
|
||||
|
||||
This work also contains materials derived from public sources.
|
||||
|
||||
Additional Information about OpenLDAP can be obtained at:
|
||||
http://www.openldap.org/
|
||||
|
||||
or by sending e-mail to:
|
||||
info@OpenLDAP.org
|
||||
|
||||
---
|
||||
|
||||
Portions Copyright (c) 1992-1996 Regents of the University of Michigan.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms are permitted
|
||||
provided that this notice is preserved and that due credit is given
|
||||
to the University of Michigan at Ann Arbor. The name of the University
|
||||
may not be used to endorse or promote products derived from this
|
||||
software without specific prior written permission. This software
|
||||
is provided ``as is'' without express or implied warranty.
|
||||
28
contrib/ldapc++/src/ac/time.h
Normal file
28
contrib/ldapc++/src/ac/time.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* Generic time.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms are permitted only
|
||||
* as authorized by the OpenLDAP Public License. A copy of this
|
||||
* license is available at http://www.OpenLDAP.org/license.html or
|
||||
* in file LICENSE in the top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_TIME_H
|
||||
#define _AC_TIME_H
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#elif HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# ifdef HAVE_SYS_TIMEB_H
|
||||
# include <sys/timeb.h>
|
||||
# endif
|
||||
#else
|
||||
# include <time.h>
|
||||
#endif
|
||||
|
||||
#endif /* _AC_TIME_H */
|
||||
7
doc/Makefile.in
Normal file
7
doc/Makefile.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## doc Makefile.in for OpenLDAP
|
||||
|
||||
SUBDIRS= man
|
||||
7
doc/man/Makefile.in
Normal file
7
doc/man/Makefile.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## man Makefile.in for OpenLDAP
|
||||
|
||||
SUBDIRS= man1 man3 man5 man8
|
||||
7
doc/man/man1/Makefile.in
Normal file
7
doc/man/man1/Makefile.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## man1 Makefile.in for OpenLDAP
|
||||
|
||||
MANSECT=1
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPCOMPARE 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldapcompare \- LDAP compare tool
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPDELETE 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldapdelete \- LDAP delete entry tool
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPMODIFY 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldapmodify, ldapadd \- LDAP modify entry and LDAP add entry tools
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPMODRDN 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldapmodrdn \- LDAP rename entry tool
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPPASSWD 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldappasswd \- change the password of an LDAP entry
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPSEARCH 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldapsearch \- LDAP search tool
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAPWHOAMI 1 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldapwhoami \- LDAP who am i? tool
|
||||
|
|
|
|||
7
doc/man/man3/Makefile.in
Normal file
7
doc/man/man3/Makefile.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## man3 Makefile.in for OpenLDAP
|
||||
|
||||
MANSECT=3
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LBER_DECODE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ber_get_next, ber_skip_tag, ber_peek_tag, ber_scanf, ber_get_int,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LBER_ENCODE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ber_alloc_t, ber_flush, ber_printf, ber_put_int, ber_put_enum, ber_put_ostring, ber_put_string, ber_put_null, ber_put_boolean, ber_put_bitstring, ber_start_seq, ber_start_set, ber_put_seq, ber_put_set \- LBER simplified Basic Encoding Rules library routines for encoding
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LBER_MEMORY 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ber_memalloc, ber_memcalloc, ber_memrealloc, ber_memfree, ber_memvfree \- LBER memory allocators
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LBER_TYPES 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ber_int_t, ber_uint_t, ber_len_t, ber_slen_t, ber_tag_t \- LBER types
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap - OpenLDAP Lightweight Directory Access Protocol API
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_ABANDON 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_abandon, ldap_abandon_ext \- Abandon an LDAP operation in progress
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_ADD 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_add, ldap_add_s, ldap_add_ext, ldap_add_ext_s \- Perform an LDAP add operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_BIND 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_bind, ldap_bind_s, ldap_simple_bind, ldap_simple_bind_s, ldap_kerberos_bind_s, ldap_kerberos_bind1, ldap_kerberos_bind1_s, ldap_kerberos_bind2, ldap_kerberos_bind2_s, ldap_sasl_bind, ldap_sasl_bind_s, ldap_sasl_interactive_bind_s, ldap_parse_sasl_bind_result, ldap_unbind, ldap_unbind_s \- LDAP bind routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_CACHE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_enable_cache, ldap_disable_cache, ldap_destroy_cache, ldap_flush_cache, ldap_uncache_entry, ldap_uncache_request, ldap_set_cache_options \- LDAP client caching routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_COMPARE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_compare, ldap_compare_s \- Perform an LDAP compare operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_DELETE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_delete, ldap_delete_s \- Perform an LDAP delete operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_ERROR 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_perror, ld_errno, ldap_result2error, ldap_errlist, ldap_err2string \- LDAP protocol error handling routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_FIRST_ATTRIBUTE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_first_attribute, ldap_next_attribute \- step through LDAP entry attributes
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_FIRST_ENTRY 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_first_entry, ldap_next_entry, ldap_count_entries \- LDAP result entry parsing and counting routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_FIRST_MESSAGE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_first_message, ldap_next_message, ldap_count_messages \- Stepping
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_FIRST_REFERENCE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_first_reference, ldap_next_reference, ldap_count_references \- Stepping
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_GET_DN 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_get_dn, ldap_explode_dn, ldap_explode_rdn, ldap_dn2ufn \- LDAP DN handling routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_GET_VALUES 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_get_values, ldap_get_values_len, ldap_count_values \- LDAP attribute value handling routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_MODIFY 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_modify, ldap_modify_s \- Perform an LDAP modify operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_MODRDN 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_modrdn, ldap_modrdn_s, ldap_modrdn2, ldap_modrdn2_s \- Perform an LDAP modify RDN operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_OPEN 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_init, ldap_open \- Initialize the LDAP library and open a connection to an LDAP server
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_PARSE_REFERENCE 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_parse_reference \- Extract referrals and controls from a reference message
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_PARSE_RESULT 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_parse_result \- Parsing results
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_RESULT 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_result \- Wait for the result of an LDAP operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_SCHEMA 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 2000-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 2000-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_str2syntax, ldap_syntax2str, ldap_syntax2name, ldap_syntax_free,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_SEARCH 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_search, ldap_search_s, ldap_search_st \- Perform an LDAP search operation
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_SORT 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_sort_entries, ldap_sort_values, ldap_sort_strcasecmp \- LDAP sorting routines
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP_URL 3 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldap_is_ldap_url,
|
||||
|
|
|
|||
7
doc/man/man5/Makefile.in
Normal file
7
doc/man/man5/Makefile.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## man5 Makefile.in for OpenLDAP
|
||||
|
||||
MANSECT=5
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDAP.CONF 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.UC 6
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH LDIF 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
ldif \- LDAP Data Interchange Format
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-BDB 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-DNSSRV 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-LDAP 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-LDBM 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-META 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
.\" Copying restrictions apply. See the COPYRIGHT file.
|
||||
.\" Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
|
||||
.\" $OpenLDAP$
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-PASSWD 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD-SHELL 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD.ACCESS 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slapd.access \- access configuration for slapd, the stand-alone LDAP daemon
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.TH SLAPD.CONF 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.\" $OpenLDAP$
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH SLAPD.REPLOG 5 "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slapd.replog \- slapd replication log format
|
||||
|
|
|
|||
7
doc/man/man8/Makefile.in
Normal file
7
doc/man/man8/Makefile.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# $OpenLDAP$
|
||||
## Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
|
||||
## COPYING RESTRICTIONS APPLY, See COPYRIGHT file
|
||||
##
|
||||
## man8 Makefile.in for OpenLDAP
|
||||
|
||||
MANSECT=8
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
.TH SLAPADD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slapadd \- Add entries to a SLAPD database
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH SLAPCAT 8C "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slapcat \- SLAPD database to LDIF utility
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.TH SLAPD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.SH NAME
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH SLAPINDEX 8C "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slapindex \- SLAPD index to LDIF utility
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH SLAPPASSWD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slappasswd \- OpenLDAP password utility
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
.TH SLURPD 8C "RELEASEDATE" "OpenLDAP LDVERSION"
|
||||
.\" $OpenLDAP$
|
||||
.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copyright 1998-2003 The OpenLDAP Foundation All Rights Reserved.
|
||||
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
|
||||
.SH NAME
|
||||
slurpd \- Standalone LDAP Update Replication Daemon
|
||||
|
|
|
|||
40
include/ac/alloca.h
Normal file
40
include/ac/alloca.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Generic alloca.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_ALLOCA_H
|
||||
#define _AC_ALLOCA_H
|
||||
|
||||
/*
|
||||
* use of alloca is disallowed as it is machine dependent
|
||||
*/
|
||||
#error "alloca() not supported, use malloc()"
|
||||
|
||||
/* AIX requires this to be the first thing in the file. */
|
||||
#ifdef __GNUC__
|
||||
# define alloca __builtin_alloca
|
||||
#else
|
||||
# if HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
# else
|
||||
# ifdef _AIX
|
||||
#pragma alloca
|
||||
# else
|
||||
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
||||
extern char *(alloca)();
|
||||
# endif
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* _AC_ALLOCA_H */
|
||||
26
include/ac/crypt.h
Normal file
26
include/ac/crypt.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* Generic crypt.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_CRYPT_H
|
||||
#define _AC_CRYPT_H
|
||||
|
||||
#include <ac/unistd.h>
|
||||
|
||||
/* crypt() may be defined in a separate include file */
|
||||
#if HAVE_CRYPT_H
|
||||
# include <crypt.h>
|
||||
#else
|
||||
extern char *(crypt)();
|
||||
#endif
|
||||
|
||||
#endif /* _AC_CRYPT_H */
|
||||
30
include/ac/ctype.h
Normal file
30
include/ac/ctype.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* Generic ctype.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_CTYPE_H
|
||||
#define _AC_CTYPE_H
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
#undef TOUPPER
|
||||
#undef TOLOWER
|
||||
|
||||
#ifdef C_UPPER_LOWER
|
||||
# define TOUPPER(c) (islower(c) ? toupper(c) : (c))
|
||||
# define TOLOWER(c) (isupper(c) ? tolower(c) : (c))
|
||||
#else
|
||||
# define TOUPPER(c) toupper(c)
|
||||
# define TOLOWER(c) tolower(c)
|
||||
#endif
|
||||
|
||||
#endif /* _AC_CTYPE_H */
|
||||
34
include/ac/dirent.h
Normal file
34
include/ac/dirent.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* Generic dirent.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_DIRENT_H
|
||||
#define _AC_DIRENT_H
|
||||
|
||||
#if HAVE_DIRENT_H
|
||||
# include <dirent.h>
|
||||
# define NAMLEN(dirent) strlen((dirent)->d_name)
|
||||
#else
|
||||
# define dirent direct
|
||||
# define NAMLEN(dirent) (dirent)->d_namlen
|
||||
# if HAVE_SYS_NDIR_H
|
||||
# include <sys/ndir.h>
|
||||
# endif
|
||||
# if HAVE_SYS_DIR_H
|
||||
# include <sys/dir.h>
|
||||
# endif
|
||||
# if HAVE_NDIR_H
|
||||
# include <ndir.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* _AC_DIRENT_H */
|
||||
52
include/ac/errno.h
Normal file
52
include/ac/errno.h
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
/* Generic errno.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_ERRNO_H
|
||||
#define _AC_ERRNO_H
|
||||
|
||||
#if defined( HAVE_ERRNO_H )
|
||||
# include <errno.h>
|
||||
#elif defined( HAVE_SYS_ERRNO_H )
|
||||
# include <sys/errno.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SYS_ERRLIST
|
||||
/* no sys_errlist */
|
||||
# define sys_nerr 0
|
||||
# define sys_errlist ((char **)0)
|
||||
#elif DECL_SYS_ERRLIST
|
||||
/* have sys_errlist but need declaration */
|
||||
LDAP_LIBC_V(int) sys_nerr;
|
||||
LDAP_LIBC_V(char) *sys_errlist[];
|
||||
#endif
|
||||
|
||||
#undef _AC_ERRNO_UNKNOWN
|
||||
#define _AC_ERRNO_UNKNOWN "unknown error"
|
||||
|
||||
#ifdef HAVE_SYS_ERRLIST
|
||||
/* this is thread safe */
|
||||
# define STRERROR(e) ( (e) > -1 && (e) < sys_nerr \
|
||||
? sys_errlist[(e)] : _AC_ERRNO_UNKNOWN )
|
||||
|
||||
#elif defined( HAVE_STRERROR )
|
||||
/* this may not be thread safe */
|
||||
/* and, yes, some implementations of strerror may return NULL */
|
||||
# define STRERROR(e) ( strerror(e) \
|
||||
? strerror(e) : _AC_ERRNO_UNKNOWN )
|
||||
|
||||
#else
|
||||
/* this is thread safe */
|
||||
# define STRERROR(e) ( _AC_ERRNO_UNKNOWN )
|
||||
#endif
|
||||
|
||||
#endif /* _AC_ERRNO_H */
|
||||
34
include/ac/krb.h
Normal file
34
include/ac/krb.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* Generic krb.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
/* Kerberos IV */
|
||||
|
||||
#ifndef _AC_KRB_H
|
||||
#define _AC_KRB_H
|
||||
|
||||
#if defined( HAVE_KRB4 )
|
||||
|
||||
#if defined( HAVE_KERBEROSIV_KRB_H )
|
||||
#include <kerberosIV/krb.h>
|
||||
#elif defined( HAVE_KRB_H )
|
||||
#include <krb.h>
|
||||
#endif
|
||||
|
||||
#if defined( HAVE_KERBEROSIV_DES_H )
|
||||
#include <kerberosIV/des.h>
|
||||
#elif defined( HAVE_DES_H )
|
||||
#include <des.h>
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_KRB4 */
|
||||
#endif /* _AC_KRB_H */
|
||||
23
include/ac/krb5.h
Normal file
23
include/ac/krb5.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* Generic krb.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
/* Kerberos V */
|
||||
|
||||
#ifndef _AC_KRB5_H
|
||||
#define _AC_KRB5_H
|
||||
|
||||
#if defined( HAVE_KRB5 )
|
||||
#include <krb5.h>
|
||||
#endif /* HAVE_KRB5 */
|
||||
|
||||
#endif /* _AC_KRB5_H */
|
||||
33
include/ac/param.h
Normal file
33
include/ac/param.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* Generic param.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_PARAM_H
|
||||
#define _AC_PARAM_H
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
#ifndef MAXPATHLEN
|
||||
# if defined(PATH_MAX)
|
||||
# define MAXPATHLEN PATH_MAX
|
||||
|
||||
# elif defined(_MAX_PATH)
|
||||
# define MAXPATHLEN _MAX_PATH
|
||||
|
||||
# else
|
||||
# define MAXPATHLEN 4096
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif /* _AC_PARAM_H */
|
||||
38
include/ac/regex.h
Normal file
38
include/ac/regex.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* Generic Regex */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_REGEX_H_
|
||||
#define _AC_REGEX_H_
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_REGEX_H
|
||||
/* NO POSIX REGEX!!
|
||||
you'll need to install a POSIX compatible REGEX library.
|
||||
Either Henry Spencer's or GNU regex will do.
|
||||
|
||||
For NT: http://people.delphi.com/gjc/hs_regex.html
|
||||
*/
|
||||
#error "No POSIX REGEX available."
|
||||
|
||||
#elif HAVE_GNUREGEX_H
|
||||
/* system has GNU gnuregex.h */
|
||||
# include <gnuregex.h>
|
||||
#else
|
||||
/* have regex.h, assume it's POSIX compliant */
|
||||
# include <regex.h>
|
||||
#endif /* regex.h */
|
||||
|
||||
#endif /* _AC_REGEX_H_ */
|
||||
30
include/ac/setproctitle.h
Normal file
30
include/ac/setproctitle.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* Generic setproctitle.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_SETPROCTITLE_H
|
||||
#define _AC_SETPROCTITLE_H
|
||||
|
||||
#ifdef LDAP_PROCTITLE
|
||||
|
||||
#if defined( HAVE_LIBUTIL_H )
|
||||
# include <libutil.h>
|
||||
#else
|
||||
/* use lutil version */
|
||||
LDAP_LUTIL_F (void) (setproctitle) LDAP_P((const char *fmt, ...)) \
|
||||
LDAP_GCCATTR((format(printf, 1, 2)));
|
||||
LDAP_LUTIL_V (int) Argc;
|
||||
LDAP_LUTIL_V (char) **Argv;
|
||||
#endif
|
||||
|
||||
#endif /* LDAP_PROCTITLE */
|
||||
#endif /* _AC_SETPROCTITLE_H */
|
||||
77
include/ac/signal.h
Normal file
77
include/ac/signal.h
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
/* Generic signal.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_SIGNAL_H
|
||||
#define _AC_SIGNAL_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#undef SIGNAL
|
||||
|
||||
#if defined( HAVE_SIGACTION )
|
||||
#define SIGNAL lutil_sigaction
|
||||
typedef void (*lutil_sig_t)(int);
|
||||
LDAP_LUTIL_F(lutil_sig_t) lutil_sigaction( int sig, lutil_sig_t func );
|
||||
#define SIGNAL_REINSTALL(sig,act) (void)0
|
||||
#elif defined( HAVE_SIGSET )
|
||||
#define SIGNAL sigset
|
||||
#define SIGNAL_REINSTALL sigset
|
||||
#else
|
||||
#define SIGNAL signal
|
||||
#define SIGNAL_REINSTALL signal
|
||||
#endif
|
||||
|
||||
#if !defined( LDAP_SIGUSR1 ) || !defined( LDAP_SIGUSR2 )
|
||||
#undef LDAP_SIGUSR1
|
||||
#undef LDAP_SIGUSR2
|
||||
|
||||
# if defined(WINNT) || defined(_WINNT) || defined(_WIN32)
|
||||
# define LDAP_SIGUSR1 SIGILL
|
||||
# define LDAP_SIGUSR2 SIGTERM
|
||||
|
||||
# elif !defined(HAVE_LINUX_THREADS)
|
||||
# define LDAP_SIGUSR1 SIGUSR1
|
||||
# define LDAP_SIGUSR2 SIGUSR2
|
||||
|
||||
# else
|
||||
/*
|
||||
* Some versions of LinuxThreads unfortunately uses the only
|
||||
* two signals reserved for user applications. This forces
|
||||
* OpenLDAP to use other signals reserved for other uses.
|
||||
*/
|
||||
|
||||
# if defined( SIGSTKFLT )
|
||||
# define LDAP_SIGUSR1 SIGSTKFLT
|
||||
# elif defined ( SIGSYS )
|
||||
# define LDAP_SIGUSR1 SIGSYS
|
||||
# endif
|
||||
|
||||
# if defined( SIGUNUSED )
|
||||
# define LDAP_SIGUSR2 SIGUNUSED
|
||||
# elif defined ( SIGINFO )
|
||||
# define LDAP_SIGUSR2 SIGINFO
|
||||
# elif defined ( SIGEMT )
|
||||
# define LDAP_SIGUSR2 SIGEMT
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef LDAP_SIGCHLD
|
||||
#ifdef SIGCHLD
|
||||
#define LDAP_SIGCHLD SIGCHLD
|
||||
#elif SIGCLD
|
||||
#define LDAP_SIGCHLD SIGCLD
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _AC_SIGNAL_H */
|
||||
25
include/ac/stdarg.h
Normal file
25
include/ac/stdarg.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/* Generic stdarg.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_STDARG_H
|
||||
#define _AC_STDARG_H 1
|
||||
|
||||
/* require STDC variable argument support */
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifndef HAVE_STDARG
|
||||
# define HAVE_STDARG 1
|
||||
#endif
|
||||
|
||||
#endif /* _AC_STDARG_H */
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
/* Generic stdlib.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
/* Generic string.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2002 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
|||
23
include/ac/sysexits.h
Normal file
23
include/ac/sysexits.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/* Generic sysexits */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_SYSEXITS_H_
|
||||
#define _AC_SYSEXITS_H_
|
||||
|
||||
#ifdef HAVE_SYSEXITS_H
|
||||
# include <sysexits.h>
|
||||
#else
|
||||
# include <sysexits-compat.h>
|
||||
#endif
|
||||
|
||||
#endif /* _AC_SYSEXITS_H_ */
|
||||
35
include/ac/syslog.h
Normal file
35
include/ac/syslog.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* Generic syslog.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_SYSLOG_H_
|
||||
#define _AC_SYSLOG_H_
|
||||
|
||||
#if defined( HAVE_SYSLOG_H )
|
||||
#include <syslog.h>
|
||||
#elif defined ( HAVE_SYS_SYSLOG_H )
|
||||
#include <sys/syslog.h>
|
||||
#endif
|
||||
|
||||
#if defined( LOG_NDELAY ) && defined( LOG_NOWAIT )
|
||||
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY | LOG_NOWAIT )
|
||||
#elif defined( LOG_NDELAY )
|
||||
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY )
|
||||
#elif defined( LOG_NOWAIT )
|
||||
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT )
|
||||
#elif defined( LOG_PID )
|
||||
# define OPENLOG_OPTIONS ( LOG_PID )
|
||||
#else
|
||||
# define OPENLOG_OPTIONS ( 0 )
|
||||
#endif
|
||||
|
||||
#endif /* _AC_SYSLOG_H_ */
|
||||
47
include/ac/termios.h
Normal file
47
include/ac/termios.h
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
/* Generic termios.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_TERMIOS_H
|
||||
#define _AC_TERMIOS_H
|
||||
|
||||
#ifdef HAVE_POSIX_TERMIOS
|
||||
#include <termios.h>
|
||||
|
||||
#ifdef GCWINSZ_IN_SYS_IOCTL
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#define TERMIO_TYPE struct termios
|
||||
#define TERMFLAG_TYPE tcflag_t
|
||||
#define GETATTR( fd, tiop ) tcgetattr((fd), (tiop))
|
||||
#define SETATTR( fd, tiop ) tcsetattr((fd), TCSANOW /* 0 */, (tiop))
|
||||
#define GETFLAGS( tio ) ((tio).c_lflag)
|
||||
#define SETFLAGS( tio, flags ) ((tio).c_lflag = (flags))
|
||||
|
||||
#elif defined( HAVE_SGTTY_H )
|
||||
#include <sgtty.h>
|
||||
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#define TERMIO_TYPE struct sgttyb
|
||||
#define TERMFLAG_TYPE int
|
||||
#define GETATTR( fd, tiop ) ioctl((fd), TIOCGETP, (caddr_t)(tiop))
|
||||
#define SETATTR( fd, tiop ) ioctl((fd), TIOCSETP, (caddr_t)(tiop))
|
||||
#define GETFLAGS( tio ) ((tio).sg_flags)
|
||||
#define SETFLAGS( tio, flags ) ((tio).sg_flags = (flags))
|
||||
|
||||
#endif /* HAVE_SGTTY_H */
|
||||
|
||||
#endif /* _AC_TERMIOS_H */
|
||||
29
include/ac/time.h
Normal file
29
include/ac/time.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* Generic time.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_TIME_H
|
||||
#define _AC_TIME_H
|
||||
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <sys/time.h>
|
||||
# include <time.h>
|
||||
#elif HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
# ifdef HAVE_SYS_TIMEB_H
|
||||
# include <sys/timeb.h>
|
||||
# endif
|
||||
#else
|
||||
# include <time.h>
|
||||
#endif
|
||||
|
||||
#endif /* _AC_TIME_H */
|
||||
74
include/ac/unistd.h
Normal file
74
include/ac/unistd.h
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
/* Generic unistd.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_UNISTD_H
|
||||
#define _AC_UNISTD_H
|
||||
|
||||
#if HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_PROCESS_H
|
||||
# include <process.h>
|
||||
#endif
|
||||
|
||||
/* note: callers of crypt(3) should include <ac/crypt.h> */
|
||||
|
||||
#if defined(HAVE_GETPASSPHRASE)
|
||||
LDAP_LIBC_F(char*)(getpassphrase)();
|
||||
|
||||
#elif defined(HAVE_GETPASS)
|
||||
#define getpassphrase(p) getpass(p)
|
||||
LDAP_LIBC_F(char*)(getpass)();
|
||||
|
||||
#else
|
||||
#define NEED_GETPASSPHRASE 1
|
||||
#define getpassphrase(p) lutil_getpass(p)
|
||||
LDAP_LUTIL_F(char*)(lutil_getpass) LDAP_P((const char *getpass));
|
||||
#endif
|
||||
|
||||
/* getopt() defines may be in separate include file */
|
||||
#if HAVE_GETOPT_H
|
||||
# include <getopt.h>
|
||||
|
||||
#elif !defined(HAVE_GETOPT)
|
||||
/* no getopt, assume we need getopt-compat.h */
|
||||
# include <getopt-compat.h>
|
||||
|
||||
#else
|
||||
/* assume we need to declare these externs */
|
||||
LDAP_LIBC_V (char *) optarg;
|
||||
LDAP_LIBC_V (int) optind, opterr, optopt;
|
||||
#endif
|
||||
|
||||
/* use lutil file locking */
|
||||
#define ldap_lockf(x) lutil_lockf(x)
|
||||
#define ldap_unlockf(x) lutil_unlockf(x)
|
||||
#include <lutil_lockf.h>
|
||||
|
||||
/*
|
||||
* Windows: although sleep() will be resolved by both MSVC and Mingw GCC
|
||||
* linkers, the function is not declared in header files. This is
|
||||
* because Windows' version of the function is called _sleep(), and it
|
||||
* is declared in stdlib.h
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#define sleep _sleep
|
||||
#endif
|
||||
|
||||
#endif /* _AC_UNISTD_H */
|
||||
53
include/ac/wait.h
Normal file
53
include/ac/wait.h
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
/* Generic wait.h */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
|
||||
#ifndef _AC_WAIT_H
|
||||
#define _AC_WAIT_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#if HAVE_SYS_WAIT_H
|
||||
# include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#define LDAP_HI(s) (((s) >> 8) & 0377)
|
||||
#define LDAP_LO(s) ((s) & 0377)
|
||||
|
||||
/* These should work on non-POSIX UNIX platforms,
|
||||
all bets on off on non-POSIX non-UNIX platforms... */
|
||||
#ifndef WIFEXITED
|
||||
# define WIFEXITED(s) (LDAP_LO(s) == 0)
|
||||
#endif
|
||||
#ifndef WEXITSTATUS
|
||||
# define WEXITSTATUS(s) LDAP_HI(s)
|
||||
#endif
|
||||
#ifndef WIFSIGNALED
|
||||
# define WIFSIGNALED(s) (LDAP_LO(s) > 0 && LDAP_HI(s) == 0)
|
||||
#endif
|
||||
#ifndef WTERMSIG
|
||||
# define WTERMSIG(s) (LDAP_LO(s) & 0177)
|
||||
#endif
|
||||
#ifndef WIFSTOPPED
|
||||
# define WIFSTOPPED(s) (LDAP_LO(s) == 0177 && LDAP_HI(s) != 0)
|
||||
#endif
|
||||
#ifndef WSTOPSIG
|
||||
# define WSTOPSIG(s) LDAP_HI(s)
|
||||
#endif
|
||||
|
||||
#ifdef WCONTINUED
|
||||
# define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED )
|
||||
#else
|
||||
# define WAIT_FLAGS ( WNOHANG | WUNTRACED )
|
||||
#endif
|
||||
|
||||
#endif /* _AC_WAIT_H */
|
||||
|
|
@ -1,5 +1,15 @@
|
|||
/* avl.h - avl tree definitions */
|
||||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
/* Portions
|
||||
* Copyright (c) 1993 Regents of the University of Michigan.
|
||||
* All rights reserved.
|
||||
*
|
||||
|
|
@ -10,47 +20,90 @@
|
|||
* software without specific prior written permission. This software
|
||||
* is provided ``as is'' without express or implied warranty.
|
||||
*/
|
||||
/* avl.h - avl tree definitions */
|
||||
|
||||
|
||||
#ifndef _AVL
|
||||
#define _AVL
|
||||
|
||||
#include <ldap_cdefs.h>
|
||||
|
||||
/*
|
||||
* this structure represents a generic avl tree node.
|
||||
*/
|
||||
|
||||
typedef struct avlnode {
|
||||
caddr_t avl_data;
|
||||
char avl_bf;
|
||||
LDAP_BEGIN_DECL
|
||||
|
||||
typedef struct avlnode Avlnode;
|
||||
|
||||
#ifdef AVL_INTERNAL
|
||||
struct avlnode {
|
||||
void* avl_data;
|
||||
signed int avl_bf;
|
||||
struct avlnode *avl_left;
|
||||
struct avlnode *avl_right;
|
||||
} Avlnode;
|
||||
};
|
||||
|
||||
#define NULLAVL ((Avlnode *) NULL)
|
||||
|
||||
/* balance factor values */
|
||||
#define LH -1
|
||||
#define LH (-1)
|
||||
#define EH 0
|
||||
#define RH 1
|
||||
|
||||
/* avl routines */
|
||||
#define avl_getone(x) (x == 0 ? 0 : (x)->avl_data)
|
||||
#define avl_onenode(x) (x == 0 || ((x)->avl_left == 0 && (x)->avl_right == 0))
|
||||
extern int avl_insert();
|
||||
extern caddr_t avl_delete();
|
||||
extern caddr_t avl_find();
|
||||
extern caddr_t avl_getfirst();
|
||||
extern caddr_t avl_getnext();
|
||||
extern int avl_dup_error();
|
||||
extern int avl_apply();
|
||||
#define avl_getone(x) ((x) == 0 ? 0 : (x)->avl_data)
|
||||
#define avl_onenode(x) ((x) == 0 || ((x)->avl_left == 0 && (x)->avl_right == 0))
|
||||
|
||||
#endif /* AVL_INTERNALS */
|
||||
|
||||
typedef int (*AVL_APPLY) LDAP_P((void *, void*));
|
||||
typedef int (*AVL_CMP) LDAP_P((const void*, const void*));
|
||||
typedef int (*AVL_DUP) LDAP_P((void*, void*));
|
||||
typedef void (*AVL_FREE) LDAP_P((void*));
|
||||
|
||||
LDAP_AVL_F( int )
|
||||
avl_free LDAP_P(( Avlnode *root, AVL_FREE dfree ));
|
||||
|
||||
LDAP_AVL_F( int )
|
||||
avl_insert LDAP_P((Avlnode **, void*, AVL_CMP, AVL_DUP));
|
||||
|
||||
LDAP_AVL_F( void* )
|
||||
avl_delete LDAP_P((Avlnode **, void*, AVL_CMP));
|
||||
|
||||
LDAP_AVL_F( void* )
|
||||
avl_find LDAP_P((Avlnode *, const void*, AVL_CMP));
|
||||
|
||||
LDAP_AVL_F( void* )
|
||||
avl_find_lin LDAP_P((Avlnode *, const void*, AVL_CMP));
|
||||
|
||||
#ifdef AVL_NONREENTRANT
|
||||
LDAP_AVL_F( void* )
|
||||
avl_getfirst LDAP_P((Avlnode *));
|
||||
|
||||
LDAP_AVL_F( void* )
|
||||
avl_getnext LDAP_P((void));
|
||||
#endif
|
||||
|
||||
LDAP_AVL_F( int )
|
||||
avl_dup_error LDAP_P((void*, void*));
|
||||
|
||||
LDAP_AVL_F( int )
|
||||
avl_dup_ok LDAP_P((void*, void*));
|
||||
|
||||
LDAP_AVL_F( int )
|
||||
avl_apply LDAP_P((Avlnode *, AVL_APPLY, void*, int, int));
|
||||
|
||||
LDAP_AVL_F( int )
|
||||
avl_prefixapply LDAP_P((Avlnode *, void*, AVL_CMP, void*, AVL_CMP, void*, int));
|
||||
|
||||
/* apply traversal types */
|
||||
#define AVL_PREORDER 1
|
||||
#define AVL_INORDER 2
|
||||
#define AVL_POSTORDER 3
|
||||
/* what apply returns if it ran out of nodes */
|
||||
#define AVL_NOMORE -6
|
||||
#define AVL_NOMORE (-6)
|
||||
|
||||
typedef int (*IFP)();
|
||||
LDAP_END_DECL
|
||||
|
||||
#endif /* _AVL */
|
||||
|
|
|
|||
35
include/getopt-compat.h
Normal file
35
include/getopt-compat.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/* $OpenLDAP$ */
|
||||
/*
|
||||
* Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted only as authorized by the OpenLDAP
|
||||
* Public License. A copy of this license is available at
|
||||
* http://www.OpenLDAP.org/license.html or in file LICENSE in the
|
||||
* top-level directory of the distribution.
|
||||
*/
|
||||
/*
|
||||
* getopt(3) declarations
|
||||
*/
|
||||
#ifndef _GETOPT_COMPAT_H
|
||||
#define _GETOPT_COMPAT_H
|
||||
|
||||
#include <ldap_cdefs.h>
|
||||
|
||||
LDAP_BEGIN_DECL
|
||||
|
||||
/* change symbols to avoid clashing */
|
||||
#define optarg lutil_optarg
|
||||
#define optind lutil_optind
|
||||
#define opterr lutil_opterr
|
||||
#define optopt lutil_optopt
|
||||
#define getopt lutil_getopt
|
||||
|
||||
LDAP_LUTIL_V (char *) optarg;
|
||||
LDAP_LUTIL_V (int) optind, opterr, optopt;
|
||||
LDAP_LUTIL_F (int) getopt LDAP_P(( int, char * const [], const char *));
|
||||
|
||||
LDAP_END_DECL
|
||||
|
||||
#endif /* _GETOPT_COMPAT_H */
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue