Kurt Zeilenga
8e60c8e287
Clean up memory handlers. Share vector free routines... ber_memvfree().
1999-06-01 19:08:27 +00:00
Kurt Zeilenga
97fa2ea293
Remove NULL* macros (namespace).
1999-06-01 19:05:54 +00:00
Kurt Zeilenga
388d51fe2d
Use ldap_mods_free() instead of local routine.
...
More memory handling changes. Need to sort out how to deal with strdup().
1999-06-01 19:05:07 +00:00
Kurt Zeilenga
716523f1ac
Clean up namespace
1999-06-01 19:03:47 +00:00
Kurt Zeilenga
eab4a30a2e
Add ldap_memvfree(void** vector)
1999-06-01 19:02:10 +00:00
Kurt Zeilenga
4ccab0d4df
move berval memory routines to memory.c
...
Add ber_memvfree(void** vector)
1999-06-01 19:01:05 +00:00
Kurt Zeilenga
89ffbead68
Move berval routines to memory.c.
1999-06-01 18:59:27 +00:00
Kurt Zeilenga
2718ec4238
Add "lutil*.h" to project.
1999-06-01 18:58:19 +00:00
Kurt Zeilenga
6d6e0dde91
Shouldn't need <sys/stat.h>.
1999-06-01 18:57:34 +00:00
Kurt Zeilenga
be3f7eadaa
Update memory allocation calls.
1999-06-01 02:07:57 +00:00
Kurt Zeilenga
847c452c9d
Add extended.c to projects
...
remove bogus libldap_r/apitest.ds[pw] files.
1999-06-01 02:07:05 +00:00
Kurt Zeilenga
f83e93af21
Share errcode lookup code. Modify ld_version conditions not to test absolutes.
...
Add asserts and additional param checks.
1999-06-01 02:06:12 +00:00
Kurt Zeilenga
60d9aeed6e
Remove LDAP_LIBUI dependency.
1999-06-01 02:03:21 +00:00
Kurt Zeilenga
68e64e768b
Use ber_mem* functions.
1999-06-01 00:04:36 +00:00
Kurt Zeilenga
c581055b54
Add skeleton ldap_extended_operation routines.
1999-05-31 21:19:07 +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
Kurt Zeilenga
a641a9266d
use LDAP_MALLOC instead of malloc. Check for allocation errors.
1999-05-31 20:04:15 +00:00
Kurt Zeilenga
7bd5b261fb
Move most header inclusion below #ifdef HAVE_XXX.
...
Use LDAP_MALLOC instead of ch_malloc
1999-05-31 19:59:29 +00:00
Kurt Zeilenga
37636eabd3
Clean up LDAP_BOOL_GET and fetching via ldap_get_option().
...
Modify apitest to test for non-zero instead of LDAP_OPT_ON.
1999-05-31 17:30:22 +00:00
Julio Sánchez Fernández
ae4c85b84f
Fudge oc_kind on synthesized objectclasses so that they are STRUCTURAL
...
instead of ABSTRACT.
1999-05-31 15:17:42 +00:00
Julio Sánchez Fernández
2b69b706de
Syntaxes.
...
Accept X- experimental clauses.
1999-05-31 12:04:06 +00:00
Julio Sánchez Fernández
288c304aeb
Syntaxes.
1999-05-31 12:02:43 +00:00
Julio Sánchez Fernández
f804c46da6
Cosmetic/spelling fixes.
1999-05-31 11:23:41 +00:00
Kurt Zeilenga
4c14412929
Remove lint.
1999-05-31 05:39:51 +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
5176f4e356
Free strings returned by ldap_get_option().
1999-05-31 05:34:49 +00:00
Kurt Zeilenga
d8032bcbaa
Use #error if ctime_r nargs are screwy.
1999-05-31 05:34:13 +00:00
Kurt Zeilenga
c72cb0c8fe
Remove dependency upon lber-int.h by using ber_set_option().
1999-05-31 05:27:32 +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
21577a0966
Some definition reordering to satisfy dependencies.
1999-05-30 00:08:59 +00:00
Julio Sánchez Fernández
ae481022f9
Oops, fp_parse_line tokenizes in place, so we need to take a copy of
...
input before letting fp_parse_line ruin it.
1999-05-30 00:07:40 +00:00
Julio Sánchez Fernández
663d7e8627
Lose previously commented out old code.
...
Robustness fixes.
Fixed error reporting of non-existing attribute superior.
1999-05-30 00:05:24 +00:00
Julio Sánchez Fernández
be051c3fb3
Relax some rules to survive Netscape DS brokennes, more to come.
...
A few parse_whsp were missing.
Detect and survive null input.
1999-05-30 00:01:53 +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
2c6f4abc0a
DEFAULT_DIRSEP -> DIRSEP
1999-05-29 19:10:01 +00:00
Kurt Zeilenga
c3b1baa89f
Correct minor oversights from last commit.
1999-05-29 19:08:57 +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
16366cff99
Add warnings if ldap_set_option() fails.
...
Check for ldap_set_option() error using LDAP_OPT_ERROR, not -1.
(probably should check != LDAP_OPT_SUCCESS instead).
Added additional usage errors.
Used return(EXIT_FAILURE) instead of exit(1).
Used DIRSEP instead of '/' && '\\'
Moved verbose output to stderr.
1999-05-29 18:53:40 +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
Howard Chu
193ab59661
Fix --enable-ldap behavior for back-ldap
1999-05-29 03:44:46 +00:00
Kurt Zeilenga
87a8abe880
old_abandon should be int* not long*.
1999-05-29 03:32:33 +00:00
Kurt Zeilenga
4839e570fb
safe_free_string() should be static
1999-05-29 01:45:55 +00:00
Kurt Zeilenga
cad31e00cc
Add memory.c to -llber
1999-05-29 01:35:34 +00:00
Julio Sánchez Fernández
e6f9faa94a
Fixed parsing of noidlen
1999-05-29 01:32:37 +00:00
Julio Sánchez Fernández
fbcbf29651
Install ldap_schema.h
1999-05-29 01:28:36 +00:00