These are utility functions that I use in my projects, and I can't include them into ffbase or ffos repositories. Feel free to use them if you want, everything here is absolutely free.
System:
sys/aio.h File AIO
sys/crash.h Crash handler
sys/kcq.h Process events from kernel call queue; multiple workers
sys/kq-kcq.h Bridge between KQ and KCQ
sys/kq-timer.h KQ timer
sys/kq-tq.h Bridge between KQ and TQ
sys/kq.h Process events from kernel queue
sys/log.h Logger
sys/thpool.c
sys/thpool.h Thread pool for offloading the operations that may take a long time to complete.
sys/unix-shell.h UNIX shell utils
sys/windows-shell.h Windows shell utils
sys/woeh.h Windows object handler - call a user function when a kernel object signals.
Data:
data/cmdarg-scheme.h command-line arguments parser with scheme
data/cmdarg.h command-line arguments parser
data/conf-args.h ffconf-ffargs bridge
data/conf-obj.h ffconf extension: `object {...}`; partial input
data/conf-scheme.h configuration parser with scheme
data/conf-write.h conf writer
data/conf2.h configuration parser
data/fntree.h File name tree with economical memory management.
data/html.h HTML parser
data/mbuf.h Buffer that can be linked with another buffer
data/range.h memory region pointer
data/stream.h stream buffer
data/taskqueue.h task queue: First in, first out. One reader/deleter, multiple writers.
data/util.hpp C++ utility functions
Network:
net/dns-client.h DNS client
net/dns.h DNS constants and message read/write functions
net/http-client.h HTTP client
net/http1-status.h HTTP status codes and messages
net/http1.h Read/write HTTP/1 data
net/intel-dpdk.h Intel DPDK wrapper
net/ipaddr.h IPv4 address
net/socks.h SOCKS4
net/ssl.h OpenSSL wrapper
net/tls.h TLS reader
net/url.h
net/websocket.h WebSocket reader/writer
DB:
db/db.h
db/postgre.h PostgreSQL libpq wrapper
db/sqlite.h SQLite wrapper
Unsorted:
misc/ico-read.h .ico reader
misc/jni-helper.h JNI wrapper
misc/pe.c
misc/pe.h PE (Windows executable) parser
misc/pixel-conv.h Convert pixel lines
ffbase & ffos
This code is in public domain.