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 5712f98211 check new json encoding пре 3 година
array small buffer optimization пре 5 година
buffer remove unnecessary x86intrin.h include пре 4 година
byte shut up new gcc 6 warnings пре 4 година
case switch to size_t and ssize_t пре 14 година
cdb test for pread and use it instead of lseek+read in cdb and io_mmapwritefile пре 4 година
critbit also install critbit.h пре 5 година
dns shut up new gcc 6 warnings пре 4 година
examples include <foo> -> include "foo" пре 4 година
fmt another gcc 6 warning fix пре 4 година
io some more eagain handling in tryread and trywrite пре 4 година
mmap instead of calling mmap with a size of 0 (which will fail), skip the пре 4 година
mult another gcc 6 warning fix пре 4 година
open get rid of more -Wconversion warnings пре 6 година
scan osx пре 4 година
socket add #include <string.h> for memset/strcpy пре 4 година
str shut up new gcc 6 warnings пре 4 година
stralloc shut up new gcc 6 warnings пре 4 година
tai get rid of more -Wconversion warnings пре 6 година
taia get rid of more -Wconversion warnings пре 6 година
test include <foo> -> include "foo" пре 4 година
textcode handle \n etc пре 3 година
uint remove compiler warnings пре 6 година
unix get rid of more -Wconversion warnings пре 6 година
.cvsignore test for pread and use it instead of lseek+read in cdb and io_mmapwritefile пре 4 година
CAS.h fix compile error пре 7 година
CHANGES remove OpenBSD #warning (obsd maintainer says no longer needed) пре 4 година
COPYING Initial revision пре 20 година
GNUmakefile make dep fix пре 4 година
Makefile make dep fix пре 4 година
README mention my email address пре 18 година
TODO fix for NetBSD 3.0 (they broke their sys/types.h) пре 14 година
array.h make headers work in C++ пре 9 година
buffer.h small buffer optimization пре 5 година
byte.h define UNALIGNED_ACCESS_OK on x86 пре 7 година
case.h make headers work in C++ пре 9 година
cdb.h make headers work in C++ пре 9 година
cdb_make.h make headers work in C++ пре 9 година
compiletimeassert.h add compiletimeassert.h пре 8 година
critbit.h make critbit0_contains as pure пре 5 година
dns.h get rid of more -Wconversion warnings пре 6 година
ent.c fix operator precedence пре 5 година
entities.json $ make WERROR=-Werror now builds with -Werror пре 6 година
errmsg.h make headers work in C++ пре 9 година
errmsg_int.h add errmsg_int.h пре 15 година
fmt.h add marshaling code for protocol buffers пре 5 година
iarray.h fix and document iarray пре 6 година
io.h hopefully fix the infinite loop in gatling пре 6 година
io_internal.h add deferral code пре 4 година
iob.h make headers work in C++ пре 9 година
iob_internal.h use callback based infrastructure to reset iob's пре 13 година
iopause.h1 for installed header files, add comment saying where they came from пре 10 година
iopause.h2 for installed header files, add comment saying where they came from пре 10 година
ip4.h get rid of more -Wconversion warnings пре 6 година
ip6.h get rid of more -Wconversion warnings пре 6 година
isset.h add awesome hack in isset.h (comex, Linus Torvalds) пре 8 година
likely.h add iarray пре 12 година
mmap.h add mmap_readat пре 4 година
ndelay.h make headers work in C++ пре 9 година
open.h make headers work in C++ пре 9 година
openreadclose.h make headers work in C++ пре 9 година
rangecheck.h add gcc 5 integer overflow intrinsics support to rangecheck.h пре 5 година
readclose.h get rid of more -Wconversion warnings пре 6 година
safemult.h use static inline instead of extern inline пре 5 година
scan.h add marshaling code for protocol buffers пре 5 година
select.h1 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns пре 18 година
select.h2 more BSD compat пре 17 година
socket.h add socket_udp4b and socket_udp6b пре 5 година
str.h make headers work in C++ пре 9 година
stralloc.h more constness for stralloc and buffer пре 6 година
t.c check new json encoding пре 3 година
tai.h make headers work in C++ пре 9 година
taia.h make headers work in C++ пре 9 година
textcode.h add base64url support (forgot header) пре 4 година
tryalloca.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trybsdsf.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trydevpoll.c broken lose32 port using mingw (don't use!!!) пре 17 година
tryepoll.c $ make WERROR=-Werror now builds with -Werror пре 6 година
tryinline.c work around compilers that don't understand "static inline" пре 19 година
tryip6.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trykqueue.c add epoll and kqueue tests пре 17 година
tryn2i.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trypoll.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns пре 18 година
trypread.c add pread test пре 4 година
tryscope.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trysendfile.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trysigio.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trysl.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trysocket.c $ make WERROR=-Werror now builds with -Werror пре 6 година
trysysel.c monster update: add tai, taia, iopause, case, and ipv6 enhanced dns пре 18 година
tryuint128.c add tryuing128.c and ignore haveuint128.h пре 7 година
uint16.h make headers work in C++ пре 9 година
uint32.h make headers work in C++ пре 9 година
uint64.h make headers work in C++ пре 9 година
va_narg.h for installed header files, add comment saying where they came from пре 10 година
windoze.h fix some bugs that cppcheck found пре 6 година

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