28 Commits

Author SHA1 Message Date
leitner
77a2bbd17a half-hearted improvements to Windows compilability 2019-04-23 13:25:26 +00:00
leitner
760598ec2f #include <foo.h> -> #include <libowfat/foo.h> 2017-05-13 22:51:26 +00:00
leitner
695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
2015-04-23 15:15:08 +00:00
leitner
798c06a785 add more comments 2014-06-30 11:40:52 +00:00
leitner
f3c0e69988 fix and document iarray 2014-06-05 16:31:06 +00:00
leitner
8581b74a84 on FreeBSD, on a PF_INET6 socket, recvfrom and friends can actually
return a sockaddr with family PF_INET.  WTF?  Work around that.
2014-04-19 17:45:14 +00:00
leitner
90acf965e7 add iarray_length 2014-04-08 10:01:27 +00:00
leitner
a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
2014-04-04 18:11:03 +00:00
leitner
c548cce5a1 another attempt at a thread-safe array 2014-03-29 11:17:04 +00:00
leitner
2a86a4e789 win32 cross compile fix for iarray 2012-02-24 02:01:27 +00:00
leitner
c2a2a15c12 document the return value expected from the callback given to iob_write
remove unused #include in iob_reset
if iob_addfile_close fails, it now closes the fd
if iob_addbuf_munmap fails, it now munmaps the buf
if iob_addbuf_free fails, it now frees the buf
some win32 cross-compile fixes for iarray
2012-02-24 02:00:52 +00:00
leitner
928bfe5c09 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
leitner
bb9cdaaafb add iarray 2009-03-12 21:32:43 +00:00
leitner
12caccfd48 don't shrink in array_allocate 2005-08-24 17:30:40 +00:00
leitner
dd61fe2f56 whut 2005-08-24 16:08:15 +00:00
leitner
eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
2005-05-12 06:52:29 +00:00
leitner
9405f1271b remove gcc4-only warning option 2005-05-03 12:14:29 +00:00
leitner
f52aa87441 more alloca fixes 2004-01-06 23:35:06 +00:00
leitner
6fdd2a9078 appending zero bytes to an empty array failed it 2003-12-05 17:30:03 +00:00
leitner
35e0e1a7c0 that wasn't it 2003-10-10 01:10:22 +00:00
leitner
b295650a73 even better BSD make compat ;) 2003-10-07 16:27:54 +00:00
leitner
3e2f6d0439 add stupid little httpd 2003-09-10 01:59:12 +00:00
leitner
325a6176ca write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
2003-09-05 22:59:40 +00:00
leitner
ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs 2003-09-05 21:25:51 +00:00
leitner
49818590ee beginnings of the io library 2003-09-02 00:14:04 +00:00
leitner
c845e84c37 add man pages for array API 2003-09-01 17:59:12 +00:00
leitner
5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
2003-08-26 17:58:14 +00:00
leitner
d1df715971 add API for integer multiplication with overflow detection 2003-08-22 15:03:10 +00:00