1 #ifndef _SUPPORT_PROTOS_H
2 #define _SUPPORT_PROTOS_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
);
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
);
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