Channel circle › core 7 Container › sbi
sbi (core 7, sub 6, flat id 118)
44 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| CACHE_INLINE void SBILock(struct SolidSBIChannel *s) | (no comment) | SolidSBIChannel.c:20 | public |
| CACHE_INLINE void SBIUnlock(struct SolidSBIChannel *s) | (no comment) | SolidSBIChannel.c:24 | public |
| static int SBICacheOpen(struct SolidSBIChannel *s, struct SolidSBIRoute *r) | Route: CacheChannel | SolidSBIChannel.c:32 | static |
| static int SBICacheLeave(struct SolidSBIChannel *s, struct SolidSBIRoute *r) | (no comment) | SolidSBIChannel.c:44 | static |
| static void SBICacheClose(struct SolidSBIChannel *s, struct SolidSBIRoute *r) | (no comment) | SolidSBIChannel.c:51 | static |
| static int SBICacheJoin(struct SolidSBIChannel *s, struct SolidSBIRoute *r) | (no comment) | SolidSBIChannel.c:61 | static |
| static CACHE_HOT long SBICacheWrite(struct SolidSBIChannel *s, struct SolidSBIRoute *r, const uint8_t *p, size_t n) | (no comment) | SolidSBIChannel.c:69 | static |
| static CACHE_HOT long SBICacheRead(struct SolidSBIChannel *s, struct SolidSBIRoute *r, uint8_t *out, size_t cap) | (no comment) | SolidSBIChannel.c:75 | static |
| static void SBIRoutesInit(struct SolidSBIChannel *s) | (no comment) | SolidSBIChannel.c:81 | static |
| CACHE_HOT long SolidSBIWrite(struct SolidSBIChannel *s, const void *frame, size_t len) | Write / Read (dispatch) | SolidSBIChannel.c:97 | public |
| CACHE_HOT long SolidSBIRead(struct SolidSBIChannel *s, void *out, size_t cap) | Next answer record from any opened target, framed (op READ). | SolidSBIChannel.c:150 | public |
| int SolidSBIJoin(struct SolidSBIChannel *s, struct Channel *peer) | Join / Leave (peers that listen to the SBI itself) | SolidSBIChannel.c:179 | public |
| int SolidSBILeave(struct SolidSBIChannel *s, struct Channel *peer) | (no comment) | SolidSBIChannel.c:196 | public |
| static void SBIRtRun(struct Channel *ch, long unused) | Runtime adapters | SolidSBIChannel.c:215 | static |
| static uint64_t SBIRtRead(void *ch, void *out, long cap) | (no comment) | SolidSBIChannel.c:225 | static |
| static uint64_t SBIRtWrite(void *ch, void *f, long len) | (no comment) | SolidSBIChannel.c:227 | static |
| static uint64_t SBIRtJoin(void *peer) | (no comment) | SolidSBIChannel.c:229 | static |
| static void * SBIRtLeave(void *peer) | (no comment) | SolidSBIChannel.c:230 | static |
| static void SBIRtClose(struct Channel *ch) | (no comment) | SolidSBIChannel.c:231 | static |
| struct SolidSBIChannel * SolidSBIChannelGet(void) | Open / Close | SolidSBIChannel.c:236 | public |
| static void SBICcsubAttach(struct SolidSBIChannel *s) | Container sub 6 (CC_SUB_SBI, flat 118): take the slot in the Solid controller's cc_sub[] when it is free; never displace another channel. | SolidSBIChannel.c:240 | static |
| static void SBICcsubDetach(struct SolidSBIChannel *s) | (no comment) | SolidSBIChannel.c:248 | static |
| struct SolidSBIChannel * OpenSolidSBIChannel(struct SolidChannel *solid) | (no comment) | SolidSBIChannel.c:257 | public |
| void CloseSolidSBIChannel(struct SolidSBIChannel *s) | (no comment) | SolidSBIChannel.c:327 | public |
| static inline long SolidSBIFrame(uint8_t *out, size_t cap, uint8_t target, uint8_t op, const void *payload, uint16_t len) | frame builder (hot path, inline) | channels.h:6316 | static |
| static void WriteU8(struct wb *b, uint32_t v) | (no comment) | lib/solid_sbi.c:24 | static |
| static void WriteU32(struct wb *b, uint32_t v) | (no comment) | lib/solid_sbi.c:25 | static |
| static void Wstr(struct wb *b, const char *s) | (no comment) | lib/solid_sbi.c:26 | static |
| static int Seq(const char *a, const char *b) | (no comment) | lib/solid_sbi.c:34 | static |
| static int TermEq(const struct SolidTerm *a, const struct SolidTerm *b) | (no comment) | lib/solid_sbi.c:35 | static |
| static uint32_t Hs(uint32_t h, const char *s) | (no comment) | lib/solid_sbi.c:36 | static |
| static uint32_t TermHash(const struct SolidTerm *t) | (no comment) | lib/solid_sbi.c:37 | static |
| long SolidSBIEncodeStore(const struct SolidStore *st, uint8_t *out, size_t cap) | (no comment) | lib/solid_sbi.c:39 | public |
| static uint32_t ReadU8(struct rb *b) | (no comment) | lib/solid_sbi.c:81 | static |
| static uint32_t ReadU32(struct rb *b) | (no comment) | lib/solid_sbi.c:82 | static |
| static char * Rstr(struct rb *b, int *absent) | (no comment) | lib/solid_sbi.c:83 | static |
| int SolidSBIDecodeStore(struct SolidStore *st, const uint8_t *in, size_t n) | (no comment) | lib/solid_sbi.c:95 | public |
| static int IsSBIRecord(const void *d, size_t n) | (no comment) | lib/solid_sbi.c:127 | static |
| long SolidChannelExport(struct SolidChannel *s, int external, int fmt, void *out, size_t cap) | internal = 0: inside Channels ([team]y when SBI is on); external = 1: HTTP boundary, always text | lib/solid_sbi.c:133 | public |
| long SolidChannelImport(struct SolidChannel *s, int external, const void *data, size_t n, const char *base) | (no comment) | lib/solid_sbi.c:143 | public |
| long SolidSBIChannelSolidRecord(struct SolidSBIChannel *sbi, uint8_t *out, size_t cap) | (no comment) | lib/solid_sbi.c:153 | public |
| void SolidSBISetEnabled(int on) | (no comment) | lib/solid_sbi_flag.c:9 | public |
| int SolidSBIEnabled(void) | (no comment) | lib/solid_sbi_flag.c:10 | public |
| int SolidSBIApplyPodCfg(const struct PodCfg *c) | (no comment) | lib/solid_sbi_flag.c:11 | public |