-
- Downloads
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, ...).
Showing
- clients/tools/ldapdelete.c 0 additions, 3 deletionsclients/tools/ldapdelete.c
- clients/tools/ldapmodify.c 9 additions, 40 deletionsclients/tools/ldapmodify.c
- clients/tools/ldapmodrdn.c 0 additions, 3 deletionsclients/tools/ldapmodrdn.c
- include/lber.h 20 additions, 0 deletionsinclude/lber.h
- include/ldap.h 15 additions, 1 deletioninclude/ldap.h
- libraries/liblber/decode.c 28 additions, 36 deletionslibraries/liblber/decode.c
- libraries/liblber/encode.c 6 additions, 4 deletionslibraries/liblber/encode.c
- libraries/liblber/io.c 10 additions, 10 deletionslibraries/liblber/io.c
- libraries/liblber/lber-int.h 7 additions, 0 deletionslibraries/liblber/lber-int.h
- libraries/liblber/liblber.dsp 4 additions, 0 deletionslibraries/liblber/liblber.dsp
- libraries/liblber/memory.c 34 additions, 0 deletionslibraries/liblber/memory.c
- libraries/liblber/sockbuf.c 8 additions, 8 deletionslibraries/liblber/sockbuf.c
- libraries/libldap/abandon.c 16 additions, 14 deletionslibraries/libldap/abandon.c
- libraries/libldap/cache.c 12 additions, 12 deletionslibraries/libldap/cache.c
- libraries/libldap/charset.c 14 additions, 14 deletionslibraries/libldap/charset.c
- libraries/libldap/cldap.c 14 additions, 18 deletionslibraries/libldap/cldap.c
- libraries/libldap/controls.c 14 additions, 14 deletionslibraries/libldap/controls.c
- libraries/libldap/disptmpl.c 41 additions, 41 deletionslibraries/libldap/disptmpl.c
- libraries/libldap/dsparse.c 10 additions, 10 deletionslibraries/libldap/dsparse.c
- libraries/libldap/error.c 2 additions, 2 deletionslibraries/libldap/error.c
Loading
Please register or sign in to comment