Kurt Zeilenga
5f28509311
detect write() and use HAVE_WRITE instead of
...
!defined( DOS ) && !defined( MACOS )
Add detection for read & recv/send for later use.
1999-06-28 04:11:41 +00:00
Kurt Zeilenga
ab10099fc1
Added support for "userPassword: {UNIX}uid". getpwnam("uid") is
...
used to fetch the pw_passwd which is than passwd to crypt().
getspnam() is used instead of getpwnam() when available.
Added configration detection of pw_passwd, shadow.h, getpwnam()
and getspnam().
1999-06-26 20:52:59 +00:00
Kurt Zeilenga
fcaddb60b4
Install lber_types.h
1999-06-25 14:41:10 +00:00
Bastiaan Bakker
5a470f8959
Merged dynamic module support patch (see ITS #196 ). To enable, run ./configure w
...
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00
Kurt Zeilenga
977292a967
Always implement Debug as lutil_debug().
1999-06-21 22:33:35 +00:00
Kurt Zeilenga
f97251a9d1
Add support for lber_types.h.nt and add a few NT specific feature macros.
1999-06-21 22:32:38 +00:00
Kurt Zeilenga
87149de771
Add lber_types.h to setup.dsp.
...
s/setup.exe/setup.txt/g
create workspace for testing purposes.
1999-06-19 01:53:15 +00:00
Kurt Zeilenga
669b8f4047
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
...
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00
Gary Williams
61bf5877b8
new project to copy files from *.h.nt to .h
1999-06-18 21:24:04 +00:00
Kurt Zeilenga
bbc568b21f
ldapconfig.h vs ldap_config.h changes
...
backout previous nt changes (actually, just don't include nt_svc.c)
1999-06-17 04:43:24 +00:00
Kurt Zeilenga
21e081dc5b
Separate autoconf generated values from "defaults".
...
ldap_defaults.h incorporates non-generated ldapconfig.h values.
ldap_config.h.in is new template for autoconf generated defaults
(namely directories and paths)
ldap_config.h.nt, NT template (must be manually copied)
s/<ldapconfig.h>/<ldap_defaults.h>/
s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
3c09414075
Fix bad LBER_INVALID macro
1999-06-15 17:35:31 +00:00
Julio Sánchez Fernández
fb422591a2
Matching rules.
1999-06-14 13:37:59 +00:00
Julio Sánchez Fernández
e9e0e613b2
Constification
1999-06-14 11:57:02 +00:00
Julio Sánchez Fernández
5e0f62e454
New ldap_syntax_free, ldap_attributetype_free and ldap_objectclass_free
...
that replace old static routines.
1999-06-13 23:31:35 +00:00
Juan Gomez
34f068f131
Drop support for alloca().
1999-06-11 18:56:28 +00:00
Kurt Zeilenga
da549e3a42
_SGI_MP_SOURCE errno/h_errno experiment
1999-06-11 00:07:10 +00:00
Kurt Zeilenga
f34c94e5d5
Disable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
...
Fix LDAP_MEMORY_DEBUG realloc size bug, thanks Alex.
1999-06-10 00:56:00 +00:00
Kurt Zeilenga
be991c81df
Add test for BeOS's closesocket
1999-06-09 00:10:26 +00:00
Kurt Zeilenga
5632c11bd2
Use LDAP_F/LDAP_P macros on library externs.
...
Fix install of ldap_schema.h to use $(srcdir)
1999-06-07 18:37:16 +00:00
Kurt Zeilenga
12ed7e46ef
Use LDAP_F and LDAP_P macros.
...
Fix LDAP_HI 0x377 vs 0377 bug.
1999-06-07 18:35:30 +00:00
Kurt Zeilenga
c12b24102a
rename LDAP_OPT_MATCHED_STRING to LDAP_OPT_MATCHED_DN.
1999-06-05 20:12:53 +00:00
Kurt Zeilenga
5f7f095b1c
Undo assert fix included in last commit.
...
Add extra AC_HTONL for win32 alpha.
1999-06-04 22:27:28 +00:00
Kurt Zeilenga
5cb35c2827
Add #define FD_SETSIZE 1024
1999-06-04 22:23:52 +00:00
Kurt Zeilenga
48c8aa035d
EXPERIMENTAL ldap_extended_operation() and ldap_parse_extended_result()
1999-06-04 00:34:04 +00:00
Kurt Zeilenga
0c8f1d240a
lber.h: added #include <stddef.h> conditional on LBER_SIZE_T_DEFINED
...
ldap.h: added #include <lber.h>
ldap.h: added tags for extended operations
1999-06-03 22:54:51 +00:00
Kurt Zeilenga
9fef42d3f8
Enable browsing info in MSVC debugging configurations.
...
Toy with dllimport/dllexport stuff (think I'll leave the real dll work to
somebody else).
Added ldap_strdup() wrapper of ber_strdup().
1999-06-03 18:24:22 +00:00
Kurt Zeilenga
6956207270
Remove <memory.h> from stdlib.h (mem* fns should be in string.h).
1999-06-03 00:45:50 +00:00
Kurt Zeilenga
5a8170253a
Add <ac/stdlib.h> to genericize memory allocators.
...
Remove memory.h/malloc.h inclusion from <ac/string.h>.
Need to s/<stdlib.h>/<ac/stdlib.h> everywhere.
1999-06-02 23:39:55 +00:00
Kurt Zeilenga
1f52f6e43e
Add ber_strdup(), remove ldap_int_strdup(), add LDAP_STRDUP macro
...
and ripple change through -lldap.
1999-06-02 22:28:22 +00:00
Kurt Zeilenga
bed6465529
Make first argument of *_get_option const (experimental).
...
Make _MOD_SOFTADD 0x1000 to minimize chance of conflict with legit changes
to API spec.
Fix memory leak in ldap_mods_free() and minor memory allocator issues.
1999-06-02 21:38:48 +00:00
Kurt Zeilenga
97fa2ea293
Remove NULL* macros (namespace).
1999-06-01 19:05:54 +00:00
Kurt Zeilenga
eab4a30a2e
Add ldap_memvfree(void** vector)
1999-06-01 19:02:10 +00:00
Kurt Zeilenga
89ffbead68
Move berval routines to memory.c.
1999-06-01 18:59:27 +00:00
Kurt Zeilenga
95b3c92df7
use 'int' instead of 'char' for balance factor.
...
(barely) hide more internals.
1999-05-31 20:44:05 +00:00
Kurt Zeilenga
f704f1c475
(barely) hide AVL internals
1999-05-31 20:40:42 +00:00
Kurt Zeilenga
322bb86fa4
#ifdef out non-reentrant prototypes.
...
Only testavl uses this interface.
1999-05-31 20:32:21 +00:00
Julio Sánchez Fernández
288c304aeb
Syntaxes.
1999-05-31 12:02:43 +00:00
Kurt Zeilenga
117d3275ac
Genericize byte types into autoconf namespace.
1999-05-31 05:39:10 +00:00
Kurt Zeilenga
9417618276
Remove redundant WSAEWOULDBLOCK declaration.
1999-05-31 05:37:09 +00:00
Kurt Zeilenga
2e5a52414a
Initial round 2 memory allocation changes. THIS IS A WORK IN PROGRESS.
...
includes single to multiple hooks changes.
ber_mem* reimplementation.
namespace glue (finally naming has not be decided upon nor implemented).
Added ldap_int_strdup to handle "internal" strdup'ing, this version uses hooks.
ldap_pvt_strdup still available for when strdup() is missing, this version
directly uses system allocators.
Updated -lldif to use ber allocators. Items returned by ldif routines
should be ber_memfree()d as needed.
1999-05-30 23:00:52 +00:00
Kurt Zeilenga
4bba4a48dd
Remove prototype for removed ber_clear().
1999-05-30 21:59:45 +00:00
Julio Sánchez Fernández
7129d11e8f
New error code for null string input.
1999-05-29 23:57:39 +00:00
Kurt Zeilenga
de7db04d0c
Update DIRSEP handling (temporary, should be handled by autoconf)
1999-05-29 18:58:45 +00:00
Kurt Zeilenga
fbc0bd013e
Minor adjustments to better handle NT vs UNIX.
1999-05-29 18:57:23 +00:00
Kurt Zeilenga
2f969f8552
First cut at ber_set_option(NULL,LBER_OPT_MEMORY_FN, myrealloc) where
...
myrealloc is pointer to a realloc() wrapper.
Must be first library call or else.
1999-05-29 05:16:31 +00:00
Julio Sánchez Fernández
fbcbf29651
Install ldap_schema.h
1999-05-29 01:28:36 +00:00
Kurt Zeilenga
1bcec8bf6a
Add LBER_ and LDAP_ memory allocators/deallocators for internal
...
library use:
LBER_ macros expand to system routines.
LDAP_ macros expand to new ber_ allocators.
Add ber_ and ldap_ memory allocators/deallocator:
ber_ routines are wrappers of LBER_ macros.
ldap_ routines are wrappers of ber_ routines.
Removed safe_realloc() macro from various files. This issue
(if an issue) should be resolved across whole package.
ldapmodify.c now uses ber_ allocators to resolve ber_bvfree()
vs. WIN32 multiple heaps issue.
These changes should facilate implementation of
ber_set_option( NULL, LBER_OPT_MEMORY_FN, ...)
and
ldap_set_option( NULL, LDAP_OPT_MEMORY_FN, ...).
1999-05-29 01:19:14 +00:00
Julio Sánchez Fernández
a97e3e94e6
Provide (and use) #define shortcuts
...
Really kill global_oc & global_at
Publish schema through LDAP (really, it's there at last :-)
1999-05-28 18:56:47 +00:00
Kurt Zeilenga
6e0c7b95ab
Death to LBER_END_SEQORSET.
1999-05-28 03:24:41 +00:00