1 /* 2 * Prototypes for the OSTA functions 3 * 4 * $FreeBSD$ 5 */ 6 7 #ifndef UNIX 8 #define UNIX 9 #endif 10 11 #ifndef MAXLEN 12 #define MAXLEN 255 13 #endif 14 15 /*********************************************************************** 16 * The following two typedef's are to remove compiler dependancies. 17 * byte needs to be unsigned 8-bit, and unicode_t needs to be 18 * unsigned 16-bit. 19 */ 20 typedef unsigned short unicode_t; 21 typedef unsigned char byte; 22 23 int udf_UncompressUnicode(int, byte *, unicode_t *); 24 int udf_UncompressUnicodeByte(int, byte *, byte *); 25 int udf_CompressUnicode(int, int, unicode_t *, byte *); 26 unsigned short udf_cksum(unsigned char *, int); 27 unsigned short udf_unicode_cksum(unsigned short *, int); 28 int UDFTransName(unicode_t *, unicode_t *, int); 29