Commit Graph

1385 Commits

Author SHA1 Message Date
Kurt Zeilenga
e60d22e3c6 Quick fix for NULL sos 2002-01-03 23:25:25 +00:00
Kurt Zeilenga
1d4e2342d2 Add LBER DN format flag (no code yet).
Return API result codes, not protocol result codes.
2002-01-03 20:06:29 +00:00
Kurt Zeilenga
789b81aa75 Misc cleanup 2002-01-03 20:05:29 +00:00
Kurt Zeilenga
28bc149884 Remove lint. 2002-01-03 20:04:31 +00:00
Kurt Zeilenga
fdb62b5650 Even larger TMP_SLOTS 2002-01-03 19:45:34 +00:00
Kurt Zeilenga
c8d7b334e6 Add copyright notices 2002-01-03 16:36:46 +00:00
Howard Chu
8c04993cdf Use <lber.h> ber_memalloc, not malloc. Shortcuts for pure-ASCII strings.
Still need to add some kind of isNormalized() check to avoid rework on
UTF8 strings that are already properly normalized.
2002-01-03 16:22:53 +00:00
Howard Chu
7a853f3030 One more hack to ber_get_stringbvr for do_search 2002-01-03 05:36:26 +00:00
Howard Chu
61aa7bef74 Fix previous commit 2002-01-03 03:44:38 +00:00
Howard Chu
276b52098d Cleanup, added some explanation/comments 2002-01-03 03:30:55 +00:00
Howard Chu
bab600baf6 Safety checks for bvec's in previous patch 2002-01-03 03:11:14 +00:00
Howard Chu
829b49b5c6 New ber_get_stringbvr recursively decodes a vector, to avoid
hard-coded TMP_SLOTS limitation.
2002-01-03 02:53:41 +00:00
Kurt Zeilenga
dedc7588c9 We'll need queue macros in -llber... 2002-01-03 00:49:52 +00:00
Kurt Zeilenga
73b2d62bcd Fix queue.h include 2002-01-03 00:39:09 +00:00
Howard Chu
029306a5be Use ldap_queue.h instead of <ac/queue.h> 2002-01-03 00:12:46 +00:00
Howard Chu
9b73b8a568 Fix some externs 2002-01-02 23:31:44 +00:00
Kurt Zeilenga
81d2a0f289 fix empty substrings any bug 2002-01-02 23:03:37 +00:00
Howard Chu
fca5613e98 Hide (make static) sb_bio_method and tls_sbio structures. They're
already completely hidden by accessor functions.
2002-01-02 22:29:11 +00:00
Howard Chu
cc60686c0d Renamed parse_numericoid to ldap_int_parse_numericoid since it is
no longer static. Moved declaration to ldap-int.h and removed extern
from getdn.c
2002-01-02 21:59:26 +00:00
Howard Chu
4bd58083ad Make .links depend on Makefile so it gets automatically reinvoked
whenever the Makefile is updated
2002-01-02 21:58:22 +00:00
Howard Chu
dd6fc04587 Fix externs, moved to lber-int.h 2002-01-02 21:19:45 +00:00
Kurt Zeilenga
ccc4d0d5ae Fix extensible filters 2002-01-02 20:31:21 +00:00
Kurt Zeilenga
490ac259f4 Fix escape bug 2002-01-02 20:05:48 +00:00
Kurt Zeilenga
2931cec6c0 Fix stupid bug in last commit 2002-01-02 18:16:09 +00:00
Pierangelo Masarati
1f49164725 fix missing trailing ')' 2002-01-02 17:38:46 +00:00
Kurt Zeilenga
772b7760b8 New filter code 2002-01-02 17:10:21 +00:00
Kurt Zeilenga
3ecc6b8b2c Add filter.c 2002-01-02 17:08:42 +00:00
Kurt Zeilenga
763c0de59b Rework filter code
Misc cleanup / lint removal
2002-01-02 17:06:56 +00:00
Howard Chu
81e9e86861 Fix ldap_str2rdn, make sure to update progress pointer; don't
free attrType since we never allocate it
2002-01-02 09:59:37 +00:00
Howard Chu
670c66bda9 Added 'W' fmt char for BVarrays 2002-01-02 08:50:07 +00:00
Howard Chu
445a4766ea Added ber_get_stringbv 2001-12-31 14:43:54 +00:00
Howard Chu
ac39aa5032 Tweak previous commit 2001-12-31 12:57:17 +00:00
Howard Chu
d8e70bd5f4 in sb_debug_read/write save errno before logging a failure.
ber_log_printf can cause errors of its own and obscure the original.
2001-12-31 12:50:09 +00:00
Howard Chu
e823c74811 Fix typo 2001-12-31 12:37:45 +00:00
Howard Chu
9405761404 Moved free list to avoid additional mutex 2001-12-31 06:46:03 +00:00
Howard Chu
b92710e3a5 Minor cleanup 2001-12-31 06:44:36 +00:00
Howard Chu
fbc54d47d3 Added ber_free_buf() 2001-12-31 06:01:59 +00:00
Howard Chu
6e66d14311 Fix previous commit 2001-12-31 04:01:26 +00:00
Howard Chu
3e90c7dd42 Use queue-compat.h for queue management. Cache ctx structures on a free
list instead of always freeing them.
2001-12-31 03:05:56 +00:00
Howard Chu
b7be022824 Minor fix for LDAP_DN_IS_RDN_DC macro 2001-12-30 23:10:31 +00:00
Howard Chu
776ce133e9 More str2rdn tweaks 2001-12-30 09:42:58 +00:00
Howard Chu
5d28b4555e Reorganize LDAPAVA allocation layout 2001-12-30 06:56:57 +00:00
Pierangelo Masarati
754470162d remove useless function 2001-12-29 12:13:11 +00:00
Howard Chu
a191392e2e Changed LDAP_AVA struct berval * to struct berval. 2001-12-29 10:35:24 +00:00
Howard Chu
60510c5e39 Fix memory leak in ldap_explode_dn 2001-12-29 06:37:20 +00:00
Howard Chu
729fe56698 Made LDAP_UTF8_CHARLEN/ldap_utf8_charlen table-driven. 2001-12-29 02:57:32 +00:00
Pierangelo Masarati
2f3f7c6765 ldap_str2rdn() can parse without allocating a LDAPRDN* (not very clean, though); used by dn_rdnlen 2001-12-28 12:50:48 +00:00
Howard Chu
4d7e904404 Added ldap_dn2bv and ldap_rdn2bv 2001-12-28 10:03:39 +00:00
Howard Chu
06b350c04c Moved WSAStartup/WSACleanup to libldap/init.c. Cleanup occurs in the
internal atexit handler.
2001-12-28 06:12:17 +00:00
Kurt Zeilenga
c214a13a59 Works... now to test our filter parser! 2001-12-28 04:33:57 +00:00