Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
Go to file
Felix von Leitner 8d995360a6 simplify some expressions 2007-01-26 19:56:41 +00:00
array don't shrink in array_allocate 2005-08-24 17:30:40 +00:00
buffer switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
byte switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
case switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
cdb switch to size_t and ssize_t 2006-11-07 17:56:05 +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 switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
io off-by-one 2007-01-26 14:16:14 +00:00
mmap switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
mult add warning about dodgy inline assembly 2006-08-27 22:23:45 +00:00
open return to DJB behavior... 2007-01-05 20:44:35 +00:00
scan switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
socket immer noch falsch 2006-12-01 22:23:29 +00:00
str switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
stralloc switch to size_t and ssize_t 2006-11-07 17:56:05 +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 some int overflow check macros to rangecheck.h 2007-01-26 01:12:15 +00:00
textcode switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
uint more man page typos 2003-01-27 02:16:43 +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
CHANGES add some int overflow check macros to rangecheck.h 2007-01-26 01:12:15 +00:00
COPYING Initial revision 2001-02-02 17:54:47 +00:00
GNUmakefile fix for NetBSD 3.0 (they broke their sys/types.h) 2006-06-23 03:53:16 +00:00
Makefile new Makefile 2007-01-25 20:06:38 +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 switch to size_t and ssize_t 2006-11-07 17:56:05 +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 switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
io.h add io_block 2006-04-17 05:07:43 +00:00
io_internal.h further Windoze support (test/io5.c works, gatling still doesn't) 2005-09-09 22:12:23 +00:00
iob.h add iob_bytesleft 2006-12-19 13:19:32 +00:00
iob_internal.h add iob_addfile_close (iob_reset will close the files) 2004-02-25 02:22:54 +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
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 simplify some expressions 2007-01-26 19:56:41 +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 switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
str.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
stralloc.h switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
t.c switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
tai.h remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
taia.h add long long buffer routines 2003-09-05 21:09:14 +00:00
textcode.h switch to size_t and ssize_t 2006-11-07 17:56:05 +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 remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
uint32.h remove obsolete extern from header files 2003-09-06 23:49:47 +00:00
uint64.h add int64 type to uint64.h 2003-08-03 22:24:32 +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