source: buchla-68k/libcio/fsinit.x@ c59409e

Last change on this file since c59409e was f261cc8, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Minor cleanup.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 =============================================================================
3 fsinit.c -- external declarations
4 =============================================================================
5*/
6
7#pragma once
8
9#include "biosdefs.h"
10#include "fspars.h"
11#include "io.h"
12#include "stdint.h"
13#include "stdio.h"
14
15/*
16 =============================================================================
17 external variables
18 =============================================================================
19*/
20
21extern FILE Cbuffs[NSTREAMS];
22extern int32_t Stdbuf[MAXDFILE][BUFSIZL];
23extern int32_t *Stdbufs;
24extern int8_t Wrkbuf[BPSEC];
25extern int16_t _b_sect;
26extern int16_t _b_side;
27extern int16_t _b_tbuf[9][256];
28extern int16_t _b_trak;
29extern int16_t _b_tsec;
30extern struct fcb _fcbtab[MAXDFILE];
31extern struct channel chantab[MAXCHAN];
32
33/*
34 =============================================================================
35 external functions
36 =============================================================================
37*/
38
39extern void InitCH(struct channel *cp, int16_t rdi, int16_t wri, int16_t ioi, int16_t ski, chclo cfp, io_arg charg);
40extern void InitFS(void);
41extern void Init_CB(FILE *fp, uint8_t flags, int16_t unit, int32_t *bufad, int16_t bufsize);
42extern int16_t _badfd(void);
43extern int16_t _noper(void);
44
45extern int16_t _badfc(io_arg arg);
46extern int16_t _badfio(io_arg arg, void *buff, int16_t len);
47extern int16_t _nopc(io_arg arg);
48extern int16_t _nopo(int8_t *name, uint16_t flags, struct channel *chp, struct devtabl *dp);
Note: See TracBrowser for help on using the repository browser.