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