Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
 
 
 
Go to file
Felix von Leitner 100ac91c79 fix io_receivefd so the incoming buffer is only 1 byte; io_passfd
sends only one byte, so we might receive (and discard) other data if
    we try to read more (Stefan Bühler, from the lightttpd project)
2010-10-06 17:34:52 +00:00
array for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
buffer stralloc* not const char* 2009-02-28 01:23:31 +00:00
byte byte_zero is also miscompiled by gcc 4.3.2 2008-10-25 21:21:46 +00:00
case switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
cdb small man page updates and add a cdbget test 2007-04-30 05:08:28 +00:00
dns fix for NetBSD 3.0 (they broke their sys/types.h) 2006-06-23 03:53:16 +00:00
examples add a few examples 2005-10-04 11:42:02 +00:00
fmt add/fix man pages 2010-01-18 19:51:00 +00:00
io only try to receive one byte to avoid discarding data 2010-10-06 17:33:25 +00:00
mmap add/fix man pages 2010-01-18 19:51:00 +00:00
mult fix for 32-bit archs 2008-12-26 01:56:42 +00:00
open fix man page for openreadclose 2008-06-24 14:19:17 +00:00
scan work around broken sqlite download httpd 2008-11-27 14:32:29 +00:00
socket #include <errno.h> 2010-01-28 21:40:03 +00:00
str switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
stralloc fix warning 2007-11-02 00:45:52 +00:00
tai even more man pages 2002-09-16 23:49:15 +00:00
taia add taia_half 2005-10-14 15:37:19 +00:00
test remove warning 2009-10-27 23:20:21 +00:00
textcode add fmt_ldapescape2 2007-06-28 22:46:58 +00:00
uint add uint64 pack and unpack routines 2008-01-13 21:40:24 +00:00
unix add/fix man pages 2010-01-18 19:51:00 +00:00
.cvsignore ignore uudecode 2007-01-10 22:51:47 +00:00
CAS.h make it compile again 2009-11-12 10:52:43 +00:00
CHANGES fix io_receivefd so the incoming buffer is only 1 byte; io_passfd 2010-10-06 17:34:52 +00:00
COPYING Initial revision 2001-02-02 17:54:47 +00:00
GNUmakefile split make install 2010-01-19 02:40:40 +00:00
Makefile update Makefile for bsd 2010-01-19 02:41:34 +00:00
README mention my email address 2002-10-21 22:35:17 +00:00
TODO fix for NetBSD 3.0 (they broke their sys/types.h) 2006-06-23 03:53:16 +00:00
array.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
buffer.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
byte.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
case.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
cdb.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
cdb_make.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
dns.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
errmsg.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
errmsg_int.h add errmsg_int.h 2005-10-14 15:33:33 +00:00
fmt.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
iarray.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
io.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
io_internal.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
iob.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
iob_internal.h use callback based infrastructure to reset iob's 2007-10-17 13:25:44 +00:00
iopause.h1 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
iopause.h2 for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
ip4.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
ip6.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
likely.h add iarray 2009-03-12 21:32:43 +00:00
mmap.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
ndelay.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
open.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
openreadclose.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
rangecheck.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
readclose.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
safemult.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
scan.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 2002-09-16 01:09:56 +00:00
select.h2 more BSD compat 2003-09-06 00:03:27 +00:00
socket.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
str.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
stralloc.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
t.c make it compile again 2009-11-12 10:52:43 +00:00
tai.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
taia.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
textcode.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
tryalloca.c fix for NetBSD 3.0 (they broke their sys/types.h) 2006-06-23 03:53:16 +00:00
trybsdsf.c macos x support 2004-01-08 17:11:08 +00:00
trydevpoll.c broken lose32 port using mingw (don't use!!!) 2003-11-06 20:47:59 +00:00
tryepoll.c add epoll and kqueue tests 2003-09-06 00:52:11 +00:00
tryinline.c work around compilers that don't understand "static inline" 2001-11-24 20:09:31 +00:00
tryip6.c test for ipv6 and if_name2index and socklen_t. 2001-11-24 19:34:32 +00:00
trykqueue.c add epoll and kqueue tests 2003-09-06 00:52:11 +00:00
tryn2i.c test for ipv6 and if_name2index and socklen_t. 2001-11-24 19:34:32 +00:00
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 2002-09-16 01:09:56 +00:00
tryscope.c broken lose32 port using mingw (don't use!!!) 2003-11-06 20:47:59 +00:00
trysendfile.c IRIX compatibility (yuck!) 2005-05-20 14:14:15 +00:00
trysigio.c oops, forgot to add sigio test program 2003-09-12 23:18:51 +00:00
trysl.c broken lose32 port using mingw (don't use!!!) 2003-11-06 20:47:59 +00:00
trysocket.c add trysocket.c 2004-01-08 17:12:39 +00:00
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 2002-09-16 01:09:56 +00:00
uint16.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
uint32.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
uint64.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
va_narg.h for installed header files, add comment saying where they came from 2010-06-03 22:46:59 +00:00
windoze.h add windoze.h 2003-11-06 22:43:30 +00:00

README

libowfat is a library of general purpose APIs extracted from Dan
Bernstein's software, reimplemented and covered by the GNU General
Public License Version 2 (no later versions).

The API has been slightly extended (for example, I provide a uint32_read
function, and I extended the socket API to support IPv6) where I found
it necessary or beneficial in a specific project.

Many of the functions I implement here have since been placed in the
public domain, so there are other sources to get this code (except for
my extensions obviously).  The implementations here may not be as
portable as the original versions; I tend to focus on the Single Unix
Specification and not on some obsolete legacy systems found in the
basements of some vintage hardware clubs.

I also provide man pages for many functions, mostly extracted from Dan's
web documentation or documentation found in earlier versions of his
software.  For some reason, he abandoned man pages in favor of HTML
recently.

On July 4 2002, Dan also placed his DNS routines and supporting
low level functions in the public domain, so I copy them here instead of
reimplementing them.  http://online.securityfocus.com/archive/1/280642
has an online version of the bugtraq posting.

The author can be reached under felix-libowfat@fefe.de