Commit Graph

17 Commits

Author SHA1 Message Date
Julio Sánchez Fernández
9291bf6f44 Added whitespace in output in a few places.
Minor cosmetic changes.
Fixed parsing of noidlen.
1999-06-08 17:40:27 +00:00
Kurt Zeilenga
21c70857f1 s/<stdlib.h>/<ac/stdlib.h>/ 1999-06-03 00:37:44 +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
8e60c8e287 Clean up memory handlers. Share vector free routines... ber_memvfree(). 1999-06-01 19:08:27 +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
f804c46da6 Cosmetic/spelling fixes. 1999-05-31 11:23:41 +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
Kurt Zeilenga
4839e570fb safe_free_string() should be static 1999-05-29 01:45:55 +00:00
Julio Sánchez Fernández
e6f9faa94a Fixed parsing of noidlen 1999-05-29 01:32:37 +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
Kurt Zeilenga
4e5ed2dffc Changed lc_conn to be a pointer to a BerElement to aid in state management.
Added validation to exposed opaque data structures (BerElement, Sockbuf,
and LDAP).  Added macros BER_VALID, SOCKBUF_VALID, LDAP_VALID.
Added ber_pvt_ber_bytes() and ber_pvt_ber_remaining() macros to hide
some ber internals.  These really should be handled by ber_get_option().
1999-05-28 19:33:05 +00:00
Julio Sánchez Fernández
06c5f96b49 safe_string_free was freeing the string value, so we have to save it. 1999-05-28 18:51:21 +00:00
Julio Sánchez Fernández
d5509bbbe9 Incorporate #define's per Kurt's suggestion 1999-05-27 18:18:36 +00:00
Julio Sánchez Fernández
676558aa64 Provide human-readable syntax errors. 1999-05-26 19:21:55 +00:00
Julio Sánchez Fernández
fd488b3846 Fix namespace contamination, some comments added. 1999-05-26 13:52:11 +00:00
Julio Sánchez Fernández
06239ebd66 Untested support for parsing attribute type definitions 1999-05-24 12:44:48 +00:00
Julio Sánchez Fernández
b2b3581bc1 Initial incomplete and broken version. 1999-05-24 01:38:57 +00:00