![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
Files | |
| n_3d.h | |
| Simple 3D movement simulation. | |
| n_aabb.h | |
| AABB3D module headers. | |
| n_allegro5.h | |
| Allegro5 helpers. | |
| n_allegro_4.h | |
| Allegro 4 compatibility layer on top of Allegro 5. | |
| n_anim.h | |
| Animations graphics and animations parameters. | |
| n_astar.h | |
| A* Pathfinding API for 2D and 3D grids. | |
| n_atlas.h | |
| Multi-page sprite atlas: random-access cell blitting from a grid. | |
| n_avro.h | |
| Avro binary format encoding/decoding with JSON conversion. | |
| n_base64.h | |
| Base64 encoding and decoding functions using N_STR. | |
| n_clipboard.h | |
| System clipboard: full X11 selection support on Linux, Win32 clipboard on Windows/MinGW. | |
| n_clock_sync.h | |
| Clock synchronization estimator for networked games. | |
| n_common.h | |
| Common headers and low-level functions & define. | |
| n_config_file.h | |
| Config file reading and writing. | |
| n_cookies.h | |
| Domain-aware HTTP cookie jar: Set-Cookie parsing and Cookie header building. | |
| n_crypto.h | |
| Vigenere encoding and decoding functions using N_STR/files. | |
| n_dead_reckoning.h | |
| Dead Reckoning API for latency hiding in networked games. | |
| n_diff.h | |
| Line oriented text comparison (Myers shortest edit script). | |
| n_digest.h | |
| Message digests, HMAC, PBKDF2, and AES-256-GCM AEAD over the OpenSSL EVP API. | |
| n_disk_cache.h | |
| A bounded cache of files in one directory, keyed by content. | |
| n_dns.h | |
| Minimal DNS message helpers: parse a query question and build an A-record response. | |
| n_ecc.h | |
| Curve25519 primitives: X25519 key agreement and Ed25519 signatures. | |
| n_entropy.h | |
| Randomness/entropy metrics for byte samples (token-randomness analysis). | |
| n_enum.h | |
| Macro to build enums and their tostring counterparts, a reduced version of https://github.com/FredBienvenu/SmartEnum. | |
| n_exceptions.h | |
| Exception management for C. | |
| n_files.h | |
| Files configuration header. | |
| n_fluids.h | |
| Fluid management port from "How to write an Eulerian fluid simulator with 200 lines of code", by Ten Minute Physics ( https://www.youtube.com/watch?v=iKAVRgIrUOU ). | |
| n_games.h | |
| Games helpers functions. | |
| n_git.h | |
| libgit2 wrapper for Git repository operations | |
| n_gui.h | |
| GUI system: buttons, sliders, text areas, checkboxes, scrollbars, dropdown menus, windows. | |
| n_gui_color.h | |
| A colour picker dialog for N_GUI, and a swatch to show a colour. | |
| n_gui_colorwheel.h | |
| A colour wheel for N_GUI: one point in a disc, dragged. | |
| n_gui_curve.h | |
| A curve editor for N_GUI: control points on a curve over [0,1]. | |
| n_gui_grid.h | |
| A virtualised grid of cells for N_GUI, scrolled vertically. | |
| n_gui_md.h | |
| Lay out and draw n_markdown's block model with Allegro fonts. | |
| n_gui_popup.h | |
| A popup menu with submenus for N_GUI, the kind a right click opens. | |
| n_hash.h | |
| Hash functions and table. | |
| n_hex.h | |
| Hexadecimal encode/decode helpers. | |
| n_html.h | |
| Lightweight HTML/XML extraction: links, forms, and sitemap URLs. | |
| n_http2.h | |
| HTTP/2 (RFC 7540) wire framing plus HPACK header compression (RFC 7541). | |
| n_http2_server.h | |
| HTTP/2 (RFC 7540) server-side connection and stream state machine. | |
| n_http3.h | |
| Minimal blocking HTTP/3 (over QUIC) client. | |
| n_http_cookie.h | |
| Server-side cookies: read a Cookie header, build a Set-Cookie value. | |
| n_http_form.h | |
| Strict percent-decoding, query strings and urlencoded forms. | |
| n_http_mime.h | |
| Media type of a file from its extension, for a static file server. | |
| n_http_req.h | |
| Pure, strict, bounded parser for an HTTP/1.1 request head. | |
| n_http_response.h | |
| HTTP/1.1 response: validated headers, memory or file body, framing. | |
| n_http_router.h | |
| HTTP router: static route tables, typed placeholders, specificity. | |
| n_http_server.h | |
| HTTP/1.1 server: TLS or plain, deadlines, limits, keep-alive. | |
| n_icc.h | |
| Finding the ICC colour profile embedded in an image file. | |
| n_iso_engine.h | |
| Isometric/axonometric tile engine with height maps, terrain transitions, and A* pathfinding integration. | |
| n_json.h | |
| Small public JSON helper, a thin wrapper over the vendored cJSON. | |
| n_kafka.h | |
| Kafka generic produce and consume event header. | |
| n_list.h | |
| List structures and definitions. | |
| n_log.h | |
| Generic log system. | |
| n_lz4.h | |
| LZ4 block-compression handler. | |
| n_markdown.h | |
| Parse a SAFE, strict subset of Markdown into a block / styled-span model. | |
| n_module.h | |
| Load a shared library at runtime and find its symbols. | |
| n_network.h | |
| Network Engine. | |
| n_network_accept_pool.h | |
| Accept pool for parallel connection acceptance (nginx-style). | |
| n_network_msg.h | |
| Network messages , serialization tools. | |
| n_nodup_log.h | |
| Generic No Dup Log system. | |
| n_openssl_compat.h | |
| One place deciding which OpenSSL/LibreSSL features the build can use. | |
| n_particles.h | |
| Particles management. | |
| n_pcre.h | |
| PCRE helpers for regex matching. | |
| n_pretty.h | |
| Lexical pretty-printers for JSON, XML/HTML and JavaScript text. | |
| n_pth.h | |
| Reading the tensors of a PyTorch checkpoint (.pth, .pt) without Python. | |
| n_query.h | |
| Small boolean query language over caller-named fields. | |
| n_random.h | |
| Cryptographically secure random bytes and hex tokens. | |
| n_reactor.h | |
| Single-threaded epoll reactor for n_network connections. | |
| n_sha256.h | |
| SHA-256 in portable C, fed a piece at a time. | |
| n_signals.h | |
| Signals general handling with stack printing, from https://gist.github.com/jvranish/4441299. | |
| n_ssrf.h | |
| SSRF address guard: is a resolved IP a public, routable unicast address? | |
| n_stack.h | |
| Stack header definitions. | |
| n_str.h | |
| N_STR and string function declaration. | |
| n_thread_pool.h | |
| Thread pool declaration. | |
| n_tiff.h | |
| Reading the tags of a TIFF structured buffer. | |
| n_time.h | |
| Timing utilities. | |
| n_trajectory.h | |
| Trajectory interpolation and dead reckoning for 2D/3D networked simulations. | |
| n_trees.h | |
| trees module headers | |
| n_url_safe.h | |
| Hardened, bounded URL + HTTP/1.x response-head parsing for a safe fetcher. | |
| n_user.h | |
| USERS handling for tiny game apps. | |
| n_windows.h | |
| n_wrap.h | |
| Greedy word-wrap over pre-measured, styled items. | |
| n_x509.h | |
| X.509 helpers: self-signed CA generation and per-host leaf minting. | |
| n_zip.h | |
| Reading members out of a ZIP archive, to a file or into memory. | |
| n_zlib.h | |
| ZLIB compression handler. | |