Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
Go to file
Felix von Leitner a54c2bfa9f add CAS.h 2009-05-28 00:46:54 +00:00
array add iarray 2009-03-12 21:32:43 +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 fix gcc warning 2007-10-17 13:35:28 +00:00
io hups 2009-05-24 18:12:14 +00:00
mmap switch to size_t and ssize_t 2006-11-07 17:56:05 +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 typo 2009-01-13 19:26:09 +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 add iarray 2009-03-12 21:32:43 +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 remove even more warnings 2005-05-12 06:52:29 +00:00
.cvsignore ignore uudecode 2007-01-10 22:51:47 +00:00
CAS.h test fr erdgeist 2009-04-08 21:27:37 +00:00
CHANGES add iarray 2009-03-12 21:32:43 +00:00
COPYING Initial revision 2001-02-02 17:54:47 +00:00
GNUmakefile add CAS.h 2009-05-28 00:46:54 +00:00
Makefile iopause.o dependency 2009-03-25 14:34:30 +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 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded 2005-09-02 21:11:58 +00:00
buffer.h remove buffer_copy prototype 2009-03-18 11:58:00 +00:00
byte.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
case.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
cdb.h make socket_(tc|ud)p[46] actually return non-blocking sockets as 2006-05-18 06:02:43 +00:00
cdb_make.h make socket_(tc|ud)p[46] actually return non-blocking sockets as 2006-05-18 06:02:43 +00:00
dns.h fix for NetBSD 3.0 (they broke their sys/types.h) 2006-06-23 03:53:16 +00:00
errmsg.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
errmsg_int.h add errmsg_int.h 2005-10-14 15:33:33 +00:00
fmt.h add fmt_strm_alloca 2008-06-23 07:24:22 +00:00
iarray.h add #warning 2009-04-09 18:03:38 +00:00
io.h wrong prototype 2007-10-17 11:50:11 +00:00
io_internal.h oops 2009-04-30 18:11:08 +00:00
iob.h add iob_addbuf_munmap 2007-10-17 13:06:56 +00:00
iob_internal.h use callback based infrastructure to reset iob's 2007-10-17 13:25:44 +00:00
iopause.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 2002-09-16 01:09:56 +00:00
iopause.h2 use sys/poll.h instead of poll.h for iopause 2002-12-07 14:54:43 +00:00
ip4.h add prototype for dns_name6 (Rolf Eike Beer) 2005-08-12 10:10:42 +00:00
ip6.h add prototype for dns_name6 (Rolf Eike Beer) 2005-08-12 10:10:42 +00:00
likely.h add iarray 2009-03-12 21:32:43 +00:00
mmap.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
ndelay.h remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
open.h add a few man pages 2004-02-04 23:02:35 +00:00
openreadclose.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
rangecheck.h some valgrind de-noising 2008-02-27 12:10:05 +00:00
readclose.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
safemult.h reverse return code for safemult API to conform to newer djb APIs 2003-09-05 21:25:51 +00:00
scan.h switch to size_t and ssize_t 2006-11-07 17:56:05 +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 make gcc -ansi compatible 2009-01-04 03:11:57 +00:00
str.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
stralloc.h make stralloc_copym work 2008-06-20 14:12:37 +00:00
t.c add iarray 2009-03-12 21:32:43 +00:00
tai.h remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
taia.h save 8 bytes in taia.h for 64-bit systems 2009-02-15 01:02:15 +00:00
textcode.h add fmt_ldapescape2 2007-06-28 22:46:58 +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 add uint64 pack and unpack routines 2008-01-13 21:40:24 +00:00
uint32.h add uint64 pack and unpack routines 2008-01-13 21:40:24 +00:00
uint64.h add uint64 pack and unpack routines 2008-01-13 21:40:24 +00:00
va_narg.h new way to do it 2008-01-20 01:06:50 +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