source: buchla-68k/libcio/filesys.x

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

Made declarations consistent.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1/*
2 =============================================================================
3 filesys.c -- external declarations
4 =============================================================================
5*/
6
7#pragma once
8
9#include "biosdefs.h"
10#include "fspars.h"
11#include "stdint.h"
12
13/*
14 =============================================================================
15 external variables
16 =============================================================================
17*/
18
19extern int32_t _berrno;
20extern int16_t _bpbin;
21extern int16_t _dirin;
22extern int16_t _dirmod;
23extern struct dirent *_dptr;
24extern int16_t _fatin;
25extern int16_t _fatmod;
26extern struct bpb *_thebpb;
27extern struct dirent _thedir[MAXDIRNT];
28extern uint8_t _thefat[MAXFAT * BPSEC];
29
30/*
31 =============================================================================
32 external functions
33 =============================================================================
34*/
35
36extern int16_t ClsFile(struct fcb *fcp);
37extern int16_t DelFile(struct fcb *fcp);
38extern int16_t _alcnew(struct fcb *fcp);
39extern int16_t _cl2lsn(struct bpb *bpp, int16_t clnum);
40extern void _clsvol(void);
41extern void _deadio(struct fcb *fcp, int16_t err);
42extern struct dirent *_dsnew(void);
43extern struct dirent *_dsrch(struct dirent *de);
44extern int16_t _fmake(struct fcb *fcp);
45extern int16_t _ftrnc(struct dirent *dp);
46extern int16_t _getfat(uint8_t *bufad, struct bpb *bpp, int16_t nfat);
47extern int16_t _gtcl12(uint8_t *fat, int16_t cl);
48extern int16_t _inifcb(struct fcb *fcp, int8_t *name, int8_t *ext, uint16_t flags);
49extern int16_t _newcls(void);
50extern int16_t _nsic(struct fcb *fcp, struct bpb *bpp, uint8_t *fp);
51extern int16_t _opfcb(struct fcb *fcp);
52extern int16_t _opnvol(void);
53extern int16_t _rdfat(uint8_t *bufad, struct bpb *bpp);
54extern int16_t _rdroot(struct dirent *buf, struct bpb *bpp);
55extern int16_t _seek(struct fcb *fcp);
56extern int16_t fcbinit(int8_t *name, struct fcb *fcp);
Note: See TracBrowser for help on using the repository browser.