MultiverseSocial.com

Channel circle › core 7 Container › editor

editor (core 7, sub 12, flat id 124)

87 functions
SignaturePurposeSourceScope
void EdtPostEvent(uint64_t code)(no comment)EditorBml.c:16public
uint64_t EdtCapFor(uint64_t n)(no comment)EditorBml.c:21public
int EdtGrow(struct EditorBuffer *b, uint64_t need)(no comment)EditorBml.c:27public
static const struct BmlElementInfo * OpInfo(uint8_t op)(no comment)EditorBml.c:43static
int EdtBmlIsVoid(uint8_t op)(no comment)EditorBml.c:52public
static int Need(struct EbScan *st, uint64_t k)(no comment)EditorBml.c:68static
static int Str16(struct EbScan *st, const uint8_t **p, uint16_t *len)(no comment)EditorBml.c:69static
static int Value(struct EbScan *st, uint8_t tid, const uint8_t **v, uint32_t *vl)(no comment)EditorBml.c:78static
static uint32_t AddNode(struct EbScan *st, uint8_t op, uint8_t kind, uint64_t start, uint32_t parent)(no comment)EditorBml.c:98static
static void SetEnd(struct EbScan *st, uint32_t ix)(no comment)EditorBml.c:108static
static int Node(struct EbScan *st, uint32_t parent)(no comment)EditorBml.c:110static
static int Scan(struct EbScan *st)(no comment)EditorBml.c:182static
int EdtBmlScan(const uint8_t *restrict src, uint64_t n, const struct EdtBmlCbs *cbs, struct EdtBmlNode *restrict nodes, uint32_t max, uint32_t *count)(no comment)EditorBml.c:193public
int EditorBmlValidate(const uint8_t *src, uint64_t n, char *err, uint32_t errcap)(no comment)EditorBml.c:205public
int EdtBmlNodeAt(const uint8_t *restrict src, uint64_t n, uint64_t pos, struct EdtBmlNode *restrict out)(no comment)EditorBml.c:215public
void EdtBmlWInit(struct EdtBmlWriter *w)---- writer (inverse of BMLWalk / EdtBmlScan) ----EditorBml.c:229public
void EdtBmlWFree(struct EdtBmlWriter *w)(no comment)EditorBml.c:230public
static void Wput(struct EdtBmlWriter *restrict w, const uint8_t *restrict d, uint64_t n)(no comment)EditorBml.c:231static
static void Wu8(struct EdtBmlWriter *w, uint8_t v)(no comment)EditorBml.c:246static
static void Wstr(struct EdtBmlWriter *w, const uint8_t *s, uint32_t n)(no comment)EditorBml.c:247static
void EdtBmlWHeader(struct EdtBmlWriter *w)(no comment)EditorBml.c:254public
void EdtBmlWOpen(struct EdtBmlWriter *w, uint8_t op, const uint8_t *name, uint16_t nlen, uint8_t nattr)(no comment)EditorBml.c:259public
void EdtBmlWAttr(struct EdtBmlWriter *w, uint8_t aid, const uint8_t *name, uint16_t nlen, uint8_t tid, const uint8_t *val, uint32_t vlen)(no comment)EditorBml.c:265public
void EdtBmlWText(struct EdtBmlWriter *w, uint8_t op, const uint8_t *s, uint16_t n)(no comment)EditorBml.c:273public
void EdtBmlWDoctype(struct EdtBmlWriter *w, const uint8_t *a, uint16_t la, const uint8_t *b, uint16_t lb, const uint8_t *c, uint16_t lc)(no comment)EditorBml.c:274public
void EdtBmlWClose(struct EdtBmlWriter *w, uint8_t op, uint8_t is_void)(no comment)EditorBml.c:278public
void EdtBmlWNop(struct EdtBmlWriter *w)(no comment)EditorBml.c:279public
static void CbOpen(void *u, uint8_t op, const uint8_t *nm, uint16_t nl, uint8_t na)(no comment)EditorBml.c:281static
static void CbAttr(void *u, uint8_t a, const uint8_t *nm, uint16_t nl, uint8_t t, const uint8_t *v, uint32_t vl)(no comment)EditorBml.c:282static
static void CbText(void *u, uint8_t op, const uint8_t *s, uint16_t n)(no comment)EditorBml.c:283static
static void CbDoc(void *u, const uint8_t *a, uint16_t la, const uint8_t *b, uint16_t lb, const uint8_t *c, uint16_t lc)(no comment)EditorBml.c:284static
static void CbClose(void *u, uint8_t op, uint8_t v)(no comment)EditorBml.c:285static
static void CbNop(void *u)(no comment)EditorBml.c:286static
void EdtBmlWriterCbs(struct EdtBmlCbs *cbs, struct EdtBmlWriter *w)(no comment)EditorBml.c:287public
int EdtBmlRewrite(const uint8_t *src, uint64_t n, struct EdtBmlWriter *w)(no comment)EditorBml.c:292public
int EditorBmlEnable(struct EditorChannel *ec)(no comment)EditorBml.c:303public
static uint32_t FixedSize(uint8_t tid)(no comment)EditorBmlOps.c:16static
static int IsStr(uint8_t tid)(no comment)EditorBmlOps.c:27static
static uint32_t Ld16(const uint8_t *p)(no comment)EditorBmlOps.c:28static
static uint64_t AttrSkip(const uint8_t *restrict d, uint64_t a, uint8_t *restrict aid_out)span of attr i of an element whose attrs start at a (the byte after the count); doc already validatedEditorBmlOps.c:31static
uint64_t EditorBmlOp(struct EditorChannel *ec, struct EditorBuffer *b, uint32_t op, uint64_t base, uint64_t pos, const uint8_t *data, uint32_t data_len)(no comment)EditorBmlOps.c:43public
static int EdtReplaceFile(const char *from, const char *to)2026-10-24: Windows rename() will not replace an existing file; use MoveFileExA there.EditorChannel.c:25static
static void Be16(uint8_t *p, uint32_t v)---- big-endian open-coded stores/loads ----EditorChannel.c:35static
static void Be32(uint8_t *p, uint32_t v)(no comment)EditorChannel.c:36static
static void Be64(uint8_t *p, uint64_t v)(no comment)EditorChannel.c:37static
static uint32_t Ld16(const uint8_t *p)(no comment)EditorChannel.c:38static
static uint32_t Ld32(const uint8_t *p)(no comment)EditorChannel.c:39static
static uint64_t Ld64(const uint8_t *p)(no comment)EditorChannel.c:40static
uint64_t EdtPack(uint8_t *out, uint32_t op, uint32_t kind, uint64_t buf_id, uint64_t base_version, uint64_t pos, uint32_t del_len, const void *data, uint32_t data_len)(no comment)EditorChannel.c:42public
static void ShaBlock(uint32_t h[8], const uint8_t *b)(no comment)EditorChannel.c:61static
void EdtSha256(const uint8_t *d, uint64_t n, uint8_t out[32])(no comment)EditorChannel.c:76public
static int FsNameOk(const char *p)---- default file store: <dir>/<path> current, <dir>/<path>.v<N> history ----EditorChannel.c:95static
static int FsLoad(void *ctx, const char *path, uint8_t **d, uint64_t *n)(no comment)EditorChannel.c:105static
static int FsWriteFile(const char *full, const uint8_t *d, uint64_t n)(no comment)EditorChannel.c:128static
static int FsSave(void *ctx, const char *path, const uint8_t *d, uint64_t n, uint64_t ver)(no comment)EditorChannel.c:144static
static int FsVersions(void *ctx, const char *path, uint64_t *pairs, uint32_t max)fills pairs (version, size), ascending by version; returns countEditorChannel.c:154static
void EditorUseFileStore(struct EditorChannel *ec, struct EditorFileStore *fs)(no comment)EditorChannel.c:184public
static uint64_t NewID(struct EditorChannel *ec)---- buffer helpers ----EditorChannel.c:190static
static struct EditorBuffer * FindBuf(struct EditorChannel *ec, uint64_t id, uint32_t *slot)(no comment)EditorChannel.c:206static
static void FreeUndoFrom(struct EditorBuffer *b, uint32_t from)(no comment)EditorChannel.c:213static
static void FreeBuf(struct EditorBuffer *b)(no comment)EditorChannel.c:219static
static int RawInsert(struct EditorBuffer *b, uint64_t pos, const uint8_t *d, uint32_t n)(no comment)EditorChannel.c:225static
static int RawDelete(struct EditorBuffer *b, uint64_t pos, uint32_t n)(no comment)EditorChannel.c:234static
static int PushUndo(struct EditorBuffer *b, uint32_t op, uint64_t pos, const uint8_t *d, uint32_t n)(no comment)EditorChannel.c:241static
static uint8_t * ReplyBegin(struct EditorChannel *ec, const uint8_t *rq, uint32_t kind, uint64_t id)---- reply ----EditorChannel.c:260static
static uint64_t ReplyEnd(struct EditorChannel *ec, uint32_t status, uint64_t version, const uint8_t *payload, uint64_t n)(no comment)EditorChannel.c:270static
static uint64_t DoRecord(struct EditorChannel *ec, const uint8_t *rq, uint64_t len)---- the op dispatcher (Write) ----EditorChannel.c:282static
uint64_t WriteEditorChannel(void *c, void *rec, long len)---- channels7 Open/Close/Join/Leave/Read/Write ----EditorChannel.c:452public
uint64_t ReadEditorChannel(void *c, void *out, long cap)(no comment)EditorChannel.c:459public
uint64_t JoinEditorChannel(void *c)(no comment)EditorChannel.c:469public
void * LeaveEditorChannel(void *c)(no comment)EditorChannel.c:477public
uint64_t EditorJoin(struct EditorChannel *ec, struct EditorSession *s)(no comment)EditorChannel.c:483public
static void RtOpen(struct Channel *c)(no comment)EditorChannel.c:488static
void CloseEditorChannel(struct Channel *c)(no comment)EditorChannel.c:489public
struct Channel * OpenEditorChannel(struct EditorChannel *ec)(no comment)EditorChannel.c:498public
int EdtApplyInsert(struct EditorBuffer *b, uint64_t pos, const uint8_t *d, uint32_t n)---- 2026-10-23 (appended, PROVISIONAL): helpers for EditorBmlOps.c; same raw ops + undo ring as INSERT/DELETE ----EditorChannel.c:520public
int EdtApplyDelete(struct EditorBuffer *b, uint64_t pos, uint32_t n)(no comment)EditorChannel.c:528public
void EdtRollback(struct EditorBuffer *b, uint32_t k)(no comment)EditorChannel.c:535public
uint64_t EdtReplyEnd(struct EditorChannel *ec, uint32_t status, uint64_t version, const uint8_t *payload, uint64_t n)(no comment)EditorChannel.c:544public
static int InList(const char *const *l, const char *s)(no comment)EditorOdl.c:35static
static int IsId0(int c)(no comment)EditorOdl.c:36static
static int IsDig(int c)(no comment)EditorOdl.c:37static
static void Lex(struct OdlLex *l)(no comment)EditorOdl.c:39static
static int IsP(struct OdlLex *l, char c)(no comment)EditorOdl.c:71static
static int Dims(struct OdlLex *l)(no comment)EditorOdl.c:75static
static int Value(struct OdlLex *l, int depth)(no comment)EditorOdl.c:87static
int EditorOdlValidate(const uint8_t *src, uint64_t n, char *err, uint32_t errcap)(no comment)EditorOdl.c:104public

Core-level functions of core 7 · Core 7 in the full manual

The > Web 4 < Channel Paradigm · full manual · privacy · contact

Hits--