revert between 56095 -> 55830 in arch
[AROS.git] / rom / filesys / SFS / FS / support_protos.h
blob50c1ac3977c45f8ceefcd0eb2bcf77f937c57aac
1 #ifndef _SUPPORT_PROTOS_H
2 #define _SUPPORT_PROTOS_H
4 #include <dos/dos.h>
5 #include <exec/types.h>
7 void uncompress(UWORD *dest,UBYTE *data,UWORD length);
8 WORD compress(UWORD *org,UWORD *new,UBYTE *dest);
9 WORD compressfromzero(UWORD *new,UBYTE *dest);
10 UBYTE *stripcolon(UBYTE *);
11 UWORD hash(UBYTE *name, WORD casesensitive);
12 UBYTE upperchar(UBYTE);
13 UWORD bstrlen(BSTR);
14 UWORD copybstrasstr(BSTR,UBYTE *,UWORD);
15 void copystr(UBYTE *src,UBYTE *dest,UWORD maxlen);
16 void initlist(struct List *);
17 ULONG datestamptodate(struct DateStamp *datestamp);
18 void datetodatestamp(ULONG date,struct DateStamp *datestamp);
19 ULONG getdate(void);
20 UBYTE *validatepath(UBYTE *string);
21 BYTE isvalidcomponentname(UBYTE *name);
22 void ClearMemQuick(void *mem, LONG bytes);
24 void checksum_writelong(struct fsBlockHeader *bh, void *dest, ULONG data);
25 void checksum_writelong_be(struct fsBlockHeader *bh, void *dest, ULONG data);
27 UWORD mergediffs(UBYTE *olddiff, UBYTE *newdiff, UWORD length, ULONG *new, ULONG *org, UBYTE *modifiedblocks);
29 #endif // _SUPPORT_PROTOS_H