]> git.sur5r.net Git - openldap/commit
Vienna Bulk Commit
authorKurt Zeilenga <kurt@openldap.org>
Wed, 19 May 1999 01:12:33 +0000 (01:12 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 19 May 1999 01:12:33 +0000 (01:12 +0000)
commitdc07e765f263ef459dcd2afd1ece01cfc85a0edd
tree6d24cf25d4501bebcf8a02d2ccd34d6de0d27f55
parent29a7d6229a0c25707d78d3dac2334b2178df4217
Vienna Bulk Commit
This commit includes many changes.  All changes compile under NT but
have not been tested under UNIX.

A Summary of changes (likely incomplete):

NT changes:
Removed lint.
Clean up configuration support for "Debug", "Release", "SDebug",
and "SRelease" configurations.
Share output directories for clients, libraries,
and slapd.  (maybe they should be combined further
and moved to build/{,S}{Debug,Release}).
Enable threading when _MT is defined.
Enable debuging when _DEBUG is defined.
Disable setting of NDEBUG under Release/SRelease.  Asserts
are disabled in <ac/assert.h> when LDAP_DEBUG is not
defined.
Added 'build/main.dsp' Master project.
Removed non-slapd projects from slapd.dsp (see main.dsp).
Removed replaced many uses of _WIN32 macro with feature based
macros.

ldap_cdefs.h changes
#define LDAP_CONST const
(see below)
#define LDAP_F(type) LDAP_F_PRE type LDAP_F_POST
To allow specifiers to be added before and after
the type declaration.  (For DLL handling)

LBER/LDAP changes
Namespace changes:
s/lber_/ber_/ for here and there.
s/NAME_ERROR/LDAP_NAME_ERROR/g
Deleted NULLMSG and other NULL* macros for namespace reasons.
"const" libraries.  Installed headers (ie: lber.h, ldap.h)
use LDAP_CONST macro.  Normally set to 'const' when
__STDC__.  Can be set externally to enable/disable
'constification' of external interface.  Internal
interface always uses 'const'.  Did not fix warnings
in -lldif (in lieu of new LDIF parser).

Added _ext API implementations (excepting search and bind).
Need to implement ldap_int_get_controls() for reponses
with controls.

Added numberous assert() checks.

LDAP_R
_MT defines HAVE_NT_THREADS
Added numberous assert() checks.
Changed ldap_pthread_t back to unsigned long.  Used cast
to HANDLE in _join().

LDBM
Replaced _WIN32 with HAVE_SYSLOG

ud
Added version string if MKVERSION is not defined.  (MKVERSION
needs to be set under UNIX).

slapd
Made connection sockbuf field a pointer to a sockbuf.  This
removed slap.h dependency on lber-int.h.  lber-int.h now only
included by those files needing to mess with the sockbuf.
Used ber_* functions/macros to access sockbuf internals whenever
possible.
Added version string if MKVERSION is not defined.  (MKVERSION
needs to be set under UNIX).
Removed FD_SET unsigned lint

slapd/tools
Used EXEEXT to added ".exe" to routines.  Need to define EXEEXT
under UNIX.

ldappasswd
Added ldappasswd.dsp.  Ported to NT.  Used getpid() to seed rand().

nt_debug
Minor cleanup.  Added "portable.h" include and used <ac/*.h> where
appropriate.  Added const to char* format argument.
123 files changed:
clients/gopher/go500.c
clients/gopher/go500gw.c
clients/tools/ldapdelete.c
clients/tools/ldapdelete.dsp
clients/tools/ldapmodify.c
clients/tools/ldapmodify.dsp
clients/tools/ldapmodify.dsw
clients/tools/ldapmodrdn.c
clients/tools/ldapmodrdn.dsp
clients/tools/ldappasswd.c
clients/tools/ldapsearch.c
clients/tools/ldapsearch.dsp
clients/ud/main.c
clients/ud/ud.dsp
clients/ud/ud.dsw
clients/ud/ud.h
contrib/saucer/main.c
include/ac/assert.h
include/ac/socket.h
include/ac/time.h
include/avl.h
include/disptmpl.h
include/getopt-compat.h
include/lber.h
include/lber_pvt.h
include/ldap.h
include/ldap_cdefs.h
include/ldap_features.h.nt
include/ldap_log.h
include/ldap_pvt.h
include/ldap_pvt_thread.h
include/ldif.h
include/lutil.h
include/lutil_lockf.h
include/lutil_md5.h
include/lutil_sha1.h
include/portable.h.nt
include/srchpref.h
libraries/libavl/libavl.dsp
libraries/libavl/testavl.dsp
libraries/liblber/assert.c
libraries/liblber/bprint.c
libraries/liblber/decode.c
libraries/liblber/dtest.c
libraries/liblber/dtest.dsp
libraries/liblber/encode.c
libraries/liblber/etest.c
libraries/liblber/etest.dsp
libraries/liblber/idtest.c
libraries/liblber/idtest.dsp
libraries/liblber/io.c
libraries/liblber/lber-int.h
libraries/liblber/liblber.dsp
libraries/liblber/options.c
libraries/liblber/sockbuf.c
libraries/libldap/abandon.c
libraries/libldap/add.c
libraries/libldap/apitest.c
libraries/libldap/apitest.dsp
libraries/libldap/apitest.dsw
libraries/libldap/bind.c
libraries/libldap/cache.c
libraries/libldap/cldap.c
libraries/libldap/compare.c
libraries/libldap/controls.c
libraries/libldap/delete.c
libraries/libldap/error.c
libraries/libldap/friendly.c
libraries/libldap/getdn.c
libraries/libldap/getentry.c
libraries/libldap/getfilter.c
libraries/libldap/getvalues.c
libraries/libldap/ldap-int.h
libraries/libldap/libldap.dsp
libraries/libldap/ltest.dsp
libraries/libldap/modify.c
libraries/libldap/modrdn.c
libraries/libldap/open.c
libraries/libldap/options.c
libraries/libldap/os-ip.c
libraries/libldap/print.c
libraries/libldap/references.c
libraries/libldap/request.c
libraries/libldap/result.c
libraries/libldap/sbind.c
libraries/libldap/search.c
libraries/libldap/sort.c
libraries/libldap/ufn.c
libraries/libldap/unbind.c
libraries/libldap/url.c
libraries/libldap_r/libldap_r.dsp
libraries/libldap_r/rdwr.c
libraries/libldap_r/thr_nt.c
libraries/libldbm/ldbm.c
libraries/libldbm/libldbm.dsp
libraries/libldif/libldif.dsp
libraries/libldif/line64.c
libraries/liblutil/liblutil.dsp
servers/ldapd/main.c
servers/ldapd/request.c
servers/ldapd/result.c
servers/ldapd/search.c
servers/slapd/back-ldbm/backldbm.dsp
servers/slapd/bind.c
servers/slapd/connection.c
servers/slapd/daemon.c
servers/slapd/libslapd.dsp
servers/slapd/main.c
servers/slapd/nt_debug.c
servers/slapd/result.c
servers/slapd/slap.h
servers/slapd/slapd.dsp
servers/slapd/slapd.dsw
servers/slapd/tools/ldbmcat.dsp
servers/slapd/tools/ldbmtest.dsp
servers/slapd/tools/ldif.dsp
servers/slapd/tools/ldif2id2children.dsp
servers/slapd/tools/ldif2id2entry.dsp
servers/slapd/tools/ldif2index.dsp
servers/slapd/tools/ldif2ldbm.c
servers/slapd/tools/ldif2ldbm.dsp
servers/slapd/wsa_err.c
servers/slurpd/args.c