6 dir_68267d1309a1af8e8297ef4c3efbcdba
gullradriel edited this page 2026-10-29 20:54:40 +01:00

src

Files

Name
src/n_zlib.c
ZLIB compression handler.
src/n_zip.c
Reading members out of a ZIP archive, to a file.
src/n_x509.c
X.509 helpers implementation: CA generation and per-host leaf minting.
src/n_wrap.c
Greedy word-wrap over pre-measured, styled items.
src/n_user.c
Network user handling functions.
src/n_url_safe.c
Hardened URL + HTTP/1.x response-head parsing (see n_url_safe.h).
src/n_trees.c
Tree functions.
src/n_trajectory.c
Trajectory interpolation and dead reckoning for 2D/3D.
src/n_time.c
Common time functions.
src/n_tiff.c
Reading the tags of a TIFF structured buffer.
src/n_thread_pool.c
Thread pool functions.
src/n_str.c
String functions, everything you need to use string is here.
src/n_stack.c
Stack functions definitions.
src/n_ssrf.c
SSRF address guard (see n_ssrf.h).
src/n_signals.c
Signals general handling with stack printing.
src/n_sha256.c
SHA-256 in portable C, fed a piece at a time (FIPS 180-4).
src/n_reactor.c
Single-threaded epoll reactor.
src/n_random.c
Cryptographically secure random bytes and hex tokens.
src/n_query.c
Implementation of the small boolean field-query language.
src/n_pth.c
Reading the tensors of a PyTorch checkpoint without Python.
src/n_pretty.c
Lexical pretty-printers for JSON, XML/HTML and JavaScript text.
src/n_pcre.c
PCRE helpers for regex matching.
src/n_particles.c
particle function file for SantaHack 2012
src/n_nodup_log.c
generic no duplicate logging system
src/n_network_msg.c
Network messages function.
src/n_network_accept_pool.c
Accept pool for parallel connection acceptance (nginx-style).
src/n_network.c
Network Engine.
src/n_module.c
Load a shared library at runtime and find its symbols.
src/n_markdown.c
Safe-subset Markdown parser.
src/n_lz4.c
LZ4 block-compression wrappers, zip4_nstr / unzip4_nstr.
src/n_log.c
Generic logging system.
src/n_list.c
Pointer list functions definitions.
src/n_linalg.c
Small dense linear systems.
src/n_kafka.c
Generic kafka consume and produce event functions.
src/n_json.c
Implementation of the small public JSON wrapper over cJSON.
src/n_iso_engine.c
Isometric/axonometric tile engine with height maps, terrain transitions, and A* pathfinding integration.
src/n_icc.c
Finding the ICC colour profile embedded in an image file.
src/n_http_server.c
HTTP/1.1 server (see n_http_server.h).
src/n_http_router.c
HTTP router (see n_http_router.h).
src/n_http_response.c
HTTP/1.1 response builder and writer (see n_http_response.h).
src/n_http_req.c
HTTP/1.1 request-head parser (see n_http_req.h).
src/n_http_mime.c
Media type of a file from its extension (see n_http_mime.h).
src/n_http_form.c
Strict percent-decoding, query strings and urlencoded forms (see n_http_form.h).
src/n_http_cookie.c
Server-side cookies (see n_http_cookie.h).
src/n_http3.c
Implementation of the minimal blocking HTTP/3 client (see n_http3.h).
src/n_http2_server.c
HTTP/2 server connection and stream state machine (see n_http2_server.h).
src/n_http2.c
HTTP/2 (RFC 7540) wire framing and HPACK (RFC 7541) header compression.
src/n_html.c
Lightweight HTML/XML extraction: links, forms, and sitemap URLs.
src/n_hex.c
Hexadecimal encode/decode helpers.
src/n_hash.c
Hash functions and table.
src/n_gui_popup.c
A popup menu with submenus for N_GUI, the kind a right click opens.
src/n_gui_md.c
Markdown layout and drawing.
src/n_gui_grid.c
A virtualised grid of cells for N_GUI, scrolled vertically.
src/n_gui_curve.c
A curve editor for N_GUI: control points on a curve over [0,1].
src/n_gui_colorwheel.c
A colour wheel for N_GUI: one point in a disc, dragged.
src/n_gui_color.c
A colour picker dialog for N_GUI, and a swatch to show a colour.
src/n_gui.c
GUI system: buttons, sliders, text areas, checkboxes, scrollbars, dropdown menus, windows.
src/n_git.c
libgit2 wrapper for Git repository operations
src/n_games.c
Games helpers functions.
src/n_fluids.c
Fluid management functions , ported from https://www.youtube.com/watch?v=iKAVRgIrUOU&t=522s.
src/n_files.c
Cross-platform directory scanning (Linux/Solaris/Windows), optionnal recursion.
src/n_exceptions.c
ExceptionContextList management for C.
src/n_entropy.c
Implementation of the byte-sample randomness metrics.
src/n_ecc.c
Curve25519 primitives: X25519 key agreement and Ed25519 signatures.
src/n_dns.c
Minimal DNS message helpers implementation.
src/n_disk_cache.c
A bounded cache of files in one directory, keyed by content.
src/n_digest.c
Message digests, HMAC, PBKDF2, and AES-256-GCM AEAD over the OpenSSL EVP API.
src/n_diff.c
Line oriented text comparison (Myers shortest edit script).
src/n_dead_reckoning.c
Dead Reckoning implementation for latency hiding in networked games.
src/n_crypto.c
Vigenere encode decode function.
src/n_cookies.c
Domain-aware HTTP cookie jar: Set-Cookie parsing and Cookie header building.
src/n_config_file.c
Config function.
src/n_common.c
Common function.
src/n_clock_sync.c
Clock synchronization estimator implementation.
src/n_clipboard.c
System clipboard: X11 selections on Linux, Win32 clipboard on Windows (see n_clipboard.h).
src/n_base64.c
Base64 encode decode function, adapted from https://opensource.apple.com/source/QuickTimeStreamingServer/QuickTimeStreamingServer-452/CommonUtilitiesLib/base64.c.
src/n_avro.c
Avro binary format encoding/decoding with JSON conversion.
src/n_atlas.c
Multi-page sprite atlas: random-access cell blitting from a grid.
src/n_astar.c
A* Pathfinding implementation for 2D and 3D grids.
src/n_anim.c
Anim functions.
src/n_allegro_4.c
Allegro 4 compatibility layer on top of Allegro 5.
src/n_allegro5.c
Allegro5 helpers.
src/n_aabb.c
AABB3D functions.
src/n_3d.c
3D helpers, vector