Channel circle › core 13 Compiler › bmld
bmld (core 13, sub 9, flat id 217)
23 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| struct BMLDChannel * BMLDChannelGet(void) | (no comment) | BMLDChannel.c:11 | public |
| static uint16_t Rd16(const uint8_t *p) | (no comment) | BMLDChannel.c:13 | static |
| static uint32_t Rd32(const uint8_t *p) | (no comment) | BMLDChannel.c:14 | static |
| static void Wr16(uint8_t *p, uint16_t v) | (no comment) | BMLDChannel.c:15 | static |
| static void Wr32(uint8_t *p, uint32_t v) | (no comment) | BMLDChannel.c:16 | static |
| static struct BMLDChannel * OpenImpl(void) | (no comment) | BMLDChannel.c:18 | static |
| static struct BMLDChannel * OpenBMLDChannelBody(void) | (no comment) | BMLDChannel.c:35 | static |
| static void CloseBMLDChannelBody(struct BMLDChannel *ch) | (no comment) | BMLDChannel.c:45 | static |
| uint64_t BMLDChannelJoin(void *peer) | (no comment) | BMLDChannel.c:55 | public |
| void * BMLDChannelLeave(void *peer) | (no comment) | BMLDChannel.c:56 | public |
| static int RecvN(uint32_t h, uint8_t *b, size_t n) | (no comment) | BMLDChannel.c:58 | static |
| static void Reply(struct BMLDChannel *ch, uint32_t c, uint32_t op, size_t n) | (no comment) | BMLDChannel.c:69 | static |
| static void ReplyErr(struct BMLDChannel *ch, uint32_t c, uint16_t code) | (no comment) | BMLDChannel.c:77 | static |
| static int EndsWith(const char *s, size_t n, const char *suf) | (no comment) | BMLDChannel.c:86 | static |
| static void Serve(struct BMLDChannel *ch, uint32_t c) | bml:// raw bytecode: first record is Hdr(BW_OP_WANT_BML, MORE 0, len) + path. No HTTP, no magic: the op in byte 0 is the protocol switch. Reply BODY(doc) or ERROR(code u16be), one write each. | BMLDChannel.c:94 | static |
| int64_t BMLDFetch(const char *host, uint16_t port, const char *path, uint8_t *out, size_t cap) | client side of the same wire (BlitzBrowse bml:// mode). out receives the BMLW doc. Returns doc bytes, -1 transport error, or -(100+code) for an ERROR frame. Network only via NetXecStream. | BMLDChannel.c:119 | public |
| uint64_t BMLDChannelWrite(void *chp, void *buf, long len) | (no comment) | BMLDChannel.c:137 | public |
| uint64_t BMLDChannelRead(void *chp, void *buf, long len) | (no comment) | BMLDChannel.c:171 | public |
| int BMLDStart(const char *docroot, uint16_t port, int any) | (no comment) | BMLDChannel.c:183 | public |
| int BMLDStep(uint32_t timeout_ms) | (no comment) | BMLDChannel.c:192 | public |
| uint16_t BMLDPort(void) | (no comment) | BMLDChannel.c:201 | public |
| struct BMLDChannel * OpenBMLDChannel(void) | Standard runtime entry points (Join/Leave/Read/Write/Open/Close) -- thin wrappers, behaviour of Open/Close unchanged (bodies renamed *Body). See CHREC_RUNTIME in defines.h. | BMLDChannel.c:206 | public |
| void CloseBMLDChannel(struct BMLDChannel *ch) | (no comment) | BMLDChannel.c:212 | public |
Core-level functions of core 13 · Core 13 in the full manual