source: buchla-68k/libcio/filesys.x@ 526a993

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

Wording change.

  • 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 "stdint.h"
11
12/*
13 =============================================================================
14 external variables
15 =============================================================================
16*/
17
18extern int32_t _berrno;
19extern int16_t _bpbin;
20extern int16_t _dirin;
21extern int16_t _dirmod;
22extern struct dirent *_dptr;
23extern int16_t _fatin;
24extern int16_t _fatmod;
25extern struct bpb *_thebpb;
26extern struct dirent _thedir[224];
27extern uint16_t _thefat[7 * 256];
28
29/*
30 =============================================================================
31 external functions
32 =============================================================================
33*/
34
35extern int16_t ClsFile(struct fcb *fcp);
36extern int16_t DelFile(struct fcb *fcp);
37extern int16_t _alcnew(struct fcb *fcp);
38extern uint16_t _cl2lsn(struct bpb *bpp, uint16_t clnum);
39extern void _clsvol(void);
40extern void _deadio(struct fcb *fcp, int16_t err);
41extern struct dirent *_dsnew(void);
42extern struct dirent *_dsrch(struct dirent *de);
43extern int16_t _fmake(struct fcb *fcp);
44extern int16_t _ftrnc(struct dirent *dp);
45extern uint16_t _getfat(uint16_t *bufad, uint16_t nfat, struct bpb *bpp);
46extern uint16_t _gtcl12(int8_t *fat, uint16_t cl);
47extern int16_t _inifcb(struct fcb *fcp, int8_t *name, int8_t *ext, int16_t mode);
48extern int16_t _newcls(void);
49extern int16_t _nsic(struct fcb *fcp, struct bpb *bpp, int8_t *fp);
50extern int16_t _opfcb(struct fcb *fcp);
51extern int16_t _opnvol(void);
52extern int16_t _rdfat(uint16_t *bufad, struct bpb *bpp);
53extern int16_t _rdroot(uint16_t *buf, struct bpb *bpp);
54extern int16_t _seek(struct fcb *fcp);
55extern int16_t fcbinit(int8_t *name, struct fcb *fcp);
Note: See TracBrowser for help on using the repository browser.