Channel circle › core 10 Process0
10 Process0: core-level functions
The functions that make up the core channel itself.
52 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| struct Process0Channel * OpenProcess0Channel(void) | (no comment) | Process0Channel.c:19 | public |
| void CloseProcess0Channel(struct Process0Channel *c) | (no comment) | Process0Channel.c:20 | public |
| static void Put32(uint8_t *p, uint32_t v) | (no comment) | ProcessChannel.c:31 | static |
| static uint32_t Get32(const uint8_t *p) | (no comment) | ProcessChannel.c:32 | static |
| static void Plock(void) | (no comment) | ProcessChannel.c:34 | static |
| static void Punlock(void) | (no comment) | ProcessChannel.c:35 | static |
| static struct ProcessSlot * SlotOf(struct ProcessChannel *pc, uint32_t h) | (no comment) | ProcessChannel.c:37 | static |
| static uint32_t FreeSlot(struct ProcessChannel *pc) | (no comment) | ProcessChannel.c:44 | static |
| static void CloseH(void **h) | (no comment) | ProcessChannel.c:53 | static |
| static int AppendArg(char *cmd, size_t cap, size_t *len, const char *a) | Append one argument to a Win32 command line (CommandLineToArgvW quoting rules). | ProcessChannel.c:56 | static |
| static int SpawnCmd(struct ProcessSlot *s, char *cmdline, uint32_t flags) | (no comment) | ProcessChannel.c:76 | static |
| static int PlatPoll(struct ProcessSlot *s, uint32_t ms) | (no comment) | ProcessChannel.c:127 | static |
| static int PlatKill(struct ProcessSlot *s) | (no comment) | ProcessChannel.c:138 | static |
| static long PlatWrite(struct ProcessSlot *s, const void *buf, long len) | (no comment) | ProcessChannel.c:148 | static |
| static void PlatCloseIn(struct ProcessSlot *s) | (no comment) | ProcessChannel.c:156 | static |
| static long PlatRead(struct ProcessSlot *s, uint32_t stream, void *buf, long len) | (no comment) | ProcessChannel.c:158 | static |
| static void PlatRelease(struct ProcessSlot *s) | (no comment) | ProcessChannel.c:170 | static |
| static void SleepMs(uint32_t ms) | (no comment) | ProcessChannel.c:178 | static |
| static int SplitCmd(char *buf, char **argv, int maxv) | (no comment) | ProcessChannel.c:185 | static |
| static int SpawnArgv(struct ProcessSlot *s, char *const *argv, uint32_t flags) | (no comment) | ProcessChannel.c:204 | static |
| static int PlatPoll(struct ProcessSlot *s, uint32_t ms) | (no comment) | ProcessChannel.c:254 | static |
| static int PlatKill(struct ProcessSlot *s) | (no comment) | ProcessChannel.c:272 | static |
| static long PlatWrite(struct ProcessSlot *s, const void *buf, long len) | (no comment) | ProcessChannel.c:281 | static |
| static void PlatCloseIn(struct ProcessSlot *s) | (no comment) | ProcessChannel.c:289 | static |
| static long PlatRead(struct ProcessSlot *s, uint32_t stream, void *buf, long len) | (no comment) | ProcessChannel.c:291 | static |
| static void PlatRelease(struct ProcessSlot *s) | (no comment) | ProcessChannel.c:302 | static |
| static uint32_t SpawnCommon(struct ProcessChannel *pc, const char *const *argv, const char *cmdline, uint32_t flags) | ------------------------------------------------------------------ API | ProcessChannel.c:312 | static |
| uint32_t ProcessSpawn(struct ProcessChannel *pc, const char *const *argv, uint32_t flags) | (no comment) | ProcessChannel.c:360 | public |
| uint32_t ProcessSpawnCmd(struct ProcessChannel *pc, const char *cmdline, uint32_t flags) | (no comment) | ProcessChannel.c:366 | public |
| int ProcessWait(struct ProcessChannel *pc, uint32_t h, uint32_t timeout_ms, int32_t *exit_code) | (no comment) | ProcessChannel.c:372 | public |
| int ProcessKill(struct ProcessChannel *pc, uint32_t h) | (no comment) | ProcessChannel.c:382 | public |
| int ProcessState(struct ProcessChannel *pc, uint32_t h) | (no comment) | ProcessChannel.c:391 | public |
| int64_t ProcessPid(struct ProcessChannel *pc, uint32_t h) | (no comment) | ProcessChannel.c:399 | public |
| long ProcessWriteStdin(struct ProcessChannel *pc, uint32_t h, const void *buf, long len) | (no comment) | ProcessChannel.c:405 | public |
| int ProcessCloseStdin(struct ProcessChannel *pc, uint32_t h) | (no comment) | ProcessChannel.c:412 | public |
| long ProcessReadStream(struct ProcessChannel *pc, uint32_t h, uint32_t stream, void *buf, long len) | (no comment) | ProcessChannel.c:420 | public |
| int ProcessRelease(struct ProcessChannel *pc, uint32_t h) | (no comment) | ProcessChannel.c:428 | public |
| uint64_t ProcessChannelJoin(void *peer) | ------------------------------------------------------------------ channel I/O | ProcessChannel.c:447 | public |
| void * ProcessChannelLeave(void *peer) | (no comment) | ProcessChannel.c:456 | public |
| static int ProcRecord(struct ProcessChannel *pc, const uint8_t *r) | (no comment) | ProcessChannel.c:464 | static |
| uint64_t ProcessChannelWrite(void *chan, void *buf, long len) | (no comment) | ProcessChannel.c:490 | public |
| uint64_t ProcessChannelRead(void *chan, void *buf, long len) | (no comment) | ProcessChannel.c:503 | public |
| static void ProcRtOpen(struct Channel *ch) | ------------------------------------------------------------------ open / close | ProcessChannel.c:533 | static |
| static void ProcRtClose(struct Channel *ch) | (no comment) | ProcessChannel.c:534 | static |
| static struct ProcessChannel * OpenProcessChannelImpl(void) | (no comment) | ProcessChannel.c:536 | static |
| struct ProcessChannel * OpenProcessChannel(void) | (no comment) | ProcessChannel.c:566 | public |
| struct ProcessChannel * ProcessChannelGet(void) | (no comment) | ProcessChannel.c:576 | public |
| void CloseProcessChannel(struct ProcessChannel *pc) | (no comment) | ProcessChannel.c:578 | public |
| static int ProcnOp(PN_TYPE *c, uint32_t op, uint32_t a, uint64_t b) | (no comment) | ProcessNChannel.inc:4 | static |
| static void ProcnRd(PN_TYPE *c, uint32_t *m, uint32_t *a, uint64_t *b) | (no comment) | ProcessNChannel.inc:31 | static |
| static PN_TYPE * ProcnOpen(void) | (no comment) | ProcessNChannel.inc:42 | static |
| static void ProcnClose(PN_TYPE *c) | (no comment) | ProcessNChannel.inc:52 | static |