Commit Graph

28 Commits (e1f516b426807f11ac3be7e9bcad436ba4daca17)

Author SHA1 Message Date
leitner 77a2bbd17a half-hearted improvements to Windows compilability
leitner 760598ec2f #include <foo.h> -> #include <libowfat/foo.h>
leitner 695843c79e small buffer optimization
fix botched noipv6 case in buffer_tcp6
leitner 798c06a785 add more comments
leitner f3c0e69988 fix and document iarray
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.
leitner 90acf965e7 add iarray_length
leitner a544abc39c switch io_fds from array to newly implemented (hopefully thread-safe) iarray
switch epoll from level triggering to edge triggering
leitner c548cce5a1 another attempt at a thread-safe array
leitner 2a86a4e789 win32 cross compile fix for iarray
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
leitner 928bfe5c09 for installed header files, add comment saying where they came from
leitner bb9cdaaafb add iarray
leitner 12caccfd48 don't shrink in array_allocate
leitner dd61fe2f56 whut
leitner eeffc36387 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
leitner 9405f1271b remove gcc4-only warning option
leitner f52aa87441 more alloca fixes
leitner 6fdd2a9078 appending zero bytes to an empty array failed it
leitner 35e0e1a7c0 that wasn't it
leitner b295650a73 even better BSD make compat ;)
leitner 3e2f6d0439 add stupid little httpd
leitner 325a6176ca write a small socket server with io_wait integration and add and debug
io framework enough to support the test program
leitner ef0495b5e2 reverse return code for safemult API to conform to newer djb APIs
leitner 49818590ee beginnings of the io library
leitner c845e84c37 add man pages for array API
leitner 5226dd010d change length or size specifiers in APIs from int to long
add array API (http://cr.yp.to/lib/array.html)
leitner d1df715971 add API for integer multiplication with overflow detection