Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Felix von Leitner 818f2dc2e9 remove new compiler warnings from gcc 7 3 years ago
array small buffer optimization 5 years ago
buffer remove unnecessary x86intrin.h include 4 years ago
byte shut up new gcc 6 warnings 4 years ago
case switch to size_t and ssize_t 14 years ago
cdb test for pread and use it instead of lseek+read in cdb and io_mmapwritefile 4 years ago
critbit also install critbit.h 5 years ago
dns shut up new gcc 6 warnings 4 years ago
examples include <foo> -> include "foo" 4 years ago
fmt a few more test suites 3 years ago
io some more eagain handling in tryread and trywrite 3 years ago
mmap instead of calling mmap with a size of 0 (which will fail), skip the 4 years ago
mult another gcc 6 warning fix 4 years ago
open get rid of more -Wconversion warnings 6 years ago
scan remove new compiler warnings from gcc 7 3 years ago
socket add #include <string.h> for memset/strcpy 4 years ago
str shut up new gcc 6 warnings 4 years ago
stralloc shut up new gcc 6 warnings 4 years ago
tai get rid of more -Wconversion warnings 6 years ago
taia get rid of more -Wconversion warnings 6 years ago
test add scan_utf8_sem 3 years ago
textcode remove new compiler warnings from gcc 7 3 years ago
uint remove compiler warnings 6 years ago
unix get rid of more -Wconversion warnings 6 years ago
.cvsignore put includes into <libowfat/*.h> 3 years ago
CAS.h remove a few compiler warnings 3 years ago
CHANGES move headers to <libowfat/> upon install 3 years ago
COPYING Initial revision 20 years ago
GNUmakefile scan_jsonescape ends when it sees an unescaped " 3 years ago
Makefile put includes into <libowfat/*.h> 3 years ago
README mention my email address 18 years ago
TODO fix for NetBSD 3.0 (they broke their sys/types.h) 14 years ago
array.h make headers work in C++ 8 years ago
buffer.h small buffer optimization 5 years ago
byte.h define UNALIGNED_ACCESS_OK on x86 7 years ago
case.h make headers work in C++ 8 years ago
cdb.h make headers work in C++ 8 years ago
cdb_make.h make headers work in C++ 8 years ago
compiletimeassert.h add compiletimeassert.h 7 years ago
critbit.h make critbit0_contains as pure 5 years ago
dns.h get rid of more -Wconversion warnings 6 years ago
ent.c remove new compiler warnings from gcc 7 3 years ago
entities.json $ make WERROR=-Werror now builds with -Werror 6 years ago
errmsg.h make headers work in C++ 8 years ago
errmsg_int.h add errmsg_int.h 15 years ago
fmt.h a few more test suites 3 years ago
iarray.h fix and document iarray 6 years ago
io.h hopefully fix the infinite loop in gatling 6 years ago
io_internal.h add deferral code 4 years ago
iob.h remove a few compiler warnings 3 years ago
iob_internal.h use callback based infrastructure to reset iob's 13 years ago
iopause.h1 for installed header files, add comment saying where they came from 10 years ago
iopause.h2 for installed header files, add comment saying where they came from 10 years ago
ip4.h get rid of more -Wconversion warnings 6 years ago
ip6.h get rid of more -Wconversion warnings 6 years ago
isset.h remove a few compiler warnings 3 years ago
likely.h add iarray 11 years ago
mmap.h add mmap_readat 4 years ago
ndelay.h make headers work in C++ 8 years ago
open.h make headers work in C++ 8 years ago
openreadclose.h make headers work in C++ 8 years ago
rangecheck.h add gcc 5 integer overflow intrinsics support to rangecheck.h 5 years ago
readclose.h get rid of more -Wconversion warnings 6 years ago
safemult.h remove a few compiler warnings 3 years ago
scan.h add scan_utf8_sem 3 years ago
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 18 years ago
select.h2 more BSD compat 17 years ago
socket.h add socket_udp4b and socket_udp6b 5 years ago
str.h make headers work in C++ 8 years ago
stralloc.h more constness for stralloc and buffer 5 years ago
t.c remove new compiler warnings from gcc 7 3 years ago
tai.h make headers work in C++ 8 years ago
taia.h make headers work in C++ 8 years ago
textcode.h add base64url support (forgot header) 4 years ago
tryalloca.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trybsdsf.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trydevpoll.c broken lose32 port using mingw (don't use!!!) 17 years ago
tryepoll.c $ make WERROR=-Werror now builds with -Werror 6 years ago
tryinline.c work around compilers that don't understand "static inline" 19 years ago
tryip6.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trykqueue.c add epoll and kqueue tests 17 years ago
tryn2i.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 18 years ago
trypread.c add pread test 4 years ago
tryscope.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysendfile.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysigio.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysl.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysocket.c $ make WERROR=-Werror now builds with -Werror 6 years ago
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns 18 years ago
tryuint128.c add tryuing128.c and ignore haveuint128.h 7 years ago
uint16.h remove a few compiler warnings 3 years ago
uint32.h remove a few compiler warnings 3 years ago
uint64.h make headers work in C++ 8 years ago
va_narg.h for installed header files, add comment saying where they came from 10 years ago
windoze.h fix some bugs that cppcheck found 6 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