/* ============================================================================= fsinit.c -- external declarations ============================================================================= */ #pragma once #include "biosdefs.h" #include "fspars.h" #include "io.h" #include "stdint.h" #include "stdio.h" /* ============================================================================= external variables ============================================================================= */ extern FILE Cbuffs[NSTREAMS]; extern int32_t Stdbuf[MAXDFILE][BUFSIZL]; extern int8_t *Stdbufs; extern int8_t Wrkbuf[BPSEC]; extern int16_t _b_sect; extern int16_t _b_side; extern int16_t _b_tbuf[9][256]; extern int16_t _b_trak; extern int16_t _b_tsec; extern struct fcb _fcbtab[MAXDFILE]; extern struct channel chantab[MAXCHAN]; /* ============================================================================= external functions ============================================================================= */ extern void InitCH(struct channel *cp, int8_t rdi, int8_t wri, int8_t ioi, int8_t ski, chclo cfp, io_arg charg); extern void InitFS(void); extern void Init_CB(FILE *fp, int8_t flags, int8_t unit, int32_t *bufad, int16_t bufsize); extern int16_t _badfd(void); extern int16_t _noper(void); extern int16_t _badfc(io_arg arg); extern int16_t _badfio(io_arg arg, int8_t *buff, int16_t len); extern int16_t _nopc(io_arg arg); extern int16_t _nopo(int8_t *name, int16_t flag, int16_t mode, struct channel *chp, struct devtabl *dp);