rns-embedded-ffi 0.5.1

FFI bindings and static library surface for embedded Reticulum runtimes.
Documentation
/* @generated by scripts/generate_embedded_node_contracts.py */
/* Source: docs/contracts/node-error-codes-v1.json */
  /* Unspecified node-centric failure. */
  RNS_EMBEDDED_V1_NODE_ERROR_UNKNOWN = 0,
  /* Caller supplied an invalid or unsupported node configuration. */
  RNS_EMBEDDED_V1_NODE_ERROR_INVALID_CONFIG = 1,
  /* The node hit an IO or backend state failure. */
  RNS_EMBEDDED_V1_NODE_ERROR_IO_ERROR = 2,
  /* The active backend or link is disconnected or unavailable. */
  RNS_EMBEDDED_V1_NODE_ERROR_NETWORK_ERROR = 3,
  /* The underlying embedded protocol/runtime rejected the operation. */
  RNS_EMBEDDED_V1_NODE_ERROR_RETICULUM_ERROR = 4,
  /* The node is already running for the requested lifecycle transition. */
  RNS_EMBEDDED_V1_NODE_ERROR_ALREADY_RUNNING = 5,
  /* The operation requires a running node. */
  RNS_EMBEDDED_V1_NODE_ERROR_NOT_RUNNING = 6,
  /* The requested wait budget elapsed. */
  RNS_EMBEDDED_V1_NODE_ERROR_TIMEOUT = 7,
  /* The runtime or FFI bridge reached an internal invariant failure. */
  RNS_EMBEDDED_V1_NODE_ERROR_INTERNAL_ERROR = 8,
  /* The caller passed a null, stale, or mismatched opaque handle. */
  RNS_EMBEDDED_V1_NODE_ERROR_INVALID_HANDLE = 9,
  /* The caller passed an invalid pointer for an input or output buffer. */
  RNS_EMBEDDED_V1_NODE_ERROR_INVALID_POINTER = 10,
  /* The caller mixed manual and managed node progression modes. */
  RNS_EMBEDDED_V1_NODE_ERROR_MODE_CONFLICT = 11,
  /* A poll observed that the subscription handle was closed. */
  RNS_EMBEDDED_V1_NODE_ERROR_SUBSCRIPTION_CLOSED = 12,
  /* A poll observed a generation change and the node restarted. */
  RNS_EMBEDDED_V1_NODE_ERROR_NODE_RESTARTED = 13,
  /* A poll observed an event-log gap and advanced to the next retained event. */
  RNS_EMBEDDED_V1_NODE_ERROR_EVENT_GAP = 14,
  /* The node rejected the operation because queue capacity would be exceeded. */
  RNS_EMBEDDED_V1_NODE_ERROR_QUEUE_PRESSURE = 15,