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

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