Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
Data Structures
Here are the data structures with brief descriptions:
 C_compiled
 C_conn
 C_ip_slot
 C_mp_param
 C_n_civil
 C_N_DC_ENTRYOne entry found by a walk of the directory
 C_N_DC_GROUP_ENTRYOne entry of a group prune: the entry and the cache it is in
 C_N_GUI_COLORWHEELWheel's state, owned by its custom widget
 C_N_GUI_COLORWHEEL_BLOCKWheel's state and its mouse callback's context in one allocation, because a custom widget owns one pointer
 C_N_GUI_COLORWHEEL_MOUSEWhat a wheel's mouse callback needs: the context and the state
 C_N_GUI_CURVEEditor's state, owned by its custom widget
 C_N_GUI_CURVE_BLOCKEditor's state and its mouse callback's context in one allocation, because a custom widget owns one pointer
 C_N_GUI_CURVE_MOUSEWhat an editor's mouse callback needs: the context, to find the widget and mark the GUI dirty, and the editor's state
 C_N_GUI_GRIDGrid's state, owned by its custom widget
 C_N_GUI_POPUP_ENTRYOne entry
 C_N_GUI_POPUP_LEVELWhat a level's widget is handed: stable while the entries array moves
 C_N_GUI_SB_SKINThe 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
 C_N_GUI_TA_STEPOne step of a textarea's per-character wrapped layout
 C_N_GUI_THUMBScrollbar thumb: length along the track, and offset from the track start
 C_N_GUI_WRAP_ACCAccumulator for _wrap_words: records the first word index of each line, and whether the line ends a paragraph
 C_seg
 CA4_BMP
 CA4_TIMER
 CAABB3DAxis-Aligned Bounding Box (AABB) algorithm
 CANIM_DATAAnimation properties
 CANIM_FRAMEStruct of the properties of a frame in an animation
 CANIM_GFXStruct of an animation
 CANIM_LIBStructure of a library of gfxs
 CASTAR_BOXSearch window: the bounding box of (start, goal) expanded by ASTAR_SEARCH_MARGIN and clamped to the grid
 CASTAR_CELLInternal node data used during pathfinding
 CASTAR_GRIDGrid structure holding walkability, costs, and dimensions
 CASTAR_HEAPBinary min-heap (priority queue) for the open list
 CASTAR_HEAP_NODEMin-heap entry for the open list priority queue
 CASTAR_NODEA single node in the resulting path
 CASTAR_PATHThe computed path result
 CAVRO_FIELDAvro schema field (for records)
 CAVRO_READERAvro read cursor for decoding
 CAVRO_SCHEMAAvro schema definition
 CBITMAPAllegro 4 bitmap
 CCA_CTXCA used by the server to mint per-host leaves
 CCALLBACK_DATAData passed to accept callback and worker threads
 CclientTest client connection, plain or TLS
 CCLIENT_STATEShared state for client threads
 Ccollector
 CCONFIG_FILEStructure of a config file
 CCONFIG_FILE_SECTIONStructure of a config section
 CCOORD_VALUEUnion to store the coordinate values
 CCYPHER_PARAMStructure of a n_vigenere_cypher_thread param
 CDATAString and int holder
 Cdate_vectorTimestamp and what PHP prints for it
 CDEMO_PANELOne demo panel: a window plus the button that detaches / attaches it
 CDICTIONARY_DEFINITIONDictionary definition for DICTIONARY_ENTRY
 CDICTIONARY_ENTRYDictionary entry
 CDIFF_OUTGrowing output buffer fed by write_and_fit_ex
 CDIFF_TEXTText split into lines, all pointing into one owned buffer
 CDR_ENTITYDead reckoned entity with extrapolation and convergence state
 CDR_STATEA snapshot of entity kinematic state at a point in time
 CDR_VEC33D vector used for position, velocity, and acceleration
 CDRAW_STATE
 CExceptionContextListException stack structure
 CFONTFont: the built in one, or a TTF font loaded with load_ttf_font()
 CGAME_ENVGame Environment structure
 CH2_DYN_ENTRYOne HPACK dynamic table entry (owned strings and its accounted size)
 CH2_STREAMOne client-initiated stream
 CH2BUFGrowable byte buffer for the read stream and the per-stream accumulators
 CHASH_DATAUnion of the possibles data values of a node
 CHASH_NODEStructure of a hash table node
 CHASH_TABLEStructure of a hash table
 CISO_DRAW_ENTRYDraw order entry for segment-sorted rendering
 CISO_MAPHeight-aware isometric map with terrain and height layers, per-cell height values, configurable projection, and terrain transition support
 CISO_PROJECTIONAxonometric projection parameters
 CISO_TILE_SEGMENTSingle vertical segment of a tile: solid matter from bottom to top
 CISO_TILE_SEGMENTSPer-tile height segments
 CISO_VISIBLE_EDGESPer-tile edge visibility flags for height border rendering
 CJS_STATEJS emitter state threaded through the helpers
 CLEX_ITEM
 CLexMenuINI driven menu
 CLISTStructure of a generic LIST container
 CLIST_NODEStructure of a generic list node
 CLOG_LEVELSInternal struct to handle log types
 Cmd_atomOne layout atom: a glyph (nbytes > 0) or a hard break
 Cmd_cells
 Cmd_hitA 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
 Cmd_line_ctxEverything a line needs, carried through n_wrap to the emit callback, which is handed only an item range, a line number and a width
 CMEMBEROne stored member
 CMIDIMIDI song
 Cmline
 CN_ATLASSet of atlas pages addressed as (page, cell index)
 CN_ATLAS_PAGEOne atlas page: a bitmap holding cols*rows equally sized cells
 CN_CLOCK_SYNCClock synchronization estimator
 CN_COOKIESingle stored cookie
 CN_COOKIE_JARThread-safe cookie jar
 CN_DIFF_LINEOne line of an edit script
 CN_DIFF_RESULTEdit script turning one text into another
 CN_DISK_CACHECache: only where it is
 CN_ENTROPY_BITPer-bit statistics across a set of equal-length samples
 CN_ENTROPY_POSPer-position statistics across a set of equal-length samples
 CN_FILE_INFOCommon file information
 CN_FLUIDStructure of a fluid
 CN_FLUID_THREAD_PARAMSStructure passed to a threaded fluid process
 CN_FORM_FIELDSingle form field (input, select, textarea, button)
 CN_GIT_COMMIT_INFOCommit metadata
 CN_GIT_REMOTE_AUTHCredentials for remote operations
 CN_GIT_REPOWrapper around a git_repository handle
 CN_GIT_STATUS_ENTRYSingle file status entry
 CN_GUI_BUTTON_DATAButton specific data
 CN_GUI_CHECKBOX_DATACheckbox specific data
 CN_GUI_COLOR_PICKERColour picker: the ids of its widgets and the colour being edited
 CN_GUI_COMBOBOX_DATACombo box specific data
 CN_GUI_CTXThe top-level GUI context that holds all windows
 CN_GUI_CUSTOM_DATAOwner-draw custom widget data: a paint callback, an optional mouse callback, and their user pointers
 CN_GUI_DATAGRID_COLOne data grid column definition
 CN_GUI_DATAGRID_DATAData grid specific data: a sortable column table
 CN_GUI_DROPMENU_DATADropdown menu specific data
 CN_GUI_DROPMENU_ENTRYA single entry in a dropdown menu (static or dynamic)
 CN_GUI_GRID_CALLBACKSWhat the grid asks of its caller
 CN_GUI_HEXVIEW_DATAHex viewer specific data: a read-only byte dump
 CN_GUI_IMAGE_DATAImage widget specific data
 CN_GUI_KV_CONTENT
 CN_GUI_KV_ROWSingle row in the KV table
 CN_GUI_KVTABLEKey-value table built from textareas, checkboxes, and buttons
 CN_GUI_LABEL_DATAStatic text label specific data
 CN_GUI_LISTBOX_DATAListbox specific data
 CN_GUI_LISTITEMSingle item in a list/radio/combo widget
 CN_GUI_MARKDOWNVIEW_DATAMarkdownview specific data
 CN_GUI_MD_FONTSThe faces a render uses
 CN_GUI_MD_STYLEColours and metrics
 CN_GUI_MEAS_ENTRY
 CN_GUI_MOUSE_EVENTA mouse event handed to a custom widget, in the widget's own coordinates
 CN_GUI_PENDING_GEOMA saved window position retained for a window not yet created at load time (see N_GUI_CTX::pending_layout)
 CN_GUI_PENDING_WIDGETSaved user-adjustable state for a keyed widget that did not exist when the layout was loaded (a lazily-created splitpane/datagrid)
 CN_GUI_POPUPPopup
 CN_GUI_PROGRESSBAR_DATAProgress-bar widget data (display only)
 CN_GUI_RADIOLIST_DATARadio list specific data
 CN_GUI_SB_TRACKWhere a scrollbar a widget draws inside itself was last painted, and whether the pointer is on it
 CN_GUI_SCROLLBAR_DATAScrollbar specific data
 CN_GUI_SECTIONSingle foldable section: a clickable header plus the member widgets it shows/hides
 CN_GUI_SECTIONLISTVertical 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
 CN_GUI_SLIDER_DATASlider specific data
 CN_GUI_SPLITPANE_DATASplit pane specific data: a draggable divider between two regions
 CN_GUI_STYLEGlobal style holding every configurable layout constant
 CN_GUI_SUGGEST_SINKHandle textarea key input
 CN_GUI_SYNTAXVIEW_DATASyntax view specific data: read-only highlighted text
 CN_GUI_TAB_PANELTab panel built from toggle buttons with content window management
 CN_GUI_TB_BUTTONSTitlebar button state for a window (minimize, maximize, close)
 CN_GUI_TEXT_DIMSBounding box dimensions returned by n_gui_get_text_dims()
 CN_GUI_TEXTAREA_DATAText area specific data
 CN_GUI_THEMEColor theme for a widget
 CN_GUI_TREETree view built from an N_GUI listbox
 CN_GUI_TREE_NODESingle node in the tree view
 CN_GUI_TREE_STATEA 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)
 CN_GUI_WIDGETA single GUI widget
 CN_GUI_WINDOWA pseudo window that contains widgets
 CN_H2_FRAMEParsed HTTP/2 frame; payload aliases the input buffer
 CN_H2_HEADEROne HPACK header field; after a decode both strings are owned (heap)
 CN_H2_HPACKHPACK codec context: the dynamic table (index 0 = most recently added)
 CN_H2_REQUESTOne complete request received on a stream; every pointer is owned by the server and valid only for the duration of the request callback
 CN_H2_SERVERServer connection state
 CN_H2_SETTINGOne SETTINGS parameter (identifier and value)
 CN_HTML_ATTR_Attribute parsed off an HTML start tag (name lowercased, value raw)
 CN_HTML_FORMParsed HTML form with its fields
 CN_HTML_TAG_Single tag picked out by the scanner
 CN_HTTP3_RESPONSEResult of an HTTP/3 exchange
 CN_HTTP_FIELDOne decoded name=value pair; both are NUL-terminated and hold no NUL
 CN_HTTP_FORMDecoded fields, in the order they were sent
 CN_HTTP_FORM_MULTIPARTParsed multipart/form-data body
 CN_HTTP_FORM_PARTOne part of a multipart/form-data body; the body is NOT copied
 CN_HTTP_MULTIPART_PARTSingle part of a parsed multipart/form-data body
 Cn_http_req_headerOne 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)
 Cn_http_req_limitsLimits for n_http_request_parse_ex()
 CN_HTTP_REQUESTParsed HTTP request for mock server callback
 Cn_http_requestA parsed request head
 CN_HTTP_RESPResponse under construction (fields are private, use the functions)
 CN_HTTP_RESPONSEHTTP response to send from mock server callback
 CN_HTTP_SERVERServer (opaque)
 CN_HTTP_SERVER_CONFIGServer settings; start from n_http_server_config_defaults()
 CN_HTTP_SERVER_REQUESTRequest as the handler sees it (fields are read-only)
 CN_HTTP_SERVER_STATSCounters, see n_http_server_stats()
 CN_HTTP_SET_COOKIEWhat a Set-Cookie should carry
 CN_ISO_CAMERA2D isometric camera for viewport management
 CN_ISO_OBJECTDrawable object for depth-sorted isometric rendering
 CN_KAFKAStructure of a KAFKA consumer or producer handle
 CN_KAFKA_EVENTStructure of a KAFKA message
 Cn_markdown_blockOne block
 Cn_markdown_docA parsed document: an owned array of blocks
 Cn_markdown_inlineOne flow of inline runs (a paragraph, a quote, or one list item)
 Cn_markdown_spanOne inline run: visible text, a style bitmask, and (for a link) an already-http(s)-validated url
 CN_MOCK_SERVERMock HTTP server handle
 CN_MODULEOpened shared library
 CN_PARALLEL_SLICEOne slice of a parallel loop, as handed to its thread
 CN_PCREN_PCRE structure
 CN_PROXY_CFGParsed proxy URL components
 CN_PTHA checkpoint's tensors
 CN_PTH_TENSOROne tensor of a checkpoint
 CN_QUERYOpaque compiled query (see n_query_compile / n_query_eval / n_query_free)
 Cn_reactor_statsCounters for the dashboard / profile_server.sh
 CN_ROUTEOne route of a table
 CN_ROUTE_MATCHSuccessful match: the route and its decoded placeholder values
 CN_ROUTERCompiled router (opaque)
 CN_SHA256SHA-256 in progress: plain data, copyable to fork a hash
 CN_SOCKETStructure of a N_SOCKET
 CN_SPAWN_PIPEA program started with its standard input on a pipe the caller writes to (n_spawn_pipe_open())
 CN_SSE_CONNSSE connection handle
 CN_SSE_EVENTSSE event received from server
 CN_STRA box including a string and his lenght
 CN_TIFFThe first directory of a TIFF structured buffer
 CN_TIFF_ENTRYOne directory entry
 CN_TIMETiming Structure
 CN_URLParsed URL components
 CN_URL_PARAMSingle query parameter key=value pair
 Cn_url_safeThe parts of an absolute http(s) URL
 Cn_url_safe_headThe response-head fields a fetcher acts on
 CN_USERUSER management cell
 CN_USERLISTUSER list
 Cn_wrap_itemOne 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
 CN_WS_CONNWebSocket connection
 CN_WS_FRAMEA single parsed WebSocket frame (RFC 6455)
 CN_WS_MESSAGEWebSocket message
 CN_ZIP_MEMBERWhat n_zip_find() says about a member
 CNETW_ACCEPT_POOLStructure of a parallel accept pool
 CNETW_ACCEPT_POOL_STATSStatistics for the accept pool
 CNETW_MSGNetwork message, array of char and int
 CNETW_SNI_ARG
 CNETWORKStructure of a NETWORK
 CNETWORK_HTTP_INFOStructure for splitting HTTP requests
 CNETWORK_POOLStructure of a network pool
 CNETWORK_SSL_THREAD_PARAMSStructure of a NETWORK_SSL_THREAD_PARAMS
 CNODE_DATAStructure of a TREE node data
 CNODE_DATA_TYPESUnion of the possibles data values of a TREE node
 COCTREEStructure of an OCTREE
 COCTREE_NODEStructure of an OCTREE node
 CPARSER
 CPARTICLEStructure of a single particle
 CPARTICLE_EMITTERStructure of a particle emitter
 CPARTICLE_SYSTEMStructure of a particle system
 CPEER
 CPHYSICSStructure of the physics of an object
 CPK_OBJOne pickle value
 CPK_VMThe interpreter
 CPOINT2DStructure for a POINT2D in the 2D space
 CPOINT3DStructure for a POINT3D in the 3D space
 CPRETTY_OUTGrowing output buffer fed by write_and_fit_ex
 CQNODE
 CQUADTREEStructure of a quad tree
 CQUADTREE_NODEStructure of a quad tree node
 CREC
 Crects
 CreplyParsed response as the client saw it
 CRGBPalette entry, unused in 32 bit mode
 CrunnerServer thread state
 CSAMPLESound sample
 CSEEN
 CsinkIn-memory sink for n_http_response_write()
 CSRVServer worker context
 CSRV_ARGCarries the served leaf certificate to the SNI pick callback
 CSTACKSTACK structure
 CSTACK_DATAStructure of a STACK_ITEM data
 CSTACK_ITEMStructure of a STACK item
 CSYNTAX_RUNDraw a run of text and advance the pen x by its width
 Ctbuf
 CTHREAD_POOLStructure of a thread pool
 CTHREAD_POOL_NODE
 CTHREAD_WAITING_PROCStructure of a waiting process item
 CTRAJECTORYStructure holding all data for trajectory interpolation / extrapolation
 CTRAJECTORY_POINTSingle waypoint in a multi-point trajectory path
 CTREEStructure of a TREE
 CTREE_NODEStructure of a n-ary TREE node
 CTS_LOGThreadSafe LOGging structure
 CWAYPOINT3D
 CWORKER_ARGData passed to worker thread function
 Cwrap_hitState for n_wrap_index_at's per-line callback
 Cwrap_spanState for n_wrap_span_rects' per-line callback
 CZIP_SINKWhere unpacked bytes go: a file, or a buffer in memory