Howard Chu
5fb87a7d6c
Changed 'w' format character to 'M': 'm' and 'M' for "memory" ?
2002-01-06 06:10:05 +00:00
Howard Chu
c6384d875e
Added doalloc flag to ber_get_stringbv. Added 'm' type to ber_scanf
...
to scan a berval in-place.
2002-01-06 05:36:07 +00:00
Howard Chu
76386bde5e
Cleanup lint in previous commit
2002-01-06 03:05:02 +00:00
Howard Chu
b92e0011dd
Prep for in-place parsing. Cache a ber_tag byte.
...
No visible impact from these changes.
2002-01-06 02:23:36 +00:00
Kurt Zeilenga
c36352c173
Misc allocator cleanup
2002-01-05 19:38:54 +00:00
Kurt Zeilenga
f1afebe727
struct * are not to be const'ified
2002-01-05 18:54:04 +00:00
Pierangelo Masarati
d0261ee534
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
2002-01-05 17:49:59 +00:00
Pierangelo Masarati
1cf91cd6db
meaningful message in case max_incomingis hit
2002-01-05 17:16:18 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Kurt Zeilenga
e60d22e3c6
Quick fix for NULL sos
2002-01-03 23:25:25 +00:00
Kurt Zeilenga
28bc149884
Remove lint.
2002-01-03 20:04:31 +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
Howard Chu
dd6fc04587
Fix externs, moved to lber-int.h
2002-01-02 21:19:45 +00:00
Kurt Zeilenga
763c0de59b
Rework filter code
...
Misc cleanup / lint removal
2002-01-02 17:06:56 +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
fbc54d47d3
Added ber_free_buf()
2001-12-31 06:01:59 +00:00
Howard Chu
327f253183
Add optional len to ber_str2bv
2001-12-26 13:45:22 +00:00
Howard Chu
733056970e
Changed ber_bvdup to ber_dupbv with destination provided
2001-12-26 11:15:28 +00:00
Howard Chu
fb3af1ccbd
Merged ber_bvstr and ber_bvstrdup into ber_str2bv.
2001-12-26 10:06:19 +00:00
Kurt Zeilenga
b3b17ca4e7
Remove srchpref and disptmpl stuff.
2001-12-19 21:46:34 +00:00
Kurt Zeilenga
d0991d97fb
const'ify and remove lint
2001-12-19 21:22:04 +00:00
Howard Chu
e5eb270e6c
from jon@symas.com - misc Windows cleanup
2001-12-17 22:42:55 +00:00
Kurt Zeilenga
abd9be4def
Remove lint and misc MSVC updates
2001-12-09 02:34:45 +00:00
Howard Chu
0552b1c53f
NT updates from jon@symas.com.
2001-12-07 04:03:25 +00:00
Kurt Zeilenga
850702ba99
Remove lint
2001-12-04 06:14:16 +00:00
Kurt Zeilenga
4041ef05bf
Slight memfree cleanup
2001-12-04 06:10:10 +00:00
Kurt Zeilenga
f83cbc2c84
Fix typo in last commit
2001-11-04 17:50:16 +00:00
Kurt Zeilenga
9bd4308edf
Fix realloc bug (ITS#1410)
2001-11-03 22:07:41 +00:00
Pierangelo Masarati
97e8a2a9da
fixes ITS#1398
2001-10-20 15:49:05 +00:00
Pierangelo Masarati
fefc29786c
skeleton of ldap_str2nd/dn2str; works with most of the simple cases, but there's much to do with unicode, I think
2001-10-18 19:00:07 +00:00
Howard Chu
647b5f84ee
Resurrection/rewrite of CLDAP (RFC1798 Connectionless LDAP).
...
Compile with -DLDAP_CONNECTIONLESS to use this code.
For slapd, use "-h cldap://" to listen on UDP.
For ldapsearch, use "-H cldap://" to query on UDP.
Client-side support is very minimal:
no automatic timeout/retries
no basedn wildcard expansion on results
no support for specifying multiple servers at once.
2001-09-28 00:18:40 +00:00
Kurt Zeilenga
6cc6a187da
Fix an off by one bug which could cause a realloced buffer to be
...
too small. Changed extra size algorithm to use a much simplier
approach and detailed non-optimized version.
2001-09-22 03:18:02 +00:00
Howard Chu
2f6b7e3d43
Check debug level before invoking debug routine, slight optimization
2001-09-21 17:53:16 +00:00
Kurt Zeilenga
978e417699
Make some additional UTF8 public
...
Remove lint
2001-07-21 23:13:04 +00:00
Kurt Zeilenga
a36a6211e5
Regen
2001-05-12 18:44:07 +00:00
Kurt Zeilenga
9adfb3552a
Minor redef
2001-05-07 03:50:53 +00:00
Kurt Zeilenga
9046576228
Misc cleanup
2001-05-07 03:43:23 +00:00
Kurt Zeilenga
9275b09954
Add a bit of hardening
2001-05-06 19:07:24 +00:00
Kurt Zeilenga
61d874af10
reimplementation of sb_max_incoming
2001-05-04 21:15:09 +00:00
Kurt Zeilenga
383391b460
detect and use fcntl (for BSD/OS)
...
detect inet_ntop (for MacOSX)
2001-05-03 05:53:34 +00:00
Kurt Zeilenga
00c645b9a1
ITS#133
2001-05-03 05:51:39 +00:00
Gary Williams
16e6422329
new logging
2001-01-17 17:08:44 +00:00