Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
547ebf66c4
Move POLL_* macros to <ac/socket.h>
2004-10-18 22:08:37 +00:00
Kurt Zeilenga
22690ddd0c
Define INFTIM if not in <poll.h>
2004-10-18 22:01:10 +00:00
Kurt Zeilenga
529e1d61f5
More prep for poll(2) support.
2004-07-09 19:08:48 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
a6bc746900
Fix notices
2003-11-26 04:16:36 +00:00
Kurt Zeilenga
327880b984
Notice updates
2003-11-25 23:17:08 +00:00
Kurt Zeilenga
ca52123a60
Fix builds when getaddrinfo is not detected but getnameinfo is.
...
This does not happen normally.
2003-04-21 18:28:08 +00:00
Howard Chu
ac04ec0ca4
Add NI_MAXHOST if not defined; normally in <netdb.h> on IPv6 systems
2003-03-05 01:33:36 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Kurt Zeilenga
eb41333e4c
Use getpeereid(3) where available else use *_PEERCRED replacment function
2002-12-04 06:17:32 +00:00
Kurt Zeilenga
5fcd6b41e3
Use #ifdef, not #if, to check SHUT_RDWR
2002-06-19 18:15:20 +00:00
Kurt Zeilenga
c38027902a
Update copyright notices
2002-01-04 20:40:29 +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
25b5aaf262
Delete ldap_build_filter(), it's broke.
...
Clean up headers.
2001-12-24 03:49:54 +00:00
Kurt Zeilenga
fd75d09415
Update copright with clarification
2001-05-29 03:35:56 +00:00
Kurt Zeilenga
5fb80ea565
Some minor cleanup
2001-05-19 23:08:11 +00:00
Kurt Zeilenga
9f0d190739
Add ldap_pvt_gai_strerror().
...
Calls to gai_strerror() should be replaced with calls AC_GAI_STRERROR().
2000-10-18 17:25:30 +00:00
Kurt Zeilenga
ff21d9d6b9
Define INET{,6}_ADDRSTRLEN if needed
2000-09-25 01:24:37 +00:00
Kurt Zeilenga
390fd72398
Remove redefine on MSC
2000-09-04 02:16:40 +00:00
Kurt Zeilenga
5d9f41e8dc
Use shutdown(2) prior to stream close(2).
2000-08-28 22:24:01 +00:00
Kurt Zeilenga
1f1993989a
s/enable-unix/enable-local/
...
s/LDAP_PF_UNIX/LDAP_PF_LOCAL/
s/AF_UNIX/AF_LOCAL/
s/PF_UNIX/PF_LOCAL/
2000-07-09 21:49:36 +00:00
Mark Valence
463cc5479f
Update some prototype macros to build on NT.
2000-06-19 22:40:42 +00:00
Kurt Zeilenga
9ef1a740c2
Round one of LDAP_F() macro changes. In this round we rename
...
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Kurt Zeilenga
0bb431d3b3
Y2k copyright update
2000-05-13 02:25:54 +00:00
Howard Chu
3dc83998c0
Moved nt_err from liblutil to liblber, renamed WSAGetErrorString to
...
ber_pvt_wsa_err2string.
2000-05-12 21:16:15 +00:00
Luke Howard
9b4e3b2234
Merged in preliminary support for Cyrus SASL library;
...
support for DCE slash-delimited, left-to-right DNs;
support for a domain socket transport (enable with
--enable-ldapi); and extensions to URL parsing to
support the latter transport.
2000-01-02 01:21:25 +00:00
Kurt Zeilenga
c061aaa81c
Temporary fix for BEOS.
...
tcp_read/write should not be used.
1999-12-17 21:31:44 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +00:00
Kurt Zeilenga
8b99e6cdbd
Remove LBER_{TAG,INT,LEN}_{NTOH,HTON} macros. Rewrite code to
...
manual push bytes about. Allows ber_*_t to be any 32-bit or
larger type. Reworked AC_{HTON,NTOH}{L,S} macros to care only
about 32-bit (netlong) and 16-bit (netshort) reordering as
needed for BSD socket interface.
1999-11-26 23:32:18 +00:00
Howard Chu
0991e22550
Fixed the LDAP_F macro.
...
See README 1.27 log
1999-10-28 07:28:53 +00:00
Kurt Zeilenga
1459ab3495
Add comment concerning with it's acceptable to use pipe(2)
1999-08-31 17:24:32 +00:00
Kurt Zeilenga
0307dd3b38
Use pipe(2) if descriptors are selectable.
1999-08-31 17:01:10 +00:00
Kurt Zeilenga
ac8b5468aa
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
1999-08-31 16:47:42 +00:00
Kurt Zeilenga
40fa9d36ce
s/Id/OpenLDAP/ in RCSids
1999-08-30 08:08:00 +00:00
Kurt Zeilenga
9826f704b5
Back out to simple sock_errno sock_errstr macros and use WSAGetErrorString
...
instead of WSAGetLastErrorString to preserve errno like semantics.
1999-08-29 23:33:35 +00:00
Kurt Zeilenga
5333a58018
Add RCS ID again...
1999-08-29 23:29:08 +00:00
Howard Chu
3925d53ccd
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
1999-08-29 23:09:27 +00:00
Kurt Zeilenga
657959b04d
Add RCS Id to "generic" headers (experimental)
1999-08-29 20:35:22 +00:00
Kurt Zeilenga
32aa582abe
Make sock_errstr expect an error value instead of relying on current
...
errno.
1999-08-29 20:32:34 +00:00
Howard Chu
74543e6c68
Defined tcp_read and tcp_write. Use them in daemon.c
1999-08-29 04:01:16 +00:00
Howard Chu
193d30bf84
In previous commit - change strerror() to STRERROR().
...
Use strerror() if available.
1999-08-29 02:59:29 +00:00
Howard Chu
801bac51c9
per Hallvard's advice: fixed definition of sock_errstr().
1999-08-29 02:54:58 +00:00
Howard Chu
35a3c5017f
Define sock_errno() and sock_errstr() for Unix and winsock.
1999-08-29 01:56:51 +00:00
Kurt Zeilenga
bd9323efc3
Use LDAP_P in prototype for ldap_pvt_inet_aton
1999-08-04 18:27:15 +00:00
Kurt Zeilenga
b3ce9d497c
non-blocking connect needs special handling under Winsock.
1999-08-04 00:40:03 +00:00
Kurt Zeilenga
2b79ff2c48
Initial inet_aton() detection.
1999-08-03 20:02:44 +00:00
Kurt Zeilenga
b738f2a4db
Check for netinet/tcp.h
...
Update res_search check and place behind --enable-dns.
1999-07-27 00:31:08 +00:00
Kurt Zeilenga
d147e609d2
Implement TCP_NODELAY on both client and server side.
1999-07-22 21:49:35 +00:00
Kurt Zeilenga
669b8f4047
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
...
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00