9 Structures
gullradriel edited this page 2026-11-02 12:42:25 +01:00

Structures

  • struct A4_BMP
  • struct A4_TIMER
  • struct AABB3D
    Axis-Aligned Bounding Box (AABB) algorithm.
  • struct ANIM_DATA
    animation properties
  • struct ANIM_FRAME
    struct of the properties of a frame in an animation
  • struct ANIM_GFX
    struct of an animation
  • struct ANIM_LIB
    structure of a library of gfxs
  • struct ASTAR_BOX
    Search window: the bounding box of (start, goal) expanded by ASTAR_SEARCH_MARGIN and clamped to the grid.
  • struct ASTAR_CELL
    Internal node data used during pathfinding.
  • struct ASTAR_GRID
    Grid structure holding walkability, costs, and dimensions.
  • struct ASTAR_HEAP
    Binary min-heap (priority queue) for the open list.
  • struct ASTAR_HEAP_NODE
    Min-heap entry for the open list priority queue.
  • struct ASTAR_NODE
    A single node in the resulting path.
  • struct ASTAR_PATH
    The computed path result.
  • struct AVRO_FIELD
    Avro schema field (for records).
  • struct AVRO_READER
    Avro read cursor for decoding.
  • struct AVRO_SCHEMA
    Avro schema definition.
  • struct BITMAP
    Allegro 4 bitmap.
  • struct CALLBACK_DATA
    data passed to accept callback and worker threads
  • struct CA_CTX
    CA used by the server to mint per-host leaves.
  • struct CLIENT_JOB
    a client thread's job
  • struct CLIENT_STATE
    shared state for client threads
  • struct CONFIG_FILE
    Structure of a config file.
  • struct CONFIG_FILE_SECTION
    Structure of a config section.
  • union COORD_VALUE
    Union to store the coordinate values.
  • struct CYPHER_PARAM
    structure of a n_vigenere_cypher_thread param
  • struct DATA
    string and int holder
  • struct DEMO_PANEL
    one demo panel: a window plus the button that detaches / attaches it
  • struct DICTIONARY_DEFINITION
    dictionary definition for DICTIONARY_ENTRY
  • struct DICTIONARY_ENTRY
    dictionary entry
  • struct DIFF_OUT
    growing output buffer fed by write_and_fit_ex
  • struct DIFF_TEXT
    a text split into lines, all pointing into one owned buffer
  • struct DRAW_STATE
  • struct DR_ENTITY
    Dead reckoned entity with extrapolation and convergence state.
  • struct DR_STATE
    A snapshot of entity kinematic state at a point in time.
  • struct DR_VEC3
    3D vector used for position, velocity, and acceleration
  • struct ExceptionContextList
    Exception stack structure.
  • struct FONT
    a font: the built in one, or a TTF font loaded with load_ttf_font()
  • struct GAME_ENV
    Game Environment structure.
  • struct H2BUF
    a growable byte buffer for the read stream and the per-stream accumulators
  • struct H2_DYN_ENTRY
    one HPACK dynamic table entry (owned strings and its accounted size)
  • struct H2_STREAM
    one client-initiated stream
  • union HASH_DATA
    union of the possibles data values of a node
  • struct HASH_NODE
    structure of a hash table node
  • struct HASH_TABLE
    structure of a hash table
  • struct ISO_DRAW_ENTRY
    Draw order entry for segment-sorted rendering.
  • struct ISO_MAP
    Height-aware isometric map with terrain and height layers, per-cell height values, configurable projection, and terrain transition support.
  • struct ISO_PROJECTION
    Axonometric projection parameters.
  • struct ISO_TILE_SEGMENT
    Single vertical segment of a tile: solid matter from bottom to top.
  • struct ISO_TILE_SEGMENTS
    Per-tile height segments.
  • struct ISO_VISIBLE_EDGES
    Per-tile edge visibility flags for height border rendering.
  • struct JS_STATE
    JS emitter state threaded through the helpers.
  • struct LEX_ITEM
  • struct LIST
    Structure of a generic LIST container.
  • struct LIST_NODE
    Structure of a generic list node.
  • struct LOG_LEVELS
    internal struct to handle log types
  • struct LexMenu
    an INI driven menu
  • struct MEMBER
    one stored member
  • struct MIDI
    a MIDI song
  • struct NESTED
    what nested() needs
  • struct NETWORK
    Structure of a NETWORK.
  • struct NETWORK_HTTP_INFO
    structure for splitting HTTP requests
  • struct NETWORK_POOL
    structure of a network pool
  • struct NETWORK_SSL_THREAD_PARAMS
    structure of a NETWORK_SSL_THREAD_PARAMS
  • struct NETW_ACCEPT_POOL
    Structure of a parallel accept pool.
  • struct NETW_ACCEPT_POOL_STATS
    Statistics for the accept pool.
  • struct NETW_MSG
    network message, array of char and int
  • struct NETW_SNI_ARG
  • struct NODE_DATA
    structure of a TREE node data
  • union NODE_DATA_TYPES
    union of the possibles data values of a TREE node
  • struct N_ATLAS
    a set of atlas pages addressed as (page, cell index)
  • struct N_ATLAS_PAGE
    one atlas page: a bitmap holding cols*rows equally sized cells
  • struct N_CLOCK_SYNC
    clock synchronization estimator
  • struct N_COOKIE
    a single stored cookie
  • struct N_COOKIE_JAR
    a thread-safe cookie jar
  • struct N_DIFF_LINE
    one line of an edit script
  • struct N_DIFF_RESULT
    edit script turning one text into another
  • struct N_DISK_CACHE
    a cache: only where it is
  • struct N_ENTROPY_BIT
    per-bit statistics across a set of equal-length samples
  • struct N_ENTROPY_POS
    per-position statistics across a set of equal-length samples
  • struct N_FILE_INFO
    common file information
  • struct N_FLUID
    structure of a fluid
  • struct N_FLUID_THREAD_PARAMS
    structure passed to a threaded fluid process
  • struct N_FORM_FIELD
    a single form field (input, select, textarea, button)
  • struct N_GIT_COMMIT_INFO
    Commit metadata.
  • struct N_GIT_REMOTE_AUTH
    Credentials for remote operations.
  • struct N_GIT_REPO
    Wrapper around a git_repository handle.
  • struct N_GIT_STATUS_ENTRY
    Single file status entry.
  • struct N_GUI_BUTTON_DATA
    button specific data
  • struct N_GUI_CHECKBOX_DATA
    checkbox specific data
  • struct N_GUI_COLOR_PICKER
    a colour picker: the ids of its widgets and the colour being edited
  • struct N_GUI_COMBOBOX_DATA
    combo box specific data
  • struct N_GUI_CTX
    The top-level GUI context that holds all windows.
  • struct N_GUI_CUSTOM_DATA
    Owner-draw custom widget data: a paint callback, an optional mouse callback, and their user pointers.
  • struct N_GUI_DATAGRID_COL
    one data grid column definition
  • struct N_GUI_DATAGRID_DATA
    data grid specific data: a sortable column table
  • struct N_GUI_DROPMENU_DATA
    dropdown menu specific data
  • struct N_GUI_DROPMENU_ENTRY
    A single entry in a dropdown menu (static or dynamic).
  • struct N_GUI_GRID_CALLBACKS
    What the grid asks of its caller.
  • struct N_GUI_HEXVIEW_DATA
    hex viewer specific data: a read-only byte dump
  • struct N_GUI_IMAGE_DATA
    image widget specific data
  • struct N_GUI_KVTABLE
    key-value table built from textareas, checkboxes, and buttons.
  • struct N_GUI_KV_CONTENT
  • struct N_GUI_KV_ROW
    a single row in the KV table
  • struct N_GUI_LABEL_DATA
    static text label specific data
  • struct N_GUI_LISTBOX_DATA
    listbox specific data
  • struct N_GUI_LISTITEM
    a single item in a list/radio/combo widget
  • struct N_GUI_MARKDOWNVIEW_DATA
    markdownview specific data.
  • struct N_GUI_MD_FONTS
    The faces a render uses.
  • struct N_GUI_MD_STYLE
    Colours and metrics.
  • struct N_GUI_MEAS_ENTRY
  • struct N_GUI_MOUSE_EVENT
    A mouse event handed to a custom widget, in the widget's own coordinates.
  • struct N_GUI_PENDING_GEOM
    A saved window position retained for a window not yet created at load time (see N_GUI_CTX::pending_layout).
  • struct N_GUI_PENDING_WIDGET
    Saved user-adjustable state for a keyed widget that did not exist when the layout was loaded (a lazily-created splitpane/datagrid).
  • struct N_GUI_POPUP
    the popup
  • struct N_GUI_PROGRESSBAR_DATA
    Progress-bar widget data (display only).
  • struct N_GUI_RADIOLIST_DATA
    radio list specific data
  • struct N_GUI_SB_TRACK
    Where a scrollbar a widget draws inside itself was last painted, and whether the pointer is on it.
  • struct N_GUI_SCROLLBAR_DATA
    scrollbar specific data
  • struct N_GUI_SECTION
    a single foldable section: a clickable header plus the member widgets it shows/hides
  • struct N_GUI_SECTIONLIST
    a vertical accordion of foldable sections inside one window; folding hides a section's widgets and re-stacks the rest, leaving the window's N_GUI_WIN_AUTO_SCROLLBAR to absorb any overflow
  • struct N_GUI_SLIDER_DATA
    slider specific data
  • struct N_GUI_SPLITPANE_DATA
    split pane specific data: a draggable divider between two regions
  • struct N_GUI_STYLE
    Global style holding every configurable layout constant.
  • struct N_GUI_SUGGEST_SINK
    handle textarea key input.
  • struct N_GUI_SYNTAXVIEW_DATA
    syntax view specific data: read-only highlighted text
  • struct N_GUI_TAB_PANEL
    tab panel built from toggle buttons with content window management
  • struct N_GUI_TB_BUTTONS
    Titlebar button state for a window (minimize, maximize, close).
  • struct N_GUI_TEXTAREA_DATA
    text area specific data
  • struct N_GUI_TEXT_DIMS
    bounding box dimensions returned by n_gui_get_text_dims()
  • struct N_GUI_THEME
    Color theme for a widget.
  • struct N_GUI_TREE
    tree view built from an N_GUI listbox
  • struct N_GUI_TREE_NODE
    a single node in the tree view
  • struct N_GUI_TREE_STATE
    A tree's view state, captured by path so it survives a rebuild that replaces every node (a reloaded model has new pointers and new indices).
  • struct N_GUI_WIDGET
    A single GUI widget.
  • struct N_GUI_WINDOW
    A pseudo window that contains widgets.
  • struct N_H2_FRAME
    a parsed HTTP/2 frame; payload aliases the input buffer
  • struct N_H2_HEADER
    one HPACK header field; after a decode both strings are owned (heap)
  • struct N_H2_HPACK
    HPACK codec context: the dynamic table (index 0 = most recently added).
  • struct N_H2_REQUEST
    one complete request received on a stream; every pointer is owned by the server and valid only for the duration of the request callback
  • struct N_H2_SERVER
    server connection state
  • struct N_H2_SETTING
    one SETTINGS parameter (identifier and value)
  • struct N_HTML_ATTR_
    attribute parsed off an HTML start tag (name lowercased, value raw)
  • struct N_HTML_FORM
    a parsed HTML form with its fields
  • struct N_HTML_TAG_
    a single tag picked out by the scanner
  • struct N_HTTP3_RESPONSE
    Result of an HTTP/3 exchange.
  • struct N_HTTP_FIELD
    one decoded name=value pair; both are NUL-terminated and hold no NUL
  • struct N_HTTP_FORM
    decoded fields, in the order they were sent
  • struct N_HTTP_FORM_MULTIPART
    a parsed multipart/form-data body
  • struct N_HTTP_FORM_PART
    one part of a multipart/form-data body; the body is NOT copied
  • struct N_HTTP_MULTIPART_PART
    a single part of a parsed multipart/form-data body
  • struct N_HTTP_REQUEST
    parsed HTTP request for mock server callback
  • struct N_HTTP_RESP
    a response under construction (fields are private, use the functions)
  • struct N_HTTP_RESPONSE
    HTTP response to send from mock server callback.
  • struct N_HTTP_SERVER
    a server (opaque)
  • struct N_HTTP_SERVER_CONFIG
    server settings; start from n_http_server_config_defaults()
  • struct N_HTTP_SERVER_REQUEST
    a request as the handler sees it (fields are read-only)
  • struct N_HTTP_SERVER_STATS
    counters, see n_http_server_stats()
  • struct N_HTTP_SET_COOKIE
    what a Set-Cookie should carry
  • struct N_HTTP_STREAM
    a streamed body being written
  • struct N_ISO_CAMERA
    2D isometric camera for viewport management.
  • struct N_ISO_OBJECT
    Drawable object for depth-sorted isometric rendering.
  • struct N_KAFKA
    structure of a KAFKA consumer or producer handle
  • struct N_KAFKA_EVENT
    structure of a KAFKA message
  • struct N_MOCK_SERVER
    mock HTTP server handle
  • struct N_MODULE
    an opened shared library
  • struct N_PARALLEL_SLICE
    One slice of a parallel loop, as handed to its thread.
  • struct N_PARALLEL_TEAM
    A team of threads kept alive between parallel loops.
  • struct N_PARALLEL_WORKER
    One worker of a N_PARALLEL_TEAM, as handed to its thread.
  • struct N_PCRE
    N_PCRE structure.
  • struct N_PROXY_CFG
    Parsed proxy URL components.
  • struct N_PTH
    A checkpoint's tensors.
  • struct N_PTH_TENSOR
    One tensor of a checkpoint.
  • struct N_QUERY
    Opaque compiled query (see n_query_compile / n_query_eval / n_query_free).
  • struct N_ROUTE
    one route of a table
  • struct N_ROUTER
    a compiled router (opaque)
  • struct N_ROUTE_MATCH
    a successful match: the route and its decoded placeholder values
  • struct N_SHA256
    a SHA-256 in progress: plain data, copyable to fork a hash
  • struct N_SOCKET
    Structure of a N_SOCKET.
  • struct N_SPAWN_PIPE
    A program started with its standard input on a pipe the caller writes to (n_spawn_pipe_open()), or its standard output on one the caller reads (n_spawn_pipe_open_read()).
  • struct N_SSE_CONN
    SSE connection handle.
  • struct N_SSE_EVENT
    SSE event received from server.
  • struct N_STR
    A box including a string and his lenght.
  • struct N_TIFF
    The first directory of a TIFF structured buffer.
  • struct N_TIFF_ENTRY
    One directory entry.
  • struct N_TIME
    Timing Structure.
  • struct N_URL
    parsed URL components
  • struct N_URL_PARAM
    a single query parameter key=value pair
  • struct N_USER
    USER management cell.
  • struct N_USERLIST
    USER list.
  • struct N_WS_CONN
    WebSocket connection.
  • struct N_WS_FRAME
    A single parsed WebSocket frame (RFC 6455).
  • struct N_WS_MESSAGE
    WebSocket message.
  • struct N_ZIP_MEMBER
    What n_zip_find() says about a member.
  • struct OCTREE
    structure of an OCTREE
  • struct OCTREE_NODE
    structure of an OCTREE node
  • struct PARSER
  • struct PARTICLE
    Structure of a single particle.
  • struct PARTICLE_EMITTER
    Structure of a particle emitter.
  • struct PARTICLE_SYSTEM
    Structure of a particle system.
  • struct PEER
  • struct PHYSICS
    structure of the physics of an object
  • struct PK_OBJ
    One pickle value.
  • struct PK_VM
    The interpreter.
  • struct POINT2D
    Structure for a POINT2D in the 2D space.
  • struct POINT3D
    Structure for a POINT3D in the 3D space.
  • struct PRETTY_OUT
    growing output buffer fed by write_and_fit_ex
  • struct QNODE
  • struct QUADTREE
    structure of a quad tree
  • struct QUADTREE_NODE
    structure of a quad tree node
  • struct REC
  • struct RGB
    palette entry, unused in 32 bit mode
  • struct SAMPLE
    a sound sample
  • struct SEEN
  • struct SHARER
    what sharer() needs
  • struct SRV
    server worker context
  • struct SRV_ARG
    Carries the served leaf certificate to the SNI pick callback.
  • struct STACK
    STACK structure.
  • union STACK_DATA
    structure of a STACK_ITEM data
  • struct STACK_ITEM
    structure of a STACK item
  • struct SYNTAX_RUN
    draw a run of text and advance the pen x by its width.
  • struct THREAD_POOL
    Structure of a thread pool.
  • struct THREAD_POOL_NODE
  • struct THREAD_WAITING_PROC
    Structure of a waiting process item.
  • struct TRAJECTORY
    structure holding all data for trajectory interpolation / extrapolation
  • struct TRAJECTORY_POINT
    a single waypoint in a multi-point trajectory path
  • struct TREE
    structure of a TREE
  • struct TREE_NODE
    structure of a n-ary TREE node
  • struct TS_LOG
    ThreadSafe LOGging structure.
  • struct WAYPOINT3D
  • struct WORKER_ARG
    data passed to worker thread function
  • struct ZIP_SINK
    where unpacked bytes go: a file, or a buffer in memory
  • struct _N_DC_ENTRY
    one entry found by a walk of the directory
  • struct _N_DC_GROUP_ENTRY
    one entry of a group prune: the entry and the cache it is in
  • struct _N_GUI_COLORWHEEL
    a wheel's state, owned by its custom widget
  • struct _N_GUI_COLORWHEEL_BLOCK
    a wheel's state and its mouse callback's context in one allocation, because a custom widget owns one pointer
  • struct _N_GUI_COLORWHEEL_MOUSE
    what a wheel's mouse callback needs: the context and the state
  • struct _N_GUI_CURVE
    an editor's state, owned by its custom widget
  • struct _N_GUI_CURVE_BLOCK
    an editor's state and its mouse callback's context in one allocation, because a custom widget owns one pointer
  • struct _N_GUI_CURVE_MOUSE
    what an editor's mouse callback needs: the context, to find the widget and mark the GUI dirty, and the editor's state
  • struct _N_GUI_GRID
    a grid's state, owned by its custom widget
  • struct _N_GUI_POPUP_ENTRY
    one entry.
  • struct _N_GUI_POPUP_LEVEL
    what a level's widget is handed: stable while the entries array moves
  • struct _N_GUI_SB_SKIN
    The look of one scrollbar: the style values a bar's paint reads, gathered so that the painter does not have to know which set of them it was handed.
  • struct _N_GUI_TA_STEP
    one step of a textarea's per-character wrapped layout
  • struct _N_GUI_THUMB
    a scrollbar thumb: length along the track, and offset from the track start
  • struct _N_GUI_WRAP_ACC
    accumulator for _wrap_words: records the first word index of each line, and whether the line ends a paragraph
  • struct _compiled
  • struct _conn
  • struct _ip_slot
  • struct _mp_param
  • struct _n_civil
  • struct _seg
  • struct client
    a test client connection, plain or TLS
  • struct collector
  • struct date_vector
    a timestamp and what PHP prints for it
  • struct md_atom
    One layout atom: a glyph (nbytes > 0) or a hard break.
  • struct md_cells
  • struct md_hit
    A hit-test threaded through the layout: when a link atom's cell contains the point, its url is copied out while the document is still live.
  • struct md_line_ctx
    Everything a line needs, carried through n_wrap to the emit callback, which is handed only an item range, a line number and a width.
  • struct mline
  • struct n_http_req_header
    One header line, as offsets into the parsed buffer: the name is [name_off, name_off + name_len), the value (surrounding spaces and tabs trimmed) is [value_off, value_off + value_len).
  • struct n_http_req_limits
    Limits for n_http_request_parse_ex().
  • struct n_http_request
    A parsed request head.
  • struct n_markdown_block
    One block.
  • struct n_markdown_doc
    A parsed document: an owned array of blocks.
  • struct n_markdown_inline
    One flow of inline runs (a paragraph, a quote, or one list item).
  • struct n_markdown_span
    One inline run: visible text, a style bitmask, and (for a link) an already-http(s)-validated url.
  • struct n_reactor_stats
    Counters for the dashboard / profile_server.sh.
  • struct n_url_safe
    The parts of an absolute http(s) URL.
  • struct n_url_safe_head
    The response-head fields a fetcher acts on.
  • struct n_wrap_item
    One pre-measured layout item: a glyph, an emoji cell, an inline image, or a whole word, the wrap only ever looks at width and flags.
  • struct producer_state
    what a test producer writes
  • struct rects
  • struct reply
    a parsed response as the client saw it
  • struct runner
    server thread state
  • struct sink
    an in-memory sink for n_http_response_write()
  • struct tbuf
  • struct wrap_hit
    state for n_wrap_index_at's per-line callback
  • struct wrap_span
    state for n_wrap_span_rects' per-line callback