MultiverseSocial.com

Channel circle › core 7 Container › sbi

sbi (core 7, sub 6, flat id 118)

44 functions
SignaturePurposeSourceScope
CACHE_INLINE void SBILock(struct SolidSBIChannel *s)(no comment)SolidSBIChannel.c:20public
CACHE_INLINE void SBIUnlock(struct SolidSBIChannel *s)(no comment)SolidSBIChannel.c:24public
static int SBICacheOpen(struct SolidSBIChannel *s, struct SolidSBIRoute *r)Route: CacheChannelSolidSBIChannel.c:32static
static int SBICacheLeave(struct SolidSBIChannel *s, struct SolidSBIRoute *r)(no comment)SolidSBIChannel.c:44static
static void SBICacheClose(struct SolidSBIChannel *s, struct SolidSBIRoute *r)(no comment)SolidSBIChannel.c:51static
static int SBICacheJoin(struct SolidSBIChannel *s, struct SolidSBIRoute *r)(no comment)SolidSBIChannel.c:61static
static CACHE_HOT long SBICacheWrite(struct SolidSBIChannel *s, struct SolidSBIRoute *r, const uint8_t *p, size_t n)(no comment)SolidSBIChannel.c:69static
static CACHE_HOT long SBICacheRead(struct SolidSBIChannel *s, struct SolidSBIRoute *r, uint8_t *out, size_t cap)(no comment)SolidSBIChannel.c:75static
static void SBIRoutesInit(struct SolidSBIChannel *s)(no comment)SolidSBIChannel.c:81static
CACHE_HOT long SolidSBIWrite(struct SolidSBIChannel *s, const void *frame, size_t len)Write / Read (dispatch)SolidSBIChannel.c:97public
CACHE_HOT long SolidSBIRead(struct SolidSBIChannel *s, void *out, size_t cap)Next answer record from any opened target, framed (op READ).SolidSBIChannel.c:150public
int SolidSBIJoin(struct SolidSBIChannel *s, struct Channel *peer)Join / Leave (peers that listen to the SBI itself)SolidSBIChannel.c:179public
int SolidSBILeave(struct SolidSBIChannel *s, struct Channel *peer)(no comment)SolidSBIChannel.c:196public
static void SBIRtRun(struct Channel *ch, long unused)Runtime adaptersSolidSBIChannel.c:215static
static uint64_t SBIRtRead(void *ch, void *out, long cap)(no comment)SolidSBIChannel.c:225static
static uint64_t SBIRtWrite(void *ch, void *f, long len)(no comment)SolidSBIChannel.c:227static
static uint64_t SBIRtJoin(void *peer)(no comment)SolidSBIChannel.c:229static
static void * SBIRtLeave(void *peer)(no comment)SolidSBIChannel.c:230static
static void SBIRtClose(struct Channel *ch)(no comment)SolidSBIChannel.c:231static
struct SolidSBIChannel * SolidSBIChannelGet(void)Open / CloseSolidSBIChannel.c:236public
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:240static
static void SBICcsubDetach(struct SolidSBIChannel *s)(no comment)SolidSBIChannel.c:248static
struct SolidSBIChannel * OpenSolidSBIChannel(struct SolidChannel *solid)(no comment)SolidSBIChannel.c:257public
void CloseSolidSBIChannel(struct SolidSBIChannel *s)(no comment)SolidSBIChannel.c:327public
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:6316static
static void WriteU8(struct wb *b, uint32_t v)(no comment)lib/solid_sbi.c:24static
static void WriteU32(struct wb *b, uint32_t v)(no comment)lib/solid_sbi.c:25static
static void Wstr(struct wb *b, const char *s)(no comment)lib/solid_sbi.c:26static
static int Seq(const char *a, const char *b)(no comment)lib/solid_sbi.c:34static
static int TermEq(const struct SolidTerm *a, const struct SolidTerm *b)(no comment)lib/solid_sbi.c:35static
static uint32_t Hs(uint32_t h, const char *s)(no comment)lib/solid_sbi.c:36static
static uint32_t TermHash(const struct SolidTerm *t)(no comment)lib/solid_sbi.c:37static
long SolidSBIEncodeStore(const struct SolidStore *st, uint8_t *out, size_t cap)(no comment)lib/solid_sbi.c:39public
static uint32_t ReadU8(struct rb *b)(no comment)lib/solid_sbi.c:81static
static uint32_t ReadU32(struct rb *b)(no comment)lib/solid_sbi.c:82static
static char * Rstr(struct rb *b, int *absent)(no comment)lib/solid_sbi.c:83static
int SolidSBIDecodeStore(struct SolidStore *st, const uint8_t *in, size_t n)(no comment)lib/solid_sbi.c:95public
static int IsSBIRecord(const void *d, size_t n)(no comment)lib/solid_sbi.c:127static
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 textlib/solid_sbi.c:133public
long SolidChannelImport(struct SolidChannel *s, int external, const void *data, size_t n, const char *base)(no comment)lib/solid_sbi.c:143public
long SolidSBIChannelSolidRecord(struct SolidSBIChannel *sbi, uint8_t *out, size_t cap)(no comment)lib/solid_sbi.c:153public
void SolidSBISetEnabled(int on)(no comment)lib/solid_sbi_flag.c:9public
int SolidSBIEnabled(void)(no comment)lib/solid_sbi_flag.c:10public
int SolidSBIApplyPodCfg(const struct PodCfg *c)(no comment)lib/solid_sbi_flag.c:11public

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

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

Hits--