You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
leitner 35942878c2 $ make WERROR=-Werror now builds with -Werror
add some single char escaping routines to fmt.h
pull in html5 entities from w3c and use those to do a proper scan_html decoding
fix an off-by-one in fmt_to_array
add a ton of unit tests for the fmt routines
11 years ago
array win32 cross compile fix for iarray 13 years ago
buffer add man pages for buffer_from* 11 years ago
byte add byte_equal_notimingattack 13 years ago
case switch to size_t and ssize_t 18 years ago
cdb small man page updates and add a cdbget test 18 years ago
dns fix for NetBSD 3.0 (they broke their sys/types.h) 19 years ago
examples add a few examples 19 years ago
fmt $ make WERROR=-Werror now builds with -Werror 11 years ago
io hopefully this fixes the looping gatling processes 11 years ago
mmap make first argument to mmap_unmap const 11 years ago
mult fix for 32-bit archs 16 years ago
open fix man page for openreadclose 16 years ago
scan add json encoding routines to textcode 11 years ago
socket mingw compile fix 13 years ago
str switch to size_t and ssize_t 18 years ago
stralloc fix warning 17 years ago
tai even more man pages 22 years ago
taia add taia_half 19 years ago
test $ make WERROR=-Werror now builds with -Werror 11 years ago
textcode $ make WERROR=-Werror now builds with -Werror 11 years ago
uint add uint64 pack and unpack routines 17 years ago
unix add/fix man pages 15 years ago
.cvsignore $ make WERROR=-Werror now builds with -Werror 11 years ago
CAS.h fix compile error 11 years ago
CHANGES add some unit tests for the formatting routines 11 years ago
COPYING Initial revision 24 years ago
GNUmakefile $ make WERROR=-Werror now builds with -Werror 11 years ago
Makefile $ make WERROR=-Werror now builds with -Werror 11 years ago
README mention my email address 22 years ago
TODO fix for NetBSD 3.0 (they broke their sys/types.h) 19 years ago
array.h make headers work in C++ 13 years ago
buffer.h add buffer_fromarray, buffer_frombuf 11 years ago
byte.h define UNALIGNED_ACCESS_OK on x86 11 years ago
case.h make headers work in C++ 13 years ago
cdb.h make headers work in C++ 13 years ago
cdb_make.h make headers work in C++ 13 years ago
compiletimeassert.h add compiletimeassert.h 12 years ago
dns.h make headers work in C++ 13 years ago
ent.c $ make WERROR=-Werror now builds with -Werror 11 years ago
entities.json $ make WERROR=-Werror now builds with -Werror 11 years ago
errmsg.h make headers work in C++ 13 years ago
errmsg_int.h add errmsg_int.h 19 years ago
fmt.h $ make WERROR=-Werror now builds with -Werror 11 years ago
iarray.h document the return value expected from the callback given to iob_write 13 years ago
io.h add io_fd_canwrite (like io_fd but assume the fd is writable) 13 years ago
io_internal.h make headers work in C++ 13 years ago
iob.h make headers work in C++ 13 years ago
iob_internal.h use callback based infrastructure to reset iob's 17 years ago
iopause.h1 for installed header files, add comment saying where they came from 14 years ago
iopause.h2 for installed header files, add comment saying where they came from 14 years ago
ip4.h make headers work in C++ 13 years ago
ip6.h make headers work in C++ 13 years ago
isset.h add awesome hack in isset.h (comex, Linus Torvalds) 13 years ago
likely.h add iarray 16 years ago
mmap.h make first argument to mmap_unmap const 11 years ago
ndelay.h make headers work in C++ 13 years ago
open.h make headers work in C++ 13 years ago
openreadclose.h make headers work in C++ 13 years ago
rangecheck.h make headers work in C++ 13 years ago
readclose.h make headers work in C++ 13 years ago
safemult.h make headers work in C++ 13 years ago
scan.h add scan_ulongn, scan_8longn, scan_xlongn and scan_longn 11 years ago
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 22 years ago
select.h2 more BSD compat 21 years ago
socket.h make headers work in C++ 13 years ago
str.h make headers work in C++ 13 years ago
stralloc.h make headers work in C++ 13 years ago
t.c add json encoding routines to textcode 11 years ago
tai.h make headers work in C++ 13 years ago
taia.h make headers work in C++ 13 years ago
textcode.h add json encoding routines to textcode 11 years ago
tryalloca.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trybsdsf.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trydevpoll.c broken lose32 port using mingw (don't use!!!) 21 years ago
tryepoll.c $ make WERROR=-Werror now builds with -Werror 11 years ago
tryinline.c work around compilers that don't understand "static inline" 23 years ago
tryip6.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trykqueue.c add epoll and kqueue tests 21 years ago
tryn2i.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 22 years ago
tryscope.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trysendfile.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trysigio.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trysl.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trysocket.c $ make WERROR=-Werror now builds with -Werror 11 years ago
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 22 years ago
tryuint128.c add tryuing128.c and ignore haveuint128.h 11 years ago
uint16.h make headers work in C++ 13 years ago
uint32.h make headers work in C++ 13 years ago
uint64.h make headers work in C++ 13 years ago
va_narg.h for installed header files, add comment saying where they came from 14 years ago
windoze.h make headers work in C++ 13 years ago

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